=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for spice-3f5.1nb6 cd /Users/pbulk/build/cad/spice/work && env WRKSRC=/Users/pbulk/build/cad/spice/work USETOOLS=no GOTMPDIR=/Users/pbulk/build MACOSX_DEPLOYMENT_TARGET=11.3 CC=clang CFLAGS=-pipe\ -Os\ -Dbsd\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include CPPFLAGS=-I/opt/pkg/include/ncurses\ -I/opt/pkg/include CXX=clang++ CXXFLAGS=-pipe\ -Os\ -Dbsd\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-L 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/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/cad/spice/work/.cwrapper/bin:/Users/pbulk/build/cad/spice/work/.buildlink/bin:/Users/pbulk/build/cad/spice/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/pkg/etc CXXCPP=clang\ -E HOME=/Users/pbulk/build/cad/spice/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/cad/spice/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/cad/spice/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/cad/spice/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/cad/spice/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/cad/spice/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/cad/spice/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/cad/spice/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/cad/spice/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/cad/spice/work/.cwrapper/config util/build NetBSD default Begin build on pkgsrc-mac-0.local for NetBSD on Tue May 16 22:52:53 UTC 2023: Making "all" in work mkdir -p /Users/pbulk/build/cad/spice/work/NetBSD/tmp UPDATING /Users/pbulk/build/cad/spice/work/NetBSD/tmp/spice UPDATING /Users/pbulk/build/cad/spice/work/NetBSD/tmp/spice-cc UPDATING /Users/pbulk/build/cad/spice/work/NetBSD/tmp/spice-cx UPDATING /Users/pbulk/build/cad/spice/work/NetBSD/tmp/spice-ld Making "all" in src Making "all" in lib Making "all" in dev Making "all" in disto gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//atander.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//atander.c:22:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&temp, old); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//atander.c:16:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void AtanDeriv(new, old) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//cosderiv.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//cosderiv.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&temp, old); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//cosderiv.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CosDeriv(new, old) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//cubeder.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//cubeder.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&temp, old); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//cubeder.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CubeDeriv( new, old) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//divderiv.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//divderiv.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&num, old1); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//divderiv.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DivDeriv(new, old1, old2) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//equalder.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//equalder.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EqualDeriv(new, old) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//expderiv.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//expderiv.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&temp, old); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//expderiv.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExpDeriv(new, old) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//invderiv.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//invderiv.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&temp, old); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//invderiv.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InvDeriv(new, old) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//multder.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//multder.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&temp1, old1); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//multder.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MultDeriv(new, old1, old2) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//plusder.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//plusder.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlusDeriv(new, old1, old2) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//powderiv.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//powderiv.c:24:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&temp, old); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//powderiv.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PowDeriv(new, old, emm) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//sqrtder.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//sqrtder.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&temp, old); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//sqrtder.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SqrtDeriv(new, old) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//tanderiv.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//tanderiv.c:22:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&temp, old); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//tanderiv.c:16:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void TanDeriv(new, old) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//timesder.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/disto//timesder.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TimesDeriv(new, old, k) ^ 1 warning generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a atander.o cosderiv.o cubeder.o divderiv.o equalder.o expderiv.o invderiv.o multder.o plusder.o powderiv.o sqrtder.o tanderiv.o timesder.o Done with work/src/lib/dev/disto Making "all" in asrc gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrc.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcacld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcacld.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcacld.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCacLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcask.c:20: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcask.c:21: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcask.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCask(ckt,instPtr,which,value,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:8: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:8: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCconvTest( inModel, ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:38:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] asrc_vals = NEWN(double, i); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:39:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] asrc_derivs = NEWN(double, i); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcdel.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcdel.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCdelete(model,name,fast) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcdest.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcdest.c:13:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCdestroy(model) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcfbr.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcfbr.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcfbr.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcfbr.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCfindBr(ckt,inputModel,name) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcload.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcload.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcload.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCload(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcload.c:60:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] asrc_vals = NEWN(double, i); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcload.c:61:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] asrc_derivs = NEWN(double, i); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcload.c:113:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] here->ASRCacValues = NEWN(double, size); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcmdel.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcmdel.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCmDelete(modList,modname,killModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpar.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpar.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCparam(param,value,fast,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpzld.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpzld.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpzld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCpzLoad(inModel,ckt,s) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpzld.c:50:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] asrc_vals = NEWN(double, i); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcpzld.c:51:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] asrc_derivs = NEWN(double, i); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCsetup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:43:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] here->ASRCposptr = (double **)MALLOC(0); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:88:29: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC(here->ASRCposptr, (sizeof(double *)*(j+5))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:97:29: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC(here->ASRCposptr, (sizeof(double *)*(j+1))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:103:13: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC(here->ASRCposptr, (sizeof(double *) * (j+2))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:115:25: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC(here->ASRCposptr, (sizeof(double *) * (j+5))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:124:25: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC(here->ASRCposptr, (sizeof(double *) * (j+1))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:130:21: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC(here->ASRCposptr, (sizeof(double *) * (j+2))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:147:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASRCunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcset.c:162:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->ASRCbranch); ^ 14 warnings generated. `recursive' not remade because of errors. Making "all" in bjt gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjt.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtacld.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtacld.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtacld.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTacLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtask.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtask.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtask.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTask(ckt,instPtr,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtask.c:207:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtask.c:222:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtask.c:237:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtconv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtconv.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtconv.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtconv.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTconvTest(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdel.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdel.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdel.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTdelete(inModel,name,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdest.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdest.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTdisto(mode,genmodel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:50:9: warning: call to undeclared function 'BJTdSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(BJTdSetup(model,ckt)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:140:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((mode == D_2F1MF2)){ ~~~~~^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:140:15: note: remove extraneous parentheses around the comparison to silence this warning if ((mode == D_2F1MF2)){ ~ ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:140:15: note: use '=' to turn this equality comparison into an assignment if ((mode == D_2F1MF2)){ ^~ = /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:165:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((mode == D_F1PF2)){ ~~~~~^~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:165:15: note: remove extraneous parentheses around the comparison to silence this warning if ((mode == D_F1PF2)){ ~ ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdisto.c:165:15: note: use '=' to turn this equality comparison into an assignment if ((mode == D_F1PF2)){ ^~ = 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:139:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&d_q, &d_p); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:301:2: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_q1, &d_dummy); /* now q1 and its derivatives are ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:324:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_arg,&d_q2,4.0); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:333:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_sqarg, &d_arg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:340:3: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_qb, &d_q1, &d_dummy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:341:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_qb, &d_qb, 0.5); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:357:1: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DivDeriv(&d_ic, &d_dummy, &d_qb); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:385:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_dummy, &d_dummy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:386:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_dummy, &d_dummy, 2.4317); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:398:3: warning: call to undeclared function 'TanDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TanDeriv(&d_tanz, &d_z); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:402:3: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PlusDeriv(&d_dummy, &d_dummy, &d_tanz); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:404:3: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_dummy2, &d_tanz, &d_tanz); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:443:7: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_rbb, &d_rbb,rbpi); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:515:4: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExpDeriv(&d_dummy, &d_dummy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:527:8: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv (&d_dummy2, &d_dummy2, &d_dummy2); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:536:4: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_tff, &d_dummy, &d_dummy2); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:537:4: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_tff, &d_tff, tf*xtf); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:557:1: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_qbe, &d_dummy, &d_cbe); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtdset.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTdSetup(inModel,ckt) ^ 23 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtgetic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtgetic.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtgetic.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTgetic(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtload.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtload.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtload.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtload.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTload(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmask.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmask.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTmAsk(ckt,instPtr,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmdel.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmdel.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmdel.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTmDelete(inModels,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmpar.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmpar.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtmpar.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTmParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:30:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTnoise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:76:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] inst->BJTname,BJTnNames[i]); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:80:13: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trealloc((char *)data->namelist, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:93:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] inst->BJTname,BJTnNames[i]); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:96:13: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trealloc((char *)data->namelist, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:105:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] inst->BJTname,BJTnNames[i]); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:107:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:123:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[BJTRCNOIZ],&lnNdens[BJTRCNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:127:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[BJTRBNOIZ],&lnNdens[BJTRBNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:131:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[BJT_RE_NOISE],&lnNdens[BJT_RE_NOISE], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:135:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[BJTICNOIZ],&lnNdens[BJTICNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:139:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[BJTIBNOIZ],&lnNdens[BJTIBNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:143:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[BJTFLNOIZ],(double*)NULL,ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:187:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOnoise = Nintegrate(noizDens[i], lnNdens[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtnoise.c:189:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , ^ 18 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtparam.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtparam.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtparam.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTparam(param,value,instPtr,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtpzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtpzld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtpzld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTsAcLoad(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:160:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = BJTload((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:160:26: note: place parentheses around the assignment to silence this warning if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:160:26: note: use '==' to turn this assignment into an equality comparison if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:276:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = BJTload((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:276:26: note: place parentheses around the assignment to silence this warning if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:276:26: note: use '==' to turn this assignment into an equality comparison if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:315:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = BJTload((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:315:26: note: place parentheses around the assignment to silence this warning if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:315:26: note: use '==' to turn this assignment into an equality comparison if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:354:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = BJTload((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:354:26: note: place parentheses around the assignment to silence this warning if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:354:26: note: use '==' to turn this assignment into an equality comparison if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:396:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = BJTload((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:396:26: note: place parentheses around the assignment to silence this warning if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:396:26: note: use '==' to turn this assignment into an equality comparison if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:435:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = BJTload((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:435:26: note: place parentheses around the assignment to silence this warning if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsacl.c:435:26: note: use '==' to turn this assignment into an equality comparison if(error = BJTload((GENmodel*)model,ckt)) return(error); ^ == 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsetup.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsetup.c:20: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsetup.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTsetup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsetup.c:218:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsetup.c:235:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->BJTcolPrimeNode); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsetup.c:241:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->BJTbasePrimeNode); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsetup.c:247:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->BJTemitPrimeNode); ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsload.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsload.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsload.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTsLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsprt.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsprt.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsprt.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTsPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsprt.c:35:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->BJTmodName); ~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsprt.c:42:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->BJTname); ~~ ^~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsprt.c:44:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->BJTcolNode),CKTnodName(ckt,here->BJTbaseNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsprt.c:44:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->BJTcolNode),CKTnodName(ckt,here->BJTbaseNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsprt.c:45:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->BJTemitNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsset.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsset.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsset.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTsSetup(info,inModel) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsset.c:46:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((here->BJTsens = (double *)MALLOC(55*sizeof(double))) == ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsupd.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsupd.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsupd.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjtsupd.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTsUpdate(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjttemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjttemp.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjttemp.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjttemp.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTtemp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjttrunc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjttrunc.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bjt//bjttrunc.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BJTtrunc(inModel,ckt,timeStep) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a bjt.o bjtacld.o bjtask.o bjtconv.o bjtdel.o bjtdest.o bjtdisto.o bjtdset.o bjtgetic.o bjtload.o bjtmask.o bjtmdel.o bjtmpar.o bjtnoise.o bjtparam.o bjtpzld.o bjtsacl.o bjtsetup.o bjtsload.o bjtsprt.o bjtsset.o bjtsupd.o bjttemp.o bjttrunc.o Done with work/src/lib/dev/bjt Making "all" in bsim1 gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1acld.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1acld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1acld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1acLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1ask.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1ask.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1ask.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1ask.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1ask(ckt,inst,which,value,select) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1cvtest.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1cvtest.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1cvtest.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1cvtest.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1cvtest.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1convTest(inModel,ckt) ^ 8 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1del.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1del.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1del.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1del.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1delete(inModel,name,inInst) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dest.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1destroy(inModel) ^ 4 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1disto.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1disto.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1disto.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1disto.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1disto(mode,genmodel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1disto.c:48:9: warning: call to undeclared function 'B1dSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(B1dSetup(model,ckt)); ^ 6 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:247:2: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&d_q,&d_p); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:303:5: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_SqrtVpb,&d_Vpb); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:308:5: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_Von,&d_Vpb,-K2); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:309:5: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PlusDeriv(&d_Von,&d_Von,&d_dummy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:323:5: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_G,&d_G); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:328:5: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DivDeriv(&d_A,&d_G,&d_SqrtVpb); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:338:5: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_dummy,&d_Ugs,&d_VgsVth); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:511:5: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExpDeriv(&d_Warg1,&d_Warg1); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1dset.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1dSetup(inModel,ckt) ^ 16 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1eval.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1eval.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1eval.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1eval.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1evaluate(vds,vbs,vgs,here,model,gmPointer,gdsPointer,gmbsPointer, ^ 7 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1getic.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1getic.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1getic.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1getic(inModel,ckt) ^ 2 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1ld.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1ld.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1ld.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1ld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1ld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1load(inModel,ckt) ^ 8 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mask.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mask.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mask.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1mAsk(ckt,inst,which,value) ^ 2 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mdel.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1mDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1moscap.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1moscap.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1mosCap(ckt,vgd,vgs,vgb, ^ 1 warning generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mpar.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mpar.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mpar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1mpar.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1mParam(param,value,inMod) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1par.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1par.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1par.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1par.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1param(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1pzld.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1pzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1pzld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1pzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1set.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1set.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1set.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1set.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1setup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1set.c:383:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1unsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1set.c:400:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->B1dNodePrime); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1set.c:406:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->B1sNodePrime); ^ 8 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1temp.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1temp.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1temp.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1temp.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1temp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1trunc.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1trunc.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim1//b1trunc.c:14:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B1trunc(inModel,ckt,timeStep) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a b1.o b1acld.o b1ask.o b1cvtest.o b1del.o b1dest.o b1disto.o b1dset.o b1eval.o b1getic.o b1ld.o b1mask.o b1mdel.o b1moscap.o b1mpar.o b1par.o b1pzld.o b1set.o b1temp.o b1trunc.o Done with work/src/lib/dev/bsim1 Making "all" in bsim2 gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2acld.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2acld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2acld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2acLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ask.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ask.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ask.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ask.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2ask(ckt,inst,which,value,select) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2cvtest.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2cvtest.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2cvtest.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2cvtest.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2cvtest.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2convTest(inModel,ckt) ^ 8 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2del.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2del.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2del.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2del.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2delete(inModel,name,inInst) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2dest.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2dest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2dest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2destroy(inModel) ^ 4 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2eval.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2eval.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2eval.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2eval.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2evaluate(Vds,Vbs,Vgs,here,model,gm,gds,gmb,qg,qb,qd,cgg,cgd,cgs, ^ 7 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2getic.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2getic.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2getic.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2getic(inModel,ckt) ^ 2 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ld.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ld.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ld.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2load(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ld.c:561:3: warning: array index 7 is past the end of the array (which contains 7 elements) [-Warray-bounds] args[7] = cgsb; ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ld.c:126:5: note: array 'args' declared here double args[7]; ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ld.c:583:3: warning: array index 7 is past the end of the array (which contains 7 elements) [-Warray-bounds] args[7] = cgdb; ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2ld.c:126:5: note: array 'args' declared here double args[7]; ^ 10 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mask.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mask.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mask.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2mAsk(ckt,inst,which,value) ^ 2 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mdel.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2mDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2moscap.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2moscap.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2mosCap(ckt,vgd,vgs,vgb, ^ 1 warning generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mpar.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mpar.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mpar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2mpar.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2mParam(param,value,inMod) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2par.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2par.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2par.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2par.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2param(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2pzld.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2pzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2pzld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2pzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2set.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2set.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2set.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2set.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2setup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2set.c:551:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2unsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2set.c:568:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->B2dNodePrime); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2set.c:574:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->B2sNodePrime); ^ 8 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2temp.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2temp.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2temp.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2temp.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2temp(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2temp.c:74:62: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { here->pParam = (struct bsim2SizeDependParam *)malloc( ^ 6 warnings generated. gcc -O2 -fno-strength-reduce -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2trunc.c < /dev/null clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2trunc.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/bsim2//b2trunc.c:14:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] B2trunc(inModel,ckt,timeStep) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a b2.o b2acld.o b2ask.o b2cvtest.o b2del.o b2dest.o b2eval.o b2getic.o b2ld.o b2mask.o b2mdel.o b2moscap.o b2mpar.o b2par.o b2pzld.o b2set.o b2temp.o b2trunc.o Done with work/src/lib/dev/bsim2 Making "all" in cap gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//cap.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capacld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capacld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPacLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capask.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capask.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capask.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPask(ckt,inst, which, value, select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capask.c:48:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capask.c:64:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capdest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capgetic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capgetic.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capgetic.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capgetic.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPgetic(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capload.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capload.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capload.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPload(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmask.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmask.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPmAsk(ckt,inst,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmpar.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmpar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capmpar.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPmParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capparam.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capparam.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capparam.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//cappzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//cappzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//cappzld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsacl.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsacl.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsacl.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsacl.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPsAcLoad(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsetup.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsetup.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsetup.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPsetup(matrix,inModel,ckt,states) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsload.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsload.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsload.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsload.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPsLoad(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsprt.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsprt.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsprt.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsprt.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPsPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsprt.c:34:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->CAPmodName); ~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsprt.c:40:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->CAPname); ~~ ^~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsprt.c:42:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->CAPposNode),CKTnodName(ckt,here->CAPnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsprt.c:42:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->CAPposNode),CKTnodName(ckt,here->CAPnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsset.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsset.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsset.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsset.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPsSetup(info,inModel) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsupd.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsupd.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsupd.c:15: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsupd.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//capsupd.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPsUpdate(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//captemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//captemp.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//captemp.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//captemp.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPtemp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//captrunc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//captrunc.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cap//captrunc.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CAPtrunc(inModel,ckt,timeStep) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a cap.o capacld.o capask.o capdel.o capdest.o capgetic.o capload.o capmask.o capmdel.o capmpar.o capparam.o cappzld.o capsacl.o capsetup.o capsload.o capsprt.o capsset.o capsupd.o captemp.o captrunc.o Done with work/src/lib/dev/cap Making "all" in cccs gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccs.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccs.c:30:36: warning: '/*' within block comment [-Wcomment] /* static IFparm CCCSmPTable[] = { /* model parameters */ ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsask.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsask.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsask.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsask.c:57:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsask.c:72:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsdel.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsdest.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsload.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSload(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsmdel.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccspar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccspar.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccspar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccspar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccspzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccspzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccspzld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssacl.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssacl.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSsAcLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsset.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccsset.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSsetup(matrix,inModel,ckt,states) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssld.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssld.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSsLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssprt.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssprt.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSsPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssprt.c:33:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->CCCSmodName); ~~ ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssprt.c:39:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->CCCSname); ~~ ^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssprt.c:41:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->CCCSposNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssprt.c:42:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->CCCSnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssprt.c:46:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->CCCScontBranch)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssset.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/cccs//cccssset.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCCSsSetup(info,inModel) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a cccs.o cccsask.o cccsdel.o cccsdest.o cccsload.o cccsmdel.o cccspar.o cccspzld.o cccssacl.o cccsset.o cccssld.o cccssprt.o cccssset.o Done with work/src/lib/dev/cccs Making "all" in ccvs gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvs.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsask.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsask.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsask.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsask.c:58:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsask.c:72:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsdel.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSdelete(inModel,name,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsdest.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsfbr.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsfbr.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsfbr.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsfbr.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSfindBr(ckt,inModel,name) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsload.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSload(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsmdel.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvspar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvspar.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvspar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvspar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvspzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvspzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvspzld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssacl.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssacl.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSsAcLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsset.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsset.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsset.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSsetup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsset.c:70:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvsset.c:85:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->CCVSbranch); ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssld.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssld.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssld.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSsLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSsPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:33:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->CCVSmodName); ~~ ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:38:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->CCVSname); ~~ ^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:40:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->CCVSposNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:41:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->CCVSnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:43:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] here->CCVScontName); ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:45:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->CCVSbranch)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssprt.c:47:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->CCVScontBranch)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssset.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssset.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ccvs//ccvssset.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CCVSsSetup(info,inModel) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a ccvs.o ccvsask.o ccvsdel.o ccvsdest.o ccvsfbr.o ccvsload.o ccvsmdel.o ccvspar.o ccvspzld.o ccvssacl.o ccvsset.o ccvssld.o ccvssprt.o ccvssset.o Done with work/src/lib/dev/ccvs Making "all" in csw gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//csw.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswacld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswacld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWacLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswask.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswask.c:20: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswask.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswask.c:47:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswask.c:59:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswdel.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswdest.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswload.c:10: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswload.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswload.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWload(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmask.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmask.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWmAsk(ckt,inst,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmdel.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmpar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswmpar.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWmParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:30:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWnoise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:63:35: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_%s",inst->CSWname); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:66:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:75:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_total_%s",inst->CSWname); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:78:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:85:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"inoise_total_%s",inst->CSWname); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:88:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:105:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens,&lnNdens,ckt,THERMNOISE, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:124:29: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOutNoise = Nintegrate(noizDens, lnNdens, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswnoise.c:126:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInNoise = Nintegrate(noizDens * ^ 13 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswparam.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswparam.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswparam.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswpzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswpzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswpzld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswsetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswsetup.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswsetup.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/csw//cswsetup.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CSWsetup(matrix,inModel,ckt,states) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a csw.o cswacld.o cswask.o cswdel.o cswdest.o cswload.o cswmask.o cswmdel.o cswmpar.o cswnoise.o cswparam.o cswpzld.o cswsetup.o Done with work/src/lib/dev/csw Making "all" in dio gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dio.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioacld.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioacld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioacld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOacLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioask.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioask.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioask.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOask (ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioask.c:67:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioconv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioconv.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioconv.c:13: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioconv.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioconv.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOconvTest(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOdelete(inModel,name,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodisto.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodisto.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodisto.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodisto.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOdisto(mode,genmodel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodisto.c:41:9: warning: call to undeclared function 'DIOdSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(DIOdSetup(model,ckt)); ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodset.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodset.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diodset.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOdSetup(model,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diogetic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diogetic.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diogetic.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOgetic(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioload.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioload.c:13: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioload.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioload.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOload(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diomask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diomask.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diomask.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOmAsk (ckt,inModel,which, value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diomdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diomdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diomdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diomdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diompar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diompar.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diompar.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diompar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOmParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:30:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOnoise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_%s%s",inst->DIOname,DIOnNames[i]); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:87:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_total_%s%s",inst->DIOname,DIOnNames[i]); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:90:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:98:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"inoise_total_%s%s",inst->DIOname,DIOnNames[i]); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:101:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:119:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[DIORSNOIZ],&lnNdens[DIORSNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:123:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[DIOIDNOIZ],&lnNdens[DIOIDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:127:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[DIOFLNOIZ],(double*)NULL,ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:168:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOnoise = Nintegrate(noizDens[i], lnNdens[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dionoise.c:170:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , ^ 15 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioparam.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioparam.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//dioparam.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diopzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diopzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diopzld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOsAcLoad(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:106:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = DIOload((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:106:26: note: place parentheses around the assignment to silence this warning if(error = DIOload((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:106:26: note: use '==' to turn this assignment into an equality comparison if(error = DIOload((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:142:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = DIOload((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:142:26: note: place parentheses around the assignment to silence this warning if(error = DIOload((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:142:26: note: use '==' to turn this assignment into an equality comparison if(error = DIOload((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:168:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = DIOload((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:168:26: note: place parentheses around the assignment to silence this warning if(error = DIOload((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosacl.c:168:26: note: use '==' to turn this assignment into an equality comparison if(error = DIOload((GENmodel*)model,ckt)) return(error); ^ == 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosetup.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosetup.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosetup.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOsetup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosetup.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosetup.c:129:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->DIOposPrimeNode); ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosload.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosload.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosload.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOsLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosprt.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosprt.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosprt.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOsPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosprt.c:34:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->DIOmodName); ~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosprt.c:40:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->DIOname); ~~ ^~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosprt.c:42:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->DIOposNode),CKTnodName(ckt,here->DIOnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosprt.c:42:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->DIOposNode),CKTnodName(ckt,here->DIOnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosset.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosset.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosset.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOsSetup(info,inModel) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosset.c:41:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((here->DIOsens = (double *)MALLOC(7*sizeof(double))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosupd.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosupd.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosupd.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diosupd.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOsUpdate(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diotemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diotemp.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diotemp.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diotemp.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOtemp(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diotemp.c:120:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg = MALLOC(100); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diotemp.c:142:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg = MALLOC(100); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diotrunc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diotrunc.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/dio//diotrunc.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DIOtrunc(inModel,ckt,timeStep) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a dio.o dioacld.o dioask.o dioconv.o diodel.o diodest.o diodisto.o diodset.o diogetic.o dioload.o diomask.o diomdel.o diompar.o dionoise.o dioparam.o diopzld.o diosacl.o diosetup.o diosload.o diosprt.o diosset.o diosupd.o diotemp.o diotrunc.o Done with work/src/lib/dev/dio Making "all" in ind gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//ind.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indacld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indacld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDacLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indask.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indask.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indask.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indask.c:46:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indask.c:56:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//inddel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//inddel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//inddel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//inddel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDdelete(inModel,name,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//inddest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//inddest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//inddest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indload.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indload.c:15: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indload.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indload.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDload(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indparam.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indparam.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indparam.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indpzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indpzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indpzld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsacl.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsacl.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsacl.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDsAcLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsetup.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsetup.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsetup.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDsetup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsetup.c:66:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsetup.c:81:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->INDbrEq); ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsload.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsload.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsload.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDsLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsprt.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsprt.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsprt.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDsPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsprt.c:31:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->INDmodName); ~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsprt.c:37:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->INDname); ~~ ^~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsprt.c:39:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->INDposNode),CKTnodName(ckt,here->INDnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsprt.c:39:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->INDposNode),CKTnodName(ckt,here->INDnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsprt.c:40:50: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Branch Equation: %s\n",CKTnodName(ckt,here->INDbrEq)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsset.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsset.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsset.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDsSetup(info,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsupd.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsupd.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsupd.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indsupd.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDsUpdate(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indtrunc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indtrunc.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//indtrunc.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INDtrunc(inModel,ckt,timeStep) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutacld.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutacld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutacld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTacLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutask.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutask.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTask(ckt,inst,which,value,select) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutdel.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTdelete(inModel,name,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutdest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutdest.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutmdel.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutparam.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutparam.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutparam.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutpzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutpzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutpzld.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsetup.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsetup.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsetup.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTsetup(matrix,inModel,ckt,states) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsprt.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsprt.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsprt.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTsPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsprt.c:34:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->MUTmodName); ~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsprt.c:40:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->MUTname); ~~ ^~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsprt.c:44:51: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" inductor 1 name: %s \n",here->MUTindName1); ~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsprt.c:45:51: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" inductor 2 name: %s \n",here->MUTindName2); ~~ ^~~~~~~~~~~~~~~~~ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsset.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsset.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ind//mutsset.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MUTsSetup(info,inModel) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a ind.o indacld.o indask.o inddel.o inddest.o indload.o indmdel.o indparam.o indpzld.o indsacl.o indsetup.o indsload.o indsprt.o indsset.o indsupd.o indtrunc.o mutacld.o mutask.o mutdel.o mutdest.o mutmdel.o mutparam.o mutpzld.o mutsetup.o mutsprt.o mutsset.o Done with work/src/lib/dev/ind Making "all" in isrc gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrc.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:10: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISRCaccept(ckt,inModel) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:32:16: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:32:16: note: add parentheses after the '!' to evaluate the bitwise operator first if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:32:16: note: add parentheses around left hand side expression to silence this warning if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:146:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((*(here->ISRCcoeffs+2*i)==ckt->CKTtime)) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:146:52: note: remove extraneous parentheses around the comparison to silence this warning if((*(here->ISRCcoeffs+2*i)==ckt->CKTtime)) { ~ ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacct.c:146:52: note: use '=' to turn this equality comparison into an assignment if((*(here->ISRCcoeffs+2*i)==ckt->CKTtime)) { ^~ = 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacld.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcacld.c:14:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISRCacLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcask.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcask.c:20: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcask.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISRCask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcask.c:56:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MALLOC(here->ISRCfunctionOrder * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcask.c:85:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISRCdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcdest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISRCdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcload.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcload.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcload.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISRCload(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcload.c:169:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((*(here->ISRCcoeffs+2*i)==time)) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcload.c:169:52: note: remove extraneous parentheses around the comparison to silence this warning if((*(here->ISRCcoeffs+2*i)==time)) { ~ ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcload.c:169:52: note: use '=' to turn this equality comparison into an assignment if((*(here->ISRCcoeffs+2*i)==time)) { ^~ = 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISRCmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcpar.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcpar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrcpar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISRCparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrctemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrctemp.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrctemp.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/isrc//isrctemp.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISRCtemp(inModel,ckt) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a isrc.o isrcacct.o isrcacld.o isrcask.o isrcdel.o isrcdest.o isrcload.o isrcmdel.o isrcpar.o isrctemp.o Done with work/src/lib/dev/isrc Making "all" in jfet gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfet.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetacld.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetacld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetacld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETacLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetask.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetask.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetask.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetask.c:103:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetask.c:114:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdist.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdist.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdist.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdist.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETdisto(mode,genmodel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdist.c:47:9: warning: call to undeclared function 'JFETdSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(JFETdSetup(model,ckt)); ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdset.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdset.c:13: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdset.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetdset.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETdSetup(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetic.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetic.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETgetic(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetload.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetload.c:15: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetload.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetload.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETload(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmask.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmask.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETmAsk(ckt,inModel,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmpar.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetmpar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETmParam(param,value,inModels) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:29:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETnoise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_%s%s",inst->JFETname,JFETnNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:88:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_total_%s%s",inst->JFETname,JFETnNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:99:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"inoise_total_%s%s",inst->JFETname,JFETnNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:102:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:119:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[JFETRDNOIZ],&lnNdens[JFETRDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:123:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[JFETRSNOIZ],&lnNdens[JFETRSNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:127:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[JFETIDNOIZ],&lnNdens[JFETIDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:132:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[JFETFLNOIZ],(double*)NULL,ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:171:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOnoise = Nintegrate(noizDens[i], lnNdens[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetnoi.c:173:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , ^ 16 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetpar.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetpar.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetpzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetpzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetpzld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetset.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetset.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetset.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETsetup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetset.c:152:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetset.c:169:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->JFETsourcePrimeNode); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfetset.c:175:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->JFETdrainPrimeNode); ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfettemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfettemp.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfettemp.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfettemp.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETtemp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfettrun.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfettrun.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/jfet//jfettrun.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JFETtrunc(inModel,ckt,timeStep) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a jfet.o jfetacld.o jfetask.o jfetdel.o jfetdest.o jfetdist.o jfetdset.o jfetic.o jfetload.o jfetmask.o jfetmdel.o jfetmpar.o jfetnoi.o jfetpar.o jfetpzld.o jfetset.o jfettemp.o jfettrun.o Done with work/src/lib/dev/jfet Making "all" in ltra gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltra.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltra.c:16: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:10: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAaccept(ckt,inModel) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:42:6: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmemMANAGE(model->LTRAh1dashCoeffs,model->LTRAmodelListSize) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' a = (double *) MALLOC( b * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:43:6: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmemMANAGE(model->LTRAh2Coeffs,model->LTRAmodelListSize) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' a = (double *) MALLOC( b * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:44:6: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmemMANAGE(model->LTRAh3dashCoeffs,model->LTRAmodelListSize) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' a = (double *) MALLOC( b * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:54:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC( (char *) model->LTRAh1dashCoeffs, ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:57:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC( (char *) model->LTRAh2Coeffs, ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:60:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC( (char *) model->LTRAh3dashCoeffs, ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:71:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmemMANAGE(here->LTRAv1,here->LTRAinstListSize) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' a = (double *) MALLOC( b * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:72:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmemMANAGE(here->LTRAi1,here->LTRAinstListSize) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' a = (double *) MALLOC( b * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:73:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmemMANAGE(here->LTRAv2,here->LTRAinstListSize) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' a = (double *) MALLOC( b * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:74:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmemMANAGE(here->LTRAi2,here->LTRAinstListSize) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' a = (double *) MALLOC( b * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:87:33: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] here->LTRAv1 = (double *) REALLOC( (char *) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:89:33: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] here->LTRAi1 = (double *) REALLOC( (char *) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:91:33: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] here->LTRAi2 = (double *) REALLOC( (char *) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacct.c:93:33: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] here->LTRAv2 = (double *) REALLOC( (char *) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ 20 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacld.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacld.c:11: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacld.c:12: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraacld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAacLoad(inModel,ckt) ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraask.c:16: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraask.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraask.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraask.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAask(ckt,inst,which,value,select) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltradel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltradel.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltradel.c:9: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltradel.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltradel.c:14:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAdelete(inModel,name,kill) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltradest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltradest.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltradest.c:9: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltradest.c:13:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAdestroy(inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c:10: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAload(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c:145:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((i == -1)) { ~~^~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c:145:12: note: remove extraneous parentheses around the comparison to silence this warning if ((i == -1)) { ~ ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c:145:12: note: use '=' to turn this equality comparison into an assignment if ((i == -1)) { ^~ = /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraload.c:172:5: warning: call to undeclared function 'LTRAlinInterp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] LTRAlinInterp(ckt->CKTtime - model->LTRAtd, ^ 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramdel.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramdel.c:9: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramdel.c:14:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmDelete(inModel,modname,kill) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:7: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAquadInterp(t,t1,t2,t3,c1,c2,c3) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:89:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAlinInterp(t,t1,t2,c1,c2) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:123:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] intlinfunc(lolimit,hilimit,lovalue,hivalue,t1,t2) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:146:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] twiceintlinfunc(lolimit,hilimit,otherlolimit,lovalue,hivalue,t1,t2) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thriceintlinfunc(lolimit,hilimit,secondlolimit,thirdlolimit,lovalue, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:215:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bessI0(x) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:237:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bessI1(x) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:260:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bessI1xOverX(x) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:285:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArlcH1dashFunc(time,T,alpha,beta) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:306:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArlcH2Func(time,T,alpha,beta) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:333:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArlcH3dashFunc(time,T,alpha,beta) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:365:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArlcH1dashTwiceIntFunc(time,beta) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:387:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArlcH3dashIntFunc(time,T,beta) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:404:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArcH1dashTwiceIntFunc(time,cbyr) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:415:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArcH2TwiceIntFunc(time,rclsqr) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:431:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArcH3dashTwiceIntFunc(time,cbyr,rclsqr) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:452:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArcCoeffsSetup(h1dashfirstcoeff,h2firstcoeff,h3dashfirstcoeff,h1dashcoeffs,h2coeffs,h3dashcoeffs,listsize,cbyr,rclsqr,curtime,timelist,timeindex,reltol) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:587:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRArlcCoeffsSetup(h1dashfirstcoeff,h2firstcoeff,h3dashfirstcoeff,h1dashcoeffs,h2coeffs,h3dashcoeffs,listsize,T,alpha,beta,curtime,timelist,timeindex,reltol,auxindexptr) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:803:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAstraightLineCheck(x1,y1,x2,y2,x3,y3,reltol,abstol) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramisc.c:856:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAlteCalculate(ckt,genmodel,geninstance,curtime) ^ 24 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrampar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrampar.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrampar.c:16: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrampar.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrampar.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmParam(param,value,inModel) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrapar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrapar.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrapar.c:9: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrapar.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltrapar.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAparam(param,value,inst,select) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c:11: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAsetup(matrix,inModel,ckt,state) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c:252:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c:267:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, (GENERIC *) here->LTRAbrEq1); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c:267:19: warning: cast to 'GENERIC *' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] CKTdltNNum(ckt, (GENERIC *) here->LTRAbrEq1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c:271:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, (GENERIC *) here->LTRAbrEq2); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltraset.c:271:19: warning: cast to 'GENERIC *' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] CKTdltNNum(ckt, (GENERIC *) here->LTRAbrEq2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratemp.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratemp.c:11: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratemp.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratemp.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAtemp(inModel,ckt) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratrun.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratrun.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratrun.c:10: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratrun.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltratrun.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAtrunc(inModel,ckt,timeStep) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramask.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramask.c:16: /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramask.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/ltra//ltramask.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LTRAmAsk(ckt,inModel,param,value) ^ 6 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a ltra.o ltraacct.o ltraacld.o ltraask.o ltradel.o ltradest.o ltraload.o ltramdel.o ltramisc.o ltrampar.o ltrapar.o ltraset.o ltratemp.o ltratrun.o ltramask.o Done with work/src/lib/dev/ltra Making "all" in mes gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mes.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesacl.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesacl.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesacl.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESacLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesask.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesask.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesask.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesask.c:96:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesask.c:107:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdisto.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdisto.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdisto.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdisto.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESdisto(mode,genmodel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdisto.c:47:9: warning: call to undeclared function 'MESdSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(MESdSetup(model,ckt)); ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:164:2: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&d_q,&d_p); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:184:7: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_prod,&d_r,model->MESlModulation); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:192:7: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_invdenom,&d_denom); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:197:4: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_cdrain,&d_betap,&d_vgst); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:209:4: warning: call to undeclared function 'CubeDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CubeDeriv(&d_lfact,&d_afact); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:253:5: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_veroot,&d_q,-1.0); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:254:5: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PlusDeriv(&d_veroot,&d_veroot,&d_p); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:255:5: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_veroot,&d_veroot,&d_veroot); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:257:5: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_veroot,&d_veroot); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:268:5: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&d_vnroot,&d_veff1); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:303:5: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DivDeriv(&d_par1,&d_par1,&d_vnroot); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:329:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_dummy,&d_dummy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesdset.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESdSetup(inModel,ckt) ^ 17 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesgetic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesgetic.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesgetic.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesgetic.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESgetic(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesload.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesload.c:13: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesload.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesload.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESload(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesload.c:462:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qggnew(vgs,vgd,phib,vcap,vto,cgs,cgd,cgsnew,cgdnew) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesload.c:462:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmask.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmask.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESmAsk(ckt,inst,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmpar.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmpar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesmpar.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESmParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:29:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESnoise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_%s%s",inst->MESname,MESnNames[i]); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:88:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_total_%s%s",inst->MESname,MESnNames[i]); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:99:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"inoise_total_%s%s",inst->MESname,MESnNames[i]); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:106:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:124:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MESRDNOIZ],&lnNdens[MESRDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:128:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MESRSNOIZ],&lnNdens[MESRSNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:132:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MESIDNOIZ],&lnNdens[MESIDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:137:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MESFLNOIZ],(double*)NULL,ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:176:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOnoise = Nintegrate(noizDens[i], lnNdens[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesnoise.c:178:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , ^ 16 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesparam.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesparam.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mesparam.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mespzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mespzld.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mespzld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mespzld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESpzLoad(inModel,ckt,s) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//messetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//messetup.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//messetup.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//messetup.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESsetup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//messetup.c:138:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MESunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//messetup.c:155:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MESsourcePrimeNode); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//messetup.c:161:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MESdrainPrimeNode); ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mestemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mestemp.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mestemp.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mestemp.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MEStemp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mestrunc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mestrunc.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mes//mestrunc.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MEStrunc(inModel,ckt,timeStep) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a mes.o mesacl.o mesask.o mesdel.o mesdest.o mesdisto.o mesdset.o mesgetic.o mesload.o mesmask.o mesmdel.o mesmpar.o mesnoise.o mesparam.o mespzld.o messetup.o mestemp.o mestrunc.o Done with work/src/lib/dev/mes Making "all" in mos1 gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1acld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1acld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1acld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1acLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ask.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ask.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ask.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1ask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ask.c:342:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ask.c:353:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ask.c:370:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ask.c:388:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1conv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1conv.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1conv.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1conv.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1convTest(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1del.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1del.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1del.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1del.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1delete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1destroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dist.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dist.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dist.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dist.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1disto(mode,genmodel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dist.c:47:9: warning: call to undeclared function 'MOS1dSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(MOS1dSetup(model,ckt)); ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dset.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dset.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1dset.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1dSetup(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ic.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1ic.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1getic(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1load.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1load.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1load.c:12: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1load.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1load.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1load(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1load.c:315:21: warning: '/*' within block comment [-Wcomment] /* nothing interesting has changed since last ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mask.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mask.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1mAsk(ckt,inst,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1mDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mpar.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1mpar.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1mParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:29:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1noise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:83:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_%s%s",inst->MOS1name,MOS1nNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:85:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:98:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_total_%s%s",inst->MOS1name,MOS1nNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:101:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:109:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"inoise_total_%s%s",inst->MOS1name,MOS1nNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:112:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:130:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS1RDNOIZ],&lnNdens[MOS1RDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:134:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS1RSNOIZ],&lnNdens[MOS1RSNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:138:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS1IDNOIZ],&lnNdens[MOS1IDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:142:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS1FLNOIZ],(double*)NULL,ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:182:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOnoise = Nintegrate(noizDens[i], lnNdens[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1noi.c:184:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , ^ 16 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1par.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1par.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1par.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1par.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1param(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1pzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1pzld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1pzld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1pzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1sAcLoad(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:236:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS1load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:236:26: note: place parentheses around the assignment to silence this warning if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:236:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:326:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS1load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:326:26: note: place parentheses around the assignment to silence this warning if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:326:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:364:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS1load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:364:26: note: place parentheses around the assignment to silence this warning if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:364:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:403:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS1load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:403:26: note: place parentheses around the assignment to silence this warning if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:403:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:443:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS1load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:443:26: note: place parentheses around the assignment to silence this warning if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:443:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:543:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS1load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:543:26: note: place parentheses around the assignment to silence this warning if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sacl.c:543:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS1load((GENmodel*)model,ckt)) return(error); ^ == 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1set.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1set.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1set.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1set.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1setup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1set.c:191:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1unsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1set.c:208:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MOS1dNodePrime); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1set.c:214:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MOS1sNodePrime); ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sld.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sld.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sld.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1sLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sprt.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sprt.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sprt.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1sPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sprt.c:34:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->MOS1modName); ~~ ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sprt.c:40:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->MOS1name); ~~ ^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sprt.c:42:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->MOS1dNode),CKTnodName(ckt,here->MOS1gNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sprt.c:42:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->MOS1dNode),CKTnodName(ckt,here->MOS1gNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sprt.c:43:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->MOS1sNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sset.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sset.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sset.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1sSetup(info,inModel) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1sset.c:42:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((here->MOS1sens = (double *)MALLOC(70*sizeof(double))) == NULL) { ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1supd.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1supd.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1supd.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1supd.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1sUpdate(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1temp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1temp.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1temp.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1temp.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1temp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1trun.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1trun.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos1//mos1trun.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS1trunc(inModel,ckt,timeStep) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a mos1.o mos1acld.o mos1ask.o mos1conv.o mos1del.o mos1dest.o mos1dist.o mos1dset.o mos1ic.o mos1load.o mos1mask.o mos1mdel.o mos1mpar.o mos1noi.o mos1par.o mos1pzld.o mos1sacl.o mos1set.o mos1sld.o mos1sprt.o mos1sset.o mos1supd.o mos1temp.o mos1trun.o Done with work/src/lib/dev/mos1 Making "all" in mos2 gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2acld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2acld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2acld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2acLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ask.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ask.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ask.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2ask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ask.c:342:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ask.c:353:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ask.c:370:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ask.c:388:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2conv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2conv.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2conv.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2conv.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2convTest(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2del.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2del.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2del.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2del.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2delete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2destroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dist.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dist.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dist.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dist.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2disto(mode,genmodel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dist.c:47:9: warning: call to undeclared function 'MOS2dSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(MOS2dSetup(model,ckt)); ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:13: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:329:2: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&d_q,&d_p); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:341:6: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_sarg, &d_phiMinVbs); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:343:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_dsrgdb,&d_sarg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:344:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_dsrgdb,&d_dsrgdb,-0.5); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:351:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_sarg,&d_sarg,0.5/here->MOS2tPhi); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:353:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_sarg,&d_sarg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:356:6: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_dsrgdb,&d_sarg,&d_sarg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:364:6: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_barg,&d_barg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:366:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_dbrgdb,&d_barg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:367:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_dbrgdb,&d_dbrgdb,-0.5); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:372:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_barg,&d_barg,0.5/here->MOS2tPhi); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:374:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_barg,&d_barg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:377:6: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_dbrgdb,&d_barg,&d_barg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:396:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_vbin,&d_phiMinVbs,factor); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:422:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_args,&d_argxs); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:434:6: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PlusDeriv(&d_gamasd,&d_argss,&d_argsd); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:445:3: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DivDeriv(&d_dbargs,&d_dbxws,&d_args); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:465:2: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_von,&d_gamasd,&d_sarg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:466:2: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PlusDeriv(&d_von,&d_von,&d_vbin); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:491:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_argg,&d_tmp); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:514:2: warning: call to undeclared function 'CubeDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CubeDeriv(&d_sarg3,&d_sarg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:536:2: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_dummy,&d_udenom); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:538:2: warning: call to undeclared function 'PowDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PowDeriv(&d_ufact,&d_dummy,model->MOS2critFieldExp); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:580:3: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DivDeriv(&d_arg,&d_argv,&d_gammd2); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:582:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_arg,&d_arg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:591:3: warning: '/*' within block comment [-Wcomment] /* distortion vdsat=(vgsx-vbin)/eta + (gammd2 - dumarg)/2.0 ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:705:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_p2,&d_p0); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:716:7: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DivDeriv(&d_fi,&d_p2,&d_s); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:718:7: warning: call to undeclared function 'AtanDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] AtanDeriv(&d_fi,&d_fi); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:721:7: warning: call to undeclared function 'CosDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CosDeriv(&d_dummy,&d_dummy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:834:7: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_bsarg,&d_bsarg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:861:7: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_sargv,&d_sargv); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:902:7: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_xls,&d_xls); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:952:6: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DivDeriv(&d_beta1,&d_ufact,&d_clfact); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:980:7: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExpDeriv(&d_dummy,&d_dummy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:1041:6: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExpDeriv(&d_expg,&d_expg); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2dset.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2dSetup(inModel,ckt) ^ 44 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ic.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2ic.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2getic(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c:12: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2load(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c:1382:66: warning: '/*' within block comment [-Wcomment] /*printf(" loading %s at time %g\n",here->MOS2name,ckt->CKTtime);/**/ ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c:1384:66: warning: '/*' within block comment [-Wcomment] here->MOS2sourceConductance,here->MOS2gbd,here->MOS2gbs);/**/ ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c:1385:71: warning: '/*' within block comment [-Wcomment] /*printf("%g %g %g %g %g\n",-gcgb,0.0,0.0,here->MOS2gds,here->MOS2gm);/**/ ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c:1386:77: warning: '/*' within block comment [-Wcomment] /*printf("%g %g %g %g %g\n", here->MOS2gds,here->MOS2gmbs,gcgd,-gcgs,-gcgd);/**/ ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2load.c:1387:57: warning: '/*' within block comment [-Wcomment] /*printf("%g %g %g %g %g\n", -gcgs,-gcgd,0.0,-gcgs,0.0);/**/ ^ 13 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2mDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mpar.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mpar.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mpar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2mParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:29:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2noise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_%s%s",inst->MOS2name,MOS2nNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:88:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_total_%s%s",inst->MOS2name,MOS2nNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:99:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"inoise_total_%s%s",inst->MOS2name,MOS2nNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:102:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:120:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS2RDNOIZ],&lnNdens[MOS2RDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:124:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS2RSNOIZ],&lnNdens[MOS2RSNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:128:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS2IDNOIZ],&lnNdens[MOS2IDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:132:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS2FLNOIZ],(double*)NULL,ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:173:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOnoise = Nintegrate(noizDens[i], lnNdens[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2noi.c:175:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , ^ 16 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2par.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2par.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2par.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2par.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2param(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2pzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2pzld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2pzld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2pzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2sAcLoad(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:236:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS2load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:236:26: note: place parentheses around the assignment to silence this warning if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:236:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:326:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS2load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:326:26: note: place parentheses around the assignment to silence this warning if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:326:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:364:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS2load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:364:26: note: place parentheses around the assignment to silence this warning if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:364:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:403:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS2load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:403:26: note: place parentheses around the assignment to silence this warning if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:403:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:443:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS2load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:443:26: note: place parentheses around the assignment to silence this warning if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:443:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:542:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS2load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:542:26: note: place parentheses around the assignment to silence this warning if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sacl.c:542:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS2load((GENmodel*)model,ckt)) return(error); ^ == 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2set.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2set.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2set.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2set.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2setup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2set.c:217:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2unsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2set.c:234:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MOS2sNodePrime); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2set.c:240:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MOS2dNodePrime); ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sld.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sld.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sld.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2sLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sprt.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sprt.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sprt.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2sPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sprt.c:30:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->MOS2modName); ~~ ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sprt.c:36:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->MOS2name); ~~ ^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sprt.c:38:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->MOS2dNode),CKTnodName(ckt,here->MOS2gNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sprt.c:38:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->MOS2dNode),CKTnodName(ckt,here->MOS2gNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sprt.c:39:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->MOS2sNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sset.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sset.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sset.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2sSetup(info,inModel) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2sset.c:44:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((here->MOS2sens = (double *)MALLOC(70*sizeof(double))) == NULL) { ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2supd.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2supd.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2supd.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2supd.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2sUpdate(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2temp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2temp.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2temp.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2temp.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2temp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2trun.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2trun.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2trun.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2trunc(inModel,ckt,timeStep) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mask.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mask.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos2//mos2mask.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS2mAsk(ckt,inModel,param,value) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a mos2.o mos2acld.o mos2ask.o mos2conv.o mos2del.o mos2dest.o mos2dist.o mos2dset.o mos2ic.o mos2load.o mos2mdel.o mos2mpar.o mos2noi.o mos2par.o mos2pzld.o mos2sacl.o mos2set.o mos2sld.o mos2sprt.o mos2sset.o mos2supd.o mos2temp.o mos2trun.o mos2mask.o Done with work/src/lib/dev/mos2 Making "all" in mos3 gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3acld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3acld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3acld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3acLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ask.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ask.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ask.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3ask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ask.c:342:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ask.c:353:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ask.c:370:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ask.c:388:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3conv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3conv.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3conv.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3conv.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3convTest(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3del.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3del.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3del.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3del.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3delete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3destroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dist.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dist.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dist.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dist.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3disto(mode,genmodel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dist.c:47:9: warning: call to undeclared function 'MOS3dSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(MOS3dSetup(model,ckt)); ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:12: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:302:2: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EqualDeriv(&d_q,&d_p); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:319:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_phibs,&d_phibs,-1.0); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:322:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_sqphbs,&d_phibs); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:329:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_sqphbs,&d_sqphbs,1/(here->MOS3tPhi+here->MOS3tPhi)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:331:3: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_sqphbs,&d_sqphbs); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:334:3: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_phibs,&d_sqphbs,&d_sqphbs); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:342:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_wps,&d_sqphbs,model->MOS3coeffDepLayWidth); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:351:3: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_wconxj,&d_wconxj,&d_wponxj); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:358:3: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_argc,&d_argc); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:364:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_argb,&d_argb); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:381:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TimesDeriv(&d_gammas,&d_fshort,model->MOS3gamma); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:383:6: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DivDeriv(&d_fbodys,&d_gammas,&d_sqphbs); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:392:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InvDeriv(&d_onfbdy,&d_onfbdy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:396:6: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MultDeriv(&d_qbonco,&d_gammas,&d_sqphbs); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:397:6: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PlusDeriv(&d_qbonco,&d_qbonco,&d_dummy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:481:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_argb,&d_argb); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:573:6: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SqrtDeriv(&d_argb,&d_argb); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:626:3: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExpDeriv(&d_wfact,&d_wfact); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:656:3: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExpDeriv(&d_dummy,&d_dummy); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3dset.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3dSetup(inModel,ckt) ^ 27 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ic.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3ic.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3getic(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3load.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3load.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3load.c:12: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3load.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3load.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3load(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3load.c:325:21: warning: '/*' within block comment [-Wcomment] /* nothing interesting has changed since last ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mask.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mask.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3mAsk(ckt,inst,which,value) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mask.c:150:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 3 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3mDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mpar.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3mpar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3mParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:29:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3noise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_%s%s",inst->MOS3name,MOS3nNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:88:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_total_%s%s",inst->MOS3name,MOS3nNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:99:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"inoise_total_%s%s",inst->MOS3name,MOS3nNames[i]); ~~ ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:102:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:121:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS3RDNOIZ],&lnNdens[MOS3RDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:125:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS3RSNOIZ],&lnNdens[MOS3RSNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:129:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS3IDNOIZ],&lnNdens[MOS3IDNOIZ], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:133:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens[MOS3FLNOIZ],(double*)NULL,ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:174:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOnoise = Nintegrate(noizDens[i], lnNdens[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3noi.c:176:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , ^ 16 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3par.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3par.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3par.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3par.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3param(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3pzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3pzld.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3pzld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3pzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3sAcLoad(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:236:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS3load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:236:26: note: place parentheses around the assignment to silence this warning if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:236:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:325:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS3load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:325:26: note: place parentheses around the assignment to silence this warning if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:325:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:363:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS3load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:363:26: note: place parentheses around the assignment to silence this warning if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:363:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:402:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS3load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:402:26: note: place parentheses around the assignment to silence this warning if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:402:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:442:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS3load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:442:26: note: place parentheses around the assignment to silence this warning if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:442:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ == /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:544:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error = MOS3load((GENmodel*)model,ckt)) return(error); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:544:26: note: place parentheses around the assignment to silence this warning if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sacl.c:544:26: note: use '==' to turn this assignment into an equality comparison if(error = MOS3load((GENmodel*)model,ckt)) return(error); ^ == 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3set.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3set.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3set.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3set.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3setup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3set.c:235:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3unsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3set.c:252:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MOS3dNodePrime); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3set.c:258:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MOS3sNodePrime); ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sld.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sld.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sld.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3sLoad(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sprt.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sprt.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sprt.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3sPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sprt.c:31:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->MOS3modName); ~~ ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sprt.c:37:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->MOS3name); ~~ ^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sprt.c:39:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->MOS3dNode),CKTnodName(ckt,here->MOS3gNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sprt.c:39:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->MOS3dNode),CKTnodName(ckt,here->MOS3gNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sprt.c:40:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->MOS3sNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sset.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sset.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sset.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3sSetup(info,inModel) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3sset.c:45:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((here->MOS3sens = (double *)MALLOC(72*sizeof(double))) == NULL) { ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3supd.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3supd.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3supd.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3supd.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3sUpdate(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3temp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3temp.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3temp.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3temp.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3temp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3trun.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3trun.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos3//mos3trun.c:14:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS3trunc(inModel,ckt,timeStep) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a mos3.o mos3acld.o mos3ask.o mos3conv.o mos3del.o mos3dest.o mos3dist.o mos3dset.o mos3ic.o mos3load.o mos3mask.o mos3mdel.o mos3mpar.o mos3noi.o mos3par.o mos3pzld.o mos3sacl.o mos3set.o mos3sld.o mos3sprt.o mos3sset.o mos3supd.o mos3temp.o mos3trun.o Done with work/src/lib/dev/mos3 Making "all" in mos6 gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ask.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ask.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ask.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6ask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ask.c:338:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ask.c:349:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ask.c:366:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ask.c:384:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6conv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6conv.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6conv.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6conv.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6convTest(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6dest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6dest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6dest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6destroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ic.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6ic.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6getic(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6load.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6load.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6load.c:12: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6load.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6load.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6load(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6load.c:315:21: warning: '/*' within block comment [-Wcomment] /* nothing interesting has changed since last ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6load.c:513:27: warning: expression result unused [-Wunused-value] - model->MOS6sigma * vdshere; ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6mpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6mpar.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6mpar.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6mpar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6mParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6par.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6par.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6par.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6par.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6param(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6set.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6set.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6set.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6set.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6setup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6set.c:207:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6unsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6set.c:224:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MOS6dNodePrime); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6set.c:230:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->MOS6sNodePrime); ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6temp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6temp.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6temp.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6temp.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6temp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6trun.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6trun.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6trun.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6trunc(inModel,ckt,timeStep) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6mask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6mask.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6mask.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/mos6//mos6mask.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MOS6mAsk(ckt,inModel,param,value) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a mos6.o mos6ask.o mos6conv.o mos6dest.o mos6ic.o mos6load.o mos6mpar.o mos6par.o mos6set.o mos6temp.o mos6trun.o mos6mask.o Done with work/src/lib/dev/mos6 Making "all" in res gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//res.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resask.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resask.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resask.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resask.c:110:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resask.c:122:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resdest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resload.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESload(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmask.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmask.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESmodAsk(ckt,inModel,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmpar.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmpar.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resmpar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESmParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:29:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESnoise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:62:35: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_%s",inst->RESname); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:65:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:76:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_total_%s",inst->RESname); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:79:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:87:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"inoise_total_%s",inst->RESname); ~~ ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:90:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:107:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens,&lnNdens,ckt,THERMNOISE, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:125:29: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOutNoise = Nintegrate(noizDens, lnNdens, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resnoise.c:127:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInNoise = Nintegrate(noizDens * ^ 13 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resparam.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resparam.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//resparam.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//respzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//respzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//respzld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressacl.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressacl.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESsAcLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressetup.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressetup.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressetup.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESsetup(matrix,inModel,ckt,state) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressload.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESsLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressprt.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressprt.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESsPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressprt.c:32:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->RESmodName); ~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressprt.c:38:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->RESname); ~~ ^~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressprt.c:40:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->RESposNode),CKTnodName(ckt,here->RESnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressprt.c:40:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->RESposNode),CKTnodName(ckt,here->RESnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressset.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressset.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//ressset.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESsSetup(info,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/res//restemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//restemp.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/res//restemp.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/res//restemp.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REStemp(inModel,ckt) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a res.o resask.o resdel.o resdest.o resload.o resmask.o resmdel.o resmpar.o resnoise.o resparam.o respzld.o ressacl.o ressetup.o ressload.o ressprt.o ressset.o restemp.o Done with work/src/lib/dev/res Making "all" in sw gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//sw.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swacload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swacload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swacload.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWacLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swask.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swask.c:20: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swask.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swask.c:51:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swask.c:63:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swdelete.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swdelete.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swdelete.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swdelete.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swdest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swload.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swload.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swload.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWload(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmask.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmask.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWmAsk(ckt,inModel,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmdel.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmparam.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmparam.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swmparam.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWmParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:30:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWnoise (mode, operation, genmodel, ckt, data, OnDens) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:63:35: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_%s",inst->SWname); ~~ ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:66:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:77:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"onoise_total_%s",inst->SWname); ~~ ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:80:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:88:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] (void)sprintf(name,"inoise_total_%s",inst->SWname); ~~ ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:109:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc(&noizDens,&lnNdens,ckt,THERMNOISE, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:128:29: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempOutNoise = Nintegrate(noizDens, lnNdens, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swnoise.c:130:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempInNoise = Nintegrate(noizDens * ^ 13 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swparam.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swparam.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swparam.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swpzload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swpzload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swpzload.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swsetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swsetup.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/sw//swsetup.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWsetup(matrix,inModel,ckt,states) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a sw.o swacload.o swask.o swdelete.o swdest.o swload.o swmask.o swmdel.o swmparam.o swnoise.o swparam.o swpzload.o swsetup.o Done with work/src/lib/dev/sw Making "all" in tra gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tra.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traacct.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traacct.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traacct.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traacct.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAaccept(ckt,inModel) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traacct.c:57:49: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] here->TRAdelays = (double *)REALLOC((char *)here->TRAdelays, ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traacld.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traacld.c:14:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAacLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traask.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traask.c:20: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traask.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traask.c:93:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value->v.vec.rVec = (double *) MALLOC(here->TRAsizeDelay); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tradel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tradel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tradel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tradel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAdelete(inModel,name,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tradest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tradest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tradest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traload.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traload.c:13: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traload.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traload.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAload(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tramdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tramdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tramdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tramdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traparam.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traparam.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//traparam.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAsetup(matrix,inModel,ckt,state) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c:66:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] here->TRAdelays = (double *)MALLOC(15*sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c:122:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c:137:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->TRAbrEq1); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c:141:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->TRAbrEq2); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c:145:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->TRAintNode1); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//trasetup.c:149:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->TRAintNode2); ^ 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tratemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tratemp.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tratemp.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tratemp.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAtemp(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tratrunc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tratrunc.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tratrunc.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/tra//tratrunc.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRAtrunc(inModel,ckt,timeStep) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a tra.o traacct.o traacld.o traask.o tradel.o tradest.o traload.o tramdel.o traparam.o trasetup.o tratemp.o tratrunc.o Done with work/src/lib/dev/tra Making "all" in urc gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urc.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcask.c:20: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcask.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] URCask(ckt,inst,which,value,select) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] URCdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcdest.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcdest.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] URCdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmask.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmask.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] URCmAsk(ckt,inst,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] URCmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmpar.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmpar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcmpar.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] URCmParam(param,value,inModel) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcparam.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcparam.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcparam.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] URCparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] URCsetup(matrix,inModel,ckt,state) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:136:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] namehi = (char *)MALLOC(10*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:144:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] namelo = (char *)MALLOC(10*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:154:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nameelt = (char *)MALLOC(10*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:170:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nameelt = (char *)MALLOC(10*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:188:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nameelt = (char *)MALLOC(10*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:207:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nameelt = (char *)MALLOC(10*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:229:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nameelt = (char *)MALLOC(10*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:248:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nameelt = (char *)MALLOC(10*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:278:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] URCunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/urc//urcsetup.c:317:4: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, in->GENnode1); ^ 15 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a urc.o urcask.o urcdel.o urcdest.o urcmask.o urcmdel.o urcmpar.o urcparam.o urcsetup.o Done with work/src/lib/dev/urc Making "all" in vccs gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccs.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsask.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsask.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsask.c:118:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsask.c:134:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsask.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSask(ckt,inst,which,value,select) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsdest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsload.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsload.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsload.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSload(inModel,ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccspar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccspar.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccspar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccspar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccspzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccspzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccspzld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssacl.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssacl.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSsAcLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsset.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccsset.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSsetup(matrix,inModel,ckt,states) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssld.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssld.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSsLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssprt.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssprt.c:33:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->VCCSmodName); ~~ ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssprt.c:39:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->VCCSname); ~~ ^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssprt.c:41:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->VCCSposNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssprt.c:42:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->VCCSnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssprt.c:44:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->VCCScontPosNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssprt.c:45:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->VCCScontNegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssprt.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSsPrint(inModel,ckt) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssset.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vccs//vccssset.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCCSsSetup(info,inModel) ^ 2 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a vccs.o vccsask.o vccsdel.o vccsdest.o vccsload.o vccsmdel.o vccspar.o vccspzld.o vccssacl.o vccsset.o vccssld.o vccssprt.o vccssset.o Done with work/src/lib/dev/vccs Making "all" in vcvs gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvs.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsask.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsask.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsask.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsask.c:126:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsask.c:140:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsdest.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsfbr.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsfbr.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsfbr.c:13: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsfbr.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsfbr.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSfindBr(ckt,inModel,name) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsload.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSload(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsmdel.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSmDelete(inModel,modname,kill) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvspar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvspar.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvspar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvspar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvspzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvspzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvspzld.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSpzLoad(inModel,ckt,s) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssacl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssacl.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssacl.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSsAcLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsset.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsset.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsset.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSsetup(matrix,inModel,ckt,states) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsset.c:63:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvsset.c:78:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->VCVSbranch); ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssld.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssld.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSsLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSsPrint(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c:32:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("Model name:%s\n",model->VCVSmodName); ~~ ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c:39:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" Instance name:%s\n",here->VCVSname); ~~ ^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c:41:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->VCVSposNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c:42:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->VCVSnegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c:44:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->VCVScontPosNode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c:45:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->VCVScontNegNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssprt.c:47:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt,here->VCVSbranch)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssset.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssset.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vcvs//vcvssset.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VCVSsSetup(info,inModel) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a vcvs.o vcvsask.o vcvsdel.o vcvsdest.o vcvsfbr.o vcvsload.o vcvsmdel.o vcvspar.o vcvspzld.o vcvssacl.o vcvsset.o vcvssld.o vcvssprt.o vcvssset.o Done with work/src/lib/dev/vcvs Making "all" in vsrc gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrc.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:10: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCaccept(ckt,inModel) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:33:16: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:33:16: note: add parentheses after the '!' to evaluate the bitwise operator first if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:33:16: note: add parentheses around left hand side expression to silence this warning if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:160:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((*(here->VSRCcoeffs+2*i)==ckt->CKTtime)) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:160:52: note: remove extraneous parentheses around the comparison to silence this warning if((*(here->VSRCcoeffs+2*i)==ckt->CKTtime)) { ~ ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacct.c:160:52: note: use '=' to turn this equality comparison into an assignment if((*(here->VSRCcoeffs+2*i)==ckt->CKTtime)) { ^~ = 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcacld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCacLoad(inModel,ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcask.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcask.c:20: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcask.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCask(ckt,inst,which,value,select) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcask.c:56:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MALLOC (here->VSRCfunctionOrder * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcask.c:65:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MALLOC (value->v.numValue * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcask.c:89:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcask.c:99:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcdel.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCdelete(inModel,name,inst) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcdest.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcdest.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCdestroy(inModel) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcfbr.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcfbr.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcfbr.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcfbr.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCfindBr(ckt,inModel,name) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcload.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcload.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcload.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcload.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCload(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcload.c:186:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((*(here->VSRCcoeffs+2*i)==time)) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcload.c:186:52: note: remove extraneous parentheses around the comparison to silence this warning if((*(here->VSRCcoeffs+2*i)==time)) { ~ ^ ~ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcload.c:186:52: note: use '=' to turn this equality comparison into an assignment if((*(here->VSRCcoeffs+2*i)==time)) { ^~ = 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcmdel.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcmdel.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcmdel.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcmdel.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCmDelete(inModel,modname,fast) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpar.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpar.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCparam(param,value,inst,select) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpzld.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpzld.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCpzLoad(inModel,ckt,s) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpzs.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpzs.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpzs.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcpzs.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCpzSetup(matrix,inModel,ckt,state) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcset.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcset.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcset.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCsetup(matrix,inModel,ckt,state) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcset.c:60:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCunsetup(inModel,ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrcset.c:75:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CKTdltNNum(ckt, here->VSRCbranch); ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrctemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrctemp.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrctemp.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/dev/vsrc//vsrctemp.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VSRCtemp(inModel,ckt) ^ 5 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a vsrc.o vsrcacct.o vsrcacld.o vsrcask.o vsrcdel.o vsrcdest.o vsrcfbr.o vsrcload.o vsrcmdel.o vsrcpar.o vsrcpzld.o vsrcpzs.o vsrcset.o vsrctemp.o Done with work/src/lib/dev/vsrc gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev//devsup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev//devsup.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/dev//devsup.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DEVlimvds(vnew,vold) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev//devsup.c:50:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DEVpnjlim(vnew,vold,vt,vcrit,icheck) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev//devsup.c:86:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DEVfetlim(vnew,vold,vto) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev//devsup.c:162:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DEVcmeyer(vgs0,vgd0,vgb0,von0,vdsat0, ^ /Users/pbulk/build/cad/spice/work/src/lib/dev//devsup.c:260:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DEVqmeyer(vgs,vgd,vgb,von,vdsat,capgs,capgd,capgb,phi,cox) ^ /Users/pbulk/build/cad/spice/work/src/lib/dev//devsup.c:412:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double DEVpred(ckt,loct) ^ 9 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a devsup.o ranlib /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/dev.a > /dev/null Done with work/src/lib/dev Making "all" in ckt gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//acan.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//acan.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//acan.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//acan.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ACan(ckt,restart) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//acan.c:180:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTacLoad(ckt) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//acaskq.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//acaskq.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ACaskQuest(ckt,anal,which,value) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ACsetParm(ckt,anal,which,value) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:27:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = copy("Frequency of 0 is invalid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:37:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = copy("Frequency of 0 is invalid"); ^ 5 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktaccpt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktaccpt.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktaccpt.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktaccpt.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTaccept(ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktacct.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktacct.c:19: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktacct.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTacct(ckt,anal,which,val) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktacdum.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktacdum.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktacdum.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTacDump(ckt,freq,plot) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktacdum.c:38:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data = (IFcomplex *) MALLOC((ckt->CKTmaxEqNum-1)*sizeof(IFcomplex)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktask.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktask.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktask.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTask(ckt,fast,which,value,selector) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktaskaq.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktaskaq.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktaskaq.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTaskAnalQ(ckt,analPtr,parm,value,selector) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktaskaq.c:30:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return( (*(analInfo[type]->askQuest))((CKTcircuit*)ckt,analPtr,parm,value)); ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktasknq.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktasknq.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktasknq.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTaskNodQst(ckt,node,parm,value,selector) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktbindn.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktbindn.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktbindn.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktbindn.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTbindNode(ckt,fast,term,node) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktbkdum.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktbkdum.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktbkdum.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTbreakDump(ckt) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktclrbk.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktclrbk.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktclrbk.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktclrbk.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTclrBreak(ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktclrbk.c:29:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = (double *)MALLOC((ckt->CKTbreakSize-1)*sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktcrte.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktcrte.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktcrte.c:19: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktcrte.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTcrtElt(ckt,inModPtr,inInstPtr,name) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktcrte.c:44:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] instPtr = (GENinstance *)MALLOC(*DEVices[type]->DEVinstSize); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdelt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdelt.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdelt.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdelTask(ckt,task) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdest.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdest.c:20: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdest.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdestroy(inCkt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdisto.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdisto.c:24: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdisto.c:26: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdisto.c:30:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdisto (ckt, mode) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdlti.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdlti.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdlti.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdlti.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdltInst(ckt,instance) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdltMod(cktp,modPtr) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:44:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(h); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:47:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(m); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ 12 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:14: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:14: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdltNod(ckt,node) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:24:12: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return CKTdltNNum(ckt, ((CKTnode *) node)->number); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:60:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(node); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:28:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdltNNum(cktp, num) ^ 13 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdojob.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdojob.c:9: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdojob.c:10: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdojob.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdojob.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdoJob(inCkt,reset,inTask) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdojob.c:106:14: warning: call to undeclared function 'CKTunsetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error = CKTunsetup(ckt); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdojob.c:130:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = (*(analInfo[i]->an_init))(ckt, job); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdojob.c:134:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = (*(analInfo[i]->an_func))(ckt, reset); ^ 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdump.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdump.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdump(ckt,ref,plot) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfbran.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfbran.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTfndBranch(ckt,name) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfdev.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfdev.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfdev.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfdev.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTfndDev(Ckt,type,fast,name,modfast,modname) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfnda.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfnda.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfnda.c:18: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * SPerror( int ); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfnda.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTfndAnal(ckt,analIndex,anal,name,inTask,taskName) ^ 3 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfndm.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfndm.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfndm.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfndm.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTfndMod(ckt,type,modfast,modname) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfnode.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfnode.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfnode.c:16: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * SPerror( int ); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktfnode.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTfndNode(ckt,node,name) ^ 3 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktftask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktftask.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktftask.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktftask.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTfndTask(ckt,taskPtr,taskName) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktgrnd.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktgrnd.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktgrnd.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktgrnd.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTground(inCkt,node,name) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktgrnd.c:40:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ckt->CKTnodes = (CKTnode *)MALLOC(sizeof(CKTnode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckti2nod.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckti2nod.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckti2nod.c:17: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * SPerror( int ); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckti2nod.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTinst2Node(ckt,instPtr,terminal,node,nodeName) ^ 3 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktic.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktic.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktic.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTic(ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktinit.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktinit.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktinit.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktinit.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTinit(ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktinit.c:23:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sckt = (CKTcircuit *)( *ckt = (char *)MALLOC(sizeof(CKTcircuit)) ); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktinit.c:61:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (sckt)->CKTstat = (STATistics *)MALLOC(sizeof(STATistics)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktlnkeq.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktlnkeq.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktlnkeq.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTlinkEq(ckt,node) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktlnkeq.c:26:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ckt->CKTnodes = (CKTnode *) MALLOC(sizeof(CKTnode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktload.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktload.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktload.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTload(ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktload.c:69:24: warning: passing arguments to 'ZeroNoncurRow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ZeroNoncurRow(ckt->CKTmatrix, ckt->CKTnodes, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktload.c:84:24: warning: passing arguments to 'ZeroNoncurRow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ZeroNoncurRow(ckt->CKTmatrix, ckt->CKTnodes, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktload.c:104:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZeroNoncurRow(matrix, nodes, rownum) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmapn.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmapn.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmapn.c:17: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * SPerror( int ); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmapn.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTmapNode(ckt,node,name) ^ 3 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmask.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmask.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmask.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTmodAsk(ckt,modfast,which,value,selector) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmcrt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmcrt.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmcrt.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmcrt.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTmodCrt(ckt,type,modfast,name) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmcrt.c:35:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mymodfast = (GENmodel *)MALLOC(*DEVices[type]->DEVmodSize); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkcur.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkcur.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkcur.c:17: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * SPerror( int ); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkcur.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkcur.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTmkCur(ckt,node,basename,suffix) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmknod.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmknod.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmknod.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTmkNode(ckt,node) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmknod.c:29:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mynode = (CKTnode *)MALLOC(sizeof(CKTnode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkvol.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkvol.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkvol.c:15: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * SPerror( int ); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkvol.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmkvol.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTmkVolt(ckt,node,basename,suffix) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmpar.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmpar.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktmpar.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTmodParam(ckt,modfast,param,val,selector) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnames.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnames.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnames.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTnames(ckt,numNames,nameList) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnames.c:29:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *nameList = (IFuid *)MALLOC(*numNames * sizeof(IFuid )); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnames.c:47:44: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf("%03d: %s\n", here->number, here->name); ~~ ^~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnames.c:39:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTdnames(ckt) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnewan.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnewan.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnewan.c:33:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *analPtr = (GENERIC *)MALLOC(analInfo[type]->size); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnewan.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTnewAnal(ckt,type,name,analPtr,taskPtr) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktneweq.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktneweq.c:20: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktneweq.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTnewEq(inCkt,node,name) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnewn.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnewn.c:20: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnewn.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTnewNode(inCkt,node,name) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnewn.c:33:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ckt->CKTnodes = (CKTnode *) MALLOC(sizeof(CKTnode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnewn.c:40:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ckt->CKTlastNode->next = (CKTnode *)MALLOC(sizeof(CKTnode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnodn.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnodn.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTnodName(ckt,nodenum) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c:22: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c:23: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c:62:40: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c:68:40: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c:77:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (double *)MALLOC(data->numPlots * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c:82:40: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c:87:40: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->namelist = (IFuid *)trealloc((char *)data->namelist, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c:94:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (double *) MALLOC(data->numPlots * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnoise.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTnoise (ckt, mode, operation, data) ^ 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktntask.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktntask.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktntask.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTnewTask(ckt,taskPtr,taskName) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktntask.c:25:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *taskPtr = (GENERIC *)MALLOC(sizeof(TSKtask)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnum2n.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnum2n.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnum2n.c:16: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * SPerror( int ); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktnum2n.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTnum2nod(ckt,node) ^ 3 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktop.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktop.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktop.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktop.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTop(ckt,firstmode, continuemode, iterlim) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktop.c:112:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTconvTest(ckt) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktparam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktparam.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktparam.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktparam.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTparam(ckt,fast,param,val,selector) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpmnam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpmnam.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpmnam.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpmnam.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpModName(parm,val,ckt,type,name,modfast) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpname.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpname.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpname.c:21: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpname.c:29:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpName(parm,val,ckt,dev,name,fast) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzld.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzld.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzld.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzLoad(ckt, s) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzld.c:48:2: warning: call to undeclared function 'SMPcAddCol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SMPcAddCol(ckt->CKTmatrix, pzan->PZbalance_col, pzan->PZsolution_col); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzld.c:53:2: warning: call to undeclared function 'SMPcZeroCol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SMPcZeroCol(ckt->CKTmatrix, pzan->PZsolution_col); ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzset.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzset.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzset.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzset.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzSetup(ckt, type) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:16: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:107:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CKTpzFindZeros(ckt, rootinfo, rootcount) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:107:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:137:15: warning: passing arguments to 'CKTpzReset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzReset(neighborhood); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:141:18: warning: call to undeclared function 'CKTpzStrat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((strat = CKTpzStrat(neighborhood)) < GUESS && !CKTpzTrapped) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:142:11: warning: call to undeclared function 'CKTpzStep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!CKTpzStep(strat, neighborhood)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:153:16: warning: passing arguments to 'PZeval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = PZeval(strat, neighborhood, &new_trial); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:157:10: warning: call to undeclared function 'CKTpzRunTrial'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error = CKTpzRunTrial(ckt, &new_trial, neighborhood); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:162:10: warning: call to undeclared function 'CKTpzVerify'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (CKTpzVerify(neighborhood, new_trial)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:164:13: warning: passing arguments to 'CKTpzReset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzReset(neighborhood); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:167:17: warning: passing arguments to 'CKTpzUpdateSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzUpdateSet(neighborhood, new_trial); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:169:16: warning: passing arguments to 'CKTpzReset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzReset(neighborhood); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:177:20: warning: passing arguments to 'CKTpzUpdateSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzUpdateSet(neighborhood, new_trial); /* Replace a value */ ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:204:14: warning: passing arguments to 'clear_trials' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_trials(ISAROOT); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:207:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERROR(E_SHORT, "The input signal is shorted on the way to the output"); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:54:11: note: expanded from macro 'ERROR' errMsg = MALLOC(strlen(MESSAGE) + 1); \ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:209:14: warning: passing arguments to 'clear_trials' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_trials(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:245:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_trial = NEW(PZtrial); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:59:29: note: expanded from macro 'NEW' #define NEW(TYPE) ((TYPE *) MALLOC(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:397:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERROR(E_PANIC, "Step type unkown"); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:54:11: note: expanded from macro 'ERROR' errMsg = MALLOC(strlen(MESSAGE) + 1); \ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:103:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int PZeval( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:236:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PZeval(strat, set, new_trial_p) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:409:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CKTpzStrat(set) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:445:12: warning: passing arguments to 'zaddeq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zaddeq(&a, &a_mag, set[1]->f_def.real, set[1]->mag_def, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:447:12: warning: passing arguments to 'zaddeq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zaddeq(&b, &b_mag, set[2]->f_def.real, set[2]->mag_def, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:500:3: warning: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] abort( ); /* XXX */ ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:500:3: note: include the header or explicitly provide a declaration for 'abort' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:409:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzStrat(set) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:521:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CKTpzRunTrial(ckt, new_trialp, set) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:592:16: warning: passing arguments to 'alter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || !alter(new_trial, set[1], abstol, reltol)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:708:11: warning: call to undeclared function 'SMPcDProd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error = SMPcDProd(ckt->CKTmatrix, &new_trial->f_raw, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:764:13: warning: passing arguments to 'check_flat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_flat(match, new_trial); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:521:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzRunTrial(ckt, new_trialp, set) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:779:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CKTpzVerify(set, new_trial) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:854:13: warning: passing arguments to 'check_flat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_flat(prev, t); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:779:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzVerify(set, new_trial) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:879:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pzseek(t, dir) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:901:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_trials(mode) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:29:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void CKTpzUpdateSet( ), zaddeq( ), CKTpzReset( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:929:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzUpdateSet(set, new) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:29:26: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void CKTpzUpdateSet( ), zaddeq( ), CKTpzReset( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:992:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zaddeq(a, amag, x, xmag, y, ymag) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:1053:9: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (abs(diff_mag) <= 1) { ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:1053:9: note: include the header or explicitly provide a declaration for 'abs' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:1045:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_flat(a, b) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:1070:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzStep(strat, set) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:29:37: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void CKTpzUpdateSet( ), zaddeq( ), CKTpzReset( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:1112:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTpzReset(set) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktpzstr.c:1129:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alter(new, nearto, abstol, reltol) ^ 48 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetap.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetap.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetap.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTsetAnalPm(ckt,analPtr,parm,value,selector) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetap.c:29:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return( (*(analInfo[type]->setParm))(ckt,analPtr,parm,value) ); ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetbk.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetbk.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetbk.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetbk.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTsetBreak(ckt,time) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetbk.c:47:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = (double *)MALLOC((ckt->CKTbreakSize+1)*sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetbk.c:68:32: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ckt->CKTbreaks = (double *)REALLOC(ckt->CKTbreaks, ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetnp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetnp.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetnp.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTsetNodPm(ckt,node,parm,value,selector) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:31:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTsetup(ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:64:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(ckt->CKTstates[i],ckt->CKTnumStates,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:24:32: note: expanded from macro 'CKALLOC' if(size && (!(var =(type *)MALLOC((size)*sizeof(type))))){\ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:94:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ckt->CKTstates[i]); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTunsetup(ckt) ^ 7 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:6: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:24:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sg = NEW(sgen); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:59:29: note: expanded from macro 'NEW' #define NEW(TYPE) ((TYPE *) MALLOC(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:40:11: warning: passing arguments to 'sgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sgen_next(&sg); /* get the ball rolling XXX check return val? */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:11: /Users/pbulk/build/cad/spice/work/src/include/sensgen.h:19:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern sgen *sgen_init( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sgen_init(ckt, is_dc) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:62:10: warning: call to undeclared function 'set_param'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] && !set_param(sg)); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:89:12: warning: call to undeclared function 'set_inst'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] good = set_inst(sg)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:125:12: warning: call to undeclared function 'set_model'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] good = set_model(sg)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:159:9: warning: call to undeclared function 'set_dev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] && !set_dev(sg)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:11: /Users/pbulk/build/cad/spice/work/src/include/sensgen.h:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int sgen_next( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:46:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sgen_next(xsg) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:180:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_inst(sg) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:180:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:186:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_model(sg) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:186:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:192:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_dev(sg) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:192:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:198:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_param(sg) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:205:17: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (Sfilter && strncmp(sg->ptable[sg->param].keyword, Sfilter, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:205:17: note: include the header or explicitly provide a declaration for 'strncmp' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:206:4: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strlen(Sfilter))) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:206:4: note: include the header or explicitly provide a declaration for 'strlen' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:218:6: warning: call to undeclared function 'sens_getp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (sens_getp(sg, sg->ckt, &ifval)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsgen.c:198:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_param(sg) ^ 24 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsopt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsopt.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsopt.c:20: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsopt.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTsetOpt(ckt,anal,opt,val) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttemp.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttemp.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTtemp(ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktterr.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktterr.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktterr.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTterr(qcap,ckt,timeStep) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:6: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:7: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:8: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:9: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:8: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:9: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:19: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:19: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:19: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTtrouble(cktp, optmsg) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:73:32: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sprintf(msg_p, " %s = %g: ", cv->TRCVvName[i], ~~ ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:76:32: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sprintf(msg_p, " %s = %g: ", cv->TRCVvName[i], ~~ ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:91:3: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] CKTnodName(ckt, ckt->CKTtroubleNode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:95:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] ckt->CKTtroubleElt->GENmodPtr->GENmodName, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:96:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] ckt->CKTtroubleElt->GENname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:101:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg = MALLOC(strlen(msg_buf)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 14 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttrunc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttrunc.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttrunc.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttrunc.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTtrunc(ckt,timeStep) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttyplk.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttyplk.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTtypelook(type) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//daskq.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//daskq.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DaskQuest(ckt,anal,which,value) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcoaskq.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcoaskq.c:10: /Users/pbulk/build/cad/spice/work/src/include/opdefs.h:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int DCOaskQuest(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcoaskq.c:11: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:285:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int DCOaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcoaskq.c:10: /Users/pbulk/build/cad/spice/work/src/include/opdefs.h:23:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int DCOsetParm(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcoaskq.c:11: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:286:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int DCOsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcoaskq.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCOaskQuest(ckt,anal,which,value) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcop.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcop.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcop.c:10: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcop.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCop(ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcop.c:19:9: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CKTload(); ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcosetp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcosetp.c:11: /Users/pbulk/build/cad/spice/work/src/include/opdefs.h:23:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int DCOsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/opdefs.h:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int DCOaskQuest(); ^ /Users/pbulk/build/cad/spice/work/src/include/opdefs.h:23:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int DCOsetParm(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//dcosetp.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCOsetParm(ckt,anal,which,value) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctaskq.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctaskq.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCTaskQuest(ckt,anal,which,value) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:10: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:11: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:12: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:13: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:12: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:13: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:15: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCtran(ckt,restart) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:72:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ckt->CKTtimePoints = NEWN(double, ckt->CKTtimeListSize); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:76:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ckt->CKTbreaks=(double *)MALLOC(2*sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:174:38: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ckt->CKTtimePoints = (double *) REALLOC( (char *) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ 12 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:7: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:8: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCtrCurv(ckt,restart) ^ 4 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctsetp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctsetp.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctsetp.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DCTsetParm(ckt,anal,which,value) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:11: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DISswap(a,b) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:30:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *a = (double *) MALLOC( sizeof(double) * size + 1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DmemAlloc(a,size) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:40:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *header = (double **) MALLOC( sizeof(double *)*size); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:36:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DstorAlloc(header,size) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:54:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DISTOan(ckt,restart) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:144:18: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = CKTdisto(ckt,D_SETUP); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:296:18: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = CKTdisto(ckt,D_RHSF1); /* sets up the RHS vector ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:306:10: warning: call to undeclared function 'NIdIter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error = NIdIter(ckt); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:321:18: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = CKTdisto(ckt,D_TWOF1); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:342:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = CKTdisto(ckt,D_THRF1); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:369:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = CKTdisto(ckt,D_RHSF2); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:388:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = CKTdisto(ckt,D_F1PF2); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:408:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = CKTdisto(ckt,D_F1MF2); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:427:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = CKTdisto(ckt,D_2F1MF2); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:442:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(nof2src)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:545:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DkerProc(D_TWOF1,*(job->r2H11stor + i), ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:564:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DkerProc(D_THRF1,*(job->r3H11stor + i), ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:585:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DkerProc(D_F1PF2,*(job->r2H12stor + i), ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:604:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DkerProc(D_F1MF2, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//distoan.c:624:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DkerProc(D_2F1MF2, ^ 25 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dkerproc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dkerproc.c:8: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dkerproc.c:13:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DkerProc(type,rPtr,iPtr,size,job) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S2v2F1(cxy, r1h1x, i1h1x, r1h1y, i1h1y) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:32:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S2i2F1(cxy, r1h1x, i1h1x, r1h1y, i1h1y) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:41:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S2v3F1(cxy, r1h1x, i1h1x, r1h1y, i1h1y, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:54:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S2i3F1(cxy, r1h1x, i1h1x, r1h1y, i1h1y, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:66:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S2vF12(cxy, r1h1x, i1h1x, r1h1y, i1h1y, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:77:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S2iF12(cxy, r1h1x, i1h1x, r1h1y, i1h1y, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:88:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S2v2F12(cxy, r1h1x, i1h1x, r1h1y, i1h1y, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:108:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S2i2F12(cxy, r1h1x, i1h1x, r1h1y, i1h1y, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:128:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S3v3F1(cxyz, r1h1x, i1h1x, r1h1y, i1h1y, r1h1z, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:141:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S3i3F1(cxyz, r1h1x, i1h1x, r1h1y, i1h1y, r1h1z, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:154:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S3v2F12(cxyz, r1h1x, i1h1x, r1h1y, i1h1y, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:173:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] S3i2F12(cxyz, r1h1x, i1h1x, r1h1y, i1h1y, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:194:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DFn2F1(cxx,cyy,czz,cxy,cyz,cxz, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:214:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DFi2F1(cxx,cyy,czz,cxy,cyz,cxz, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:234:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DFn3F1(cxx,cyy,czz,cxy,cyz,cxz,cxxx,cyyy,czzz,cxxy,cxxz,cxyy,cyyz,cxzz,cyzz,cxyz, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:268:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DFi3F1(cxx,cyy,czz,cxy,cyz,cxz,cxxx,cyyy,czzz,cxxy,cxxz,cxyy,cyyz,cxzz,cyzz,cxyz, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:302:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DFnF12(cxx,cyy,czz,cxy,cyz,cxz, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:325:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DFiF12(cxx,cyy,czz,cxy,cyz,cxz, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:348:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DFn2F12(p) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:462:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DFi2F12(p) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:571:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] D1n2F1(cxx, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:586:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] D1n3F1(cxx,cxxx, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:603:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] D1nF12(cxx, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:621:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] D1n2F12(cxx,cxxx, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:648:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] D1i2F1(cxx, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:664:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] D1i3F1(cxx,cxxx, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:681:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] D1iF12(cxx, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dloadfns.c:699:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] D1i2F12(cxx,cxxx, ^ 28 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DsetParm(ckt,anal,which,value) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:27:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = copy("Frequency of 0 is invalid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:37:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = copy("Frequency of 0 is invalid"); ^ 5 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//naskq.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//naskq.c:11: /Users/pbulk/build/cad/spice/work/src/include/noisedef.h:126:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int NaskQuest(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//naskq.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NaskQuest(ckt,anal,which,value) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//nevalsrc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//nevalsrc.c:22: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//nevalsrc.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NevalSrc (noise, lnNoise, ckt, type, node1, node2, param) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//ninteg.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ninteg.c:24: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//ninteg.c:28:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Nintegrate (noizDens, lnNdens, lnNlstDens, data) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:22: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NOISEan (ckt, restart) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:55:47: warning: incompatible pointer types passing 'char **' to parameter of type 'GENERIC **' (aka 'void **') [-Wincompatible-pointer-types] error = CKTfndDev((GENERIC*)ckt,&code,&inst, ^~~~~ /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:236:44: note: passing argument to parameter here int CKTfndDev( GENERIC *, int *, GENERIC **, IFuid , GENERIC *, IFuid ); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:58:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(noacinput)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:66:47: warning: incompatible pointer types passing 'char **' to parameter of type 'GENERIC **' (aka 'void **') [-Wincompatible-pointer-types] error = CKTfndDev((GENERIC*)ckt,&code,&inst, ^~~~~ /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:236:44: note: passing argument to parameter here int CKTfndDev( GENERIC *, int *, GENERIC **, IFuid , GENERIC *, IFuid ); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:76:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(noacinput)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:112:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data = (Ndata*)MALLOC(sizeof(Ndata)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:125:17: warning: call to undeclared function 'CKTnoise'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error = CKTnoise(ckt,N_DENS,N_OPEN,data); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:232:2: warning: call to undeclared function 'NInzIter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NInzIter(ckt,posOutNode,negOutNode); /* solve the adjoint system */ ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:238:10: warning: call to undeclared function 'CKTnoise'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error = CKTnoise(ckt,N_DENS,N_CALC,data); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//noisean.c:261:13: warning: call to undeclared function 'CKTnoise'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error = CKTnoise(ckt,N_DENS,N_CLOSE,data); ^ 14 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:54:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = copy("Frequency of 0 is invalid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:64:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = copy("Frequency of 0 is invalid"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:11: /Users/pbulk/build/cad/spice/work/src/include/noisedef.h:125:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int NsetParm(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NsetParm(ckt,anal,which,value) ^ 6 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:11: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PZan(ckt,reset) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PZinit(ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:97:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERROR(E_XMISSIONLINE, "Transmission lines not supported") ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:54:11: note: expanded from macro 'ERROR' errMsg = MALLOC(strlen(MESSAGE) + 1); \ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:105:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERROR(E_SHORT, "Input is shorted") ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:54:11: note: expanded from macro 'ERROR' errMsg = MALLOC(strlen(MESSAGE) + 1); \ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:108:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERROR(E_SHORT, "Output is shorted") ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:54:11: note: expanded from macro 'ERROR' errMsg = MALLOC(strlen(MESSAGE) + 1); \ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:113:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERROR(E_INISOUT, "Transfer function is unity") ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:54:11: note: expanded from macro 'ERROR' errMsg = MALLOC(strlen(MESSAGE) + 1); \ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:117:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERROR(E_INISOUT, "Transfer function is -1") ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:54:11: note: expanded from macro 'ERROR' errMsg = MALLOC(strlen(MESSAGE) + 1); \ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:127:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PZpost(ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:139:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] namelist = (IFuid *) MALLOC((pzan->PZnPoles ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzan.c:141:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_list = (IFcomplex *)MALLOC((pzan->PZnPoles ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 17 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzaskq.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzaskq.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PZaskQuest(ckt,anal,which,value) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzaskq.c:73:51: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] if( ((PZAN*)anal)->PZwhich == PZ_DO_POLES | PZ_DO_ZEROS) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzaskq.c:73:51: note: place parentheses around the '==' expression to silence this warning if( ((PZAN*)anal)->PZwhich == PZ_DO_POLES | PZ_DO_ZEROS) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzaskq.c:73:51: note: place parentheses around the | expression to evaluate it first if( ((PZAN*)anal)->PZwhich == PZ_DO_POLES | PZ_DO_ZEROS) { ~~~~~~~~~~~~^~~~~~~~~~~~~ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzsetp.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//pzsetp.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PZsetParm(ckt,anal,which,value) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//sensaskq.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//sensaskq.c:10: /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:69:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern SENSask( ); ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:70:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern SENSsetParam( ); ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:71:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern sens_sens( ); ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:69:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern SENSask( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//sensaskq.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SENSask(ckt,anal,which,value) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//senssetp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//senssetp.c:10: /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:69:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern SENSask( ); ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:70:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern SENSsetParam( ); ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:71:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern sens_sens( ); ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:70:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern SENSsetParam( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//senssetp.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SENSsetParam(ckt,anal,which,value) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfanal.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfanal.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfanal.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfanal.c:15: /Users/pbulk/build/cad/spice/work/src/include/tfdefs.h:35:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TFsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/tfdefs.h:36:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TFaskQuest(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfanal.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TFanal(ckt,restart) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfanal.c:119:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MALLOC(sizeof(char)*(strlen(((TFan*)ckt->CKTcurJob)->TFoutName)+22)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfaskq.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfaskq.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TFaskQuest(ckt,anal,which,value) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfsetp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfsetp.c:10: /Users/pbulk/build/cad/spice/work/src/include/tfdefs.h:35:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TFsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/tfdefs.h:36:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TFaskQuest(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfsetp.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfsetp.c:10: /Users/pbulk/build/cad/spice/work/src/include/tfdefs.h:35:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TFsetParm(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//tfsetp.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TFsetParm(ckt,anal,which,value) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//tranaskq.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tranaskq.c:10: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tranaskq.c:11: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tranaskq.c:10: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//tranaskq.c:11: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//tranaskq.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRANaskQuest(ckt,anal,which,value) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//traninit.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//traninit.c:7: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//traninit.c:16:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] TRANinit(ckt,job) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//traninit.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//transetp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//transetp.c:10: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//transetp.c:11: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//transetp.c:10: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//transetp.c:11: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//transetp.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRANsetParm(ckt,anal,which,value) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:6: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:8: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/devdefs.h:12: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * SPerror( int ); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:14: /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:69:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern SENSask( ); ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:70:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern SENSsetParam( ); ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:71:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern sens_sens( ); ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:50:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sens_sens(ckt, restart) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:109:12: warning: call to undeclared function 'count_steps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] nfreqs = count_steps(sen_info->step_type, sen_info->start_freq, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:138:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delta_I = NEWN(double, size); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:139:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delta_iI = NEWN(double, size); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:141:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delta_I_delta_Y = NEWN(double, size); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:142:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delta_iI_delta_Y = NEWN(double, size); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:146:22: warning: passing arguments to 'sgen_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (sg = sgen_init(ckt, is_dc); sg; sgen_next(&sg)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:146:49: warning: passing arguments to 'sgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (sg = sgen_init(ckt, is_dc); sg; sgen_next(&sg)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:154:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] output_names = NEWN(IFuid, num_vars); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:155:22: warning: passing arguments to 'sgen_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (sg = sgen_init(ckt, is_dc); sg; sgen_next(&sg)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:155:49: warning: passing arguments to 'sgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (sg = sgen_init(ckt, is_dc); sg; sgen_next(&sg)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:158:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->instance->GENname, ^~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:163:28: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sprintf(namebuf, "%s", sg->instance->GENname); ~~ ^~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:166:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->instance->GENname, ^~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:195:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] output_values = NEWN(double, num_vars); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:199:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] output_cvalues = NEWN(IFcomplex, num_vars); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:266:12: warning: call to undeclared function 'CKTunsetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error = CKTunsetup(ckt); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:310:22: warning: passing arguments to 'sgen_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (sg = sgen_init(ckt, is_dc /* sen_info->plist */); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:311:17: warning: passing arguments to 'sgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sg; sgen_next(&sg)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:350:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*fn)(delta_Y, sg->model, ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:359:20: warning: passing arguments to 'sens_temp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sens_temp(sg, ckt); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:364:17: warning: passing arguments to 'sens_load' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (sens_load(sg, ckt, is_dc)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:399:13: warning: passing arguments to 'sens_setp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sens_setp(sg, ckt, &nvalue); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:403:4: warning: call to undeclared function 'spConstMult'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] spConstMult(delta_Y, -1.0); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:420:20: warning: passing arguments to 'sens_temp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sens_temp(sg, ckt); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:433:13: warning: passing arguments to 'sens_load' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sens_load(sg, ckt, is_dc); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:449:13: warning: passing arguments to 'sens_setp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sens_setp(sg, ckt, &value); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:450:20: warning: passing arguments to 'sens_temp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sens_temp(sg, ckt); /* XXX is this necessary? */ ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:553:3: warning: call to undeclared function 'OUTpData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] OUTpData(sen_data, &value, &nvalue); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:554:18: warning: passing arguments to 'inc_freq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freq = inc_freq(freq, sen_info->step_type, step_size); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:14: /Users/pbulk/build/cad/spice/work/src/include/sensdefs.h:71:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern sens_sens( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:50:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sens_sens(ckt, restart) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:48:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double inc_freq( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:588:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inc_freq(freq, type, step_size) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:602:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_freq(type, freq, stepsize) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:626:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_steps(type, low, high, steps, stepsize) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:692:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = (*fn)(sg->model, ckt); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:677:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sens_load(sg, ckt, is_dc) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:712:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = (*fn)(sg->model, ckt); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:701:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sens_temp(sg, ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:735:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = (*fn)(ckt, sg->instance, pid, val, NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:742:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = (*fn)(ckt, sg->model, pid, val, NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:751:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->model->GENmodName, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:752:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->instance->GENname, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:757:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->model->GENmodName, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:758:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->instance->GENname, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:30:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int sens_getp( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:721:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sens_getp(sg, ckt, val) ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:781:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = (*fn)(pid, val, sg->instance, NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:788:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error = (*fn)(pid, val, sg->model); ^ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:797:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->model->GENmodName, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:798:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->instance->GENname, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:803:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->model->GENmodName, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:804:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] sg->instance->GENname, ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsens.c:767:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sens_setp(sg, ckt, val) ^ 63 warnings generated. `recursive' not remade because of errors. Making "all" in cp gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:35:20: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] realw = wl_copy(cp_lastone->hi_wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:47:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(cp_lastone->hi_wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:48:39: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_lastone->hi_wlist = wl_copy(comm); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:50:25: warning: passing arguments to 'asubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = asubst(comm); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:55:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(comm); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:59:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(comm); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:84:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(cp_lastone->hi_wlist); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:21:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_doalias(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_doalias(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:112:30: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_histsubst(wl_copy(al->al_text)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:112:22: warning: passing arguments to 'cp_histsubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_histsubst(wl_copy(al->al_text)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:116:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(cp_lastone->hi_wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:117:39: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_lastone->hi_wlist = wl_copy(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:121:29: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w->wl_next = wl_copy(wlist->wl_next); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:95:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] asubst(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:137:15: warning: passing arguments to 'cp_unalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_unalias(word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:138:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_ALIASES, word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:141:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] al = cp_aliases = alloc(struct alias); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:155:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] al->al_next = alloc(struct alias); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:161:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_aliases = alloc(struct alias); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:168:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] al->al_name = copy(word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:169:26: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] al->al_text = wl_copy(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:170:17: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_striplist(al->al_text); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:175:15: warning: passing arguments to 'cp_addcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addcomm(word, (long) 1, (long) 1, (long) 1, (long) 1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_setalias(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:131:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_setalias(word, wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:188:16: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remkword(CT_ALIASES, word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:202:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(al->al_text); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:203:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(al->al_name); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:204:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(al); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:205:15: warning: passing arguments to 'cp_remcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remcomm(word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_unalias(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:183:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_unalias(word) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:219:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(al->al_text, cp_out); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_paliases(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:210:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_paliases(word) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:16:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_alias(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:228:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_alias(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:249:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(al->al_text); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:250:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(al->al_name); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:251:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(al); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_unalias(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:241:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_unalias(wl) ^ 46 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:49:29: warning: passing arguments to 'backeval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(nwl = backeval(buf))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:57:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(nwl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:59:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:61:23: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = wl_splice(wl, nwl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:65:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:66:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(buf); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:26:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_bquote(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_bquote(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:88:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern FILE *popen( ); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:100:18: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_lexer((char *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:81:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backeval(string) ^ 14 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:99:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = cp_unquote(copy(buf)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:99:21: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = cp_unquote(copy(buf)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:100:14: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_wstrip(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:102:21: warning: passing arguments to 'getccom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cc = getccom(wlist->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:105:24: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg = wl_length(wlist) - 2; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:110:31: warning: passing arguments to 'ccfilec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pmatches = ccfilec(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:121:28: warning: passing arguments to 'ccmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] a = ccmatch(buf, &keywords[j]); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:124:41: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pmatches = wl_append(pmatches, a); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:129:16: warning: passing arguments to 'wl_sort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_sort(pmatches); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:131:27: warning: passing arguments to 'ccmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pmatches = ccmatch(buf, &commands); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:135:16: warning: passing arguments to 'printem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printem(pmatches); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:136:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(pmatches); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:166:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(pmatches); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_ccom(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:89:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccom(wlist, buf, esc) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:198:20: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (clookup(first, &commands, false, false)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:176:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getccom(first) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:213:15: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = copy(buf); /* Don't mangle anything... */ ^ /Users/pbulk/build/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()) { ~~~^~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:221:23: note: place parentheses around the assignment to silence this warning while (pw = getpwent()) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:221:23: note: use '==' to turn this assignment into an equality comparison while (pw = getpwent()) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:222:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix(buf, pw->pw_name)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:224:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:229:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:234:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(pw->pw_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:245:32: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir = cp_tildexpand(dir); ^ /Users/pbulk/build/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)) ~~~^~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:252:15: note: place parentheses around the assignment to silence this warning while (de = readdir(wdir)) ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:252:15: note: use '==' to turn this assignment into an equality comparison while (de = readdir(wdir)) ^ == /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:253:20: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((prefix(lcomp, de->d_name)) && (*lcomp || ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:256:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:261:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:266:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(de->d_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:270:12: warning: passing arguments to 'wl_sort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_sort(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:204:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ccfilec(buf) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:287:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cc = clookup(word, dbase, true, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:290:24: warning: passing arguments to 'cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cctowl(cc, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:292:24: warning: passing arguments to 'cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cctowl(cc, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:280:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ccmatch(word, dbase) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:313:20: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] num = wl_length(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:330:35: warning: passing arguments to 'wl_nthelem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_nthelem(j, wl)->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:303:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printem(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:360:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:361:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(cc->cc_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:351:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cctowl(cc, sib) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:40:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_cctowl(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:384:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_cctowl(stuff) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_ccon(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:393:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccon(on) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:474:33: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (word && *word && clookup(word, &commands, false, false)) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool cp_comlook(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:471:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_comlook(word) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:489:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cc = clookup(word, &commands, false, true); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:33:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_addcomm(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:483:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addcomm(word, bits0, bits1, bits2, bits3) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:506:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cc = clookup(word, &commands, false, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:508:16: warning: passing arguments to 'cdelete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cdelete(cc); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_remcomm(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:501:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remcomm(word) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:526:16: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] word = copy(word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:527:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cc = clookup(word, &keywords[class], false, true); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_addkword(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:515:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(class, word) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:545:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cc = clookup(word, &keywords[class], false, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:547:16: warning: passing arguments to 'cdelete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cdelete(cc); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_remkword(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:535:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remkword(class, word) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:32:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cp_kwswitch(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:557:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_kwswitch(class, tree) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_ccrestart(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:577:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccrestart(kwords) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:592:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dbase); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:585:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] throwaway(dbase) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:621:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *dd = place = alloc(struct ccom); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:625:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place->cc_name = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:639:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place->cc_sibling = alloc(struct ccom); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:644:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place->cc_name = tmalloc(ind + 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:655:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpc = alloc(struct ccom); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:668:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place->cc_name = tmalloc(ind + 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:686:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpc = alloc(struct ccom); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:691:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place->cc_name = tmalloc(ind + 3); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:603:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clookup(word, dd, pref, create) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:716:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cdelete(node) ^ 88 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:89:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *getwd(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:94:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *getcwd( ); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *sbrk(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: error: conflicting types for 'sbrk' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:584:7: note: previous declaration is here void *sbrk(int); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int kill(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:79:21: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_lexer(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:87:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pwlist(wlist, "Initial parse"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:89:25: warning: passing arguments to 'cp_histsubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_histsubst(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:92:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pwlist(wlist, "After history substitution"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:94:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(wlist, stdout); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:100:22: warning: passing arguments to 'cp_addhistent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addhistent(cp_event - 1, wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:102:23: warning: passing arguments to 'cp_doalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_doalias(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:103:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pwlist(wlist, "After alias substitution"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:112:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pwlist(wlist, "Returning "); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:61:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_parse(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:74:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_parse(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:117:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pwlist(wlist, name) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:146:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fputs(cp_unquote(wlist->wl_word), cp_out); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_echo(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:135:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_echo(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:188:41: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpfp = fopen(cp_unquote(w->wl_word), "r"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:206:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(bt); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:245:27: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_unquote(w->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:246:43: warning: passing arguments to 'fileexists' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_noclobber && fileexists(s)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:272:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(bt); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:280:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error: wl_free(wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:60:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_redirect(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:160:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_redirect(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:317:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileexists(name) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:347:16: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccon(false); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:359:19: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com = wl_flatten(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:369:26: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] r = wait((union wait *) NULL); ^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/wait.h:248:19: note: passing argument to parameter here pid_t wait(int *) __DARWIN_ALIAS_C(wait); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_shell(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:332:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_shell(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:427:18: warning: passing arguments to 'cp_rehash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_rehash(s, true); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_rehash(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:416:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_rehash(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:440:27: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct passwd *getpwuid( ); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:463:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:480:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/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))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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))) ^ ( ) /Users/pbulk/build/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))) ^ == In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_chdir(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:435:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_chdir(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:515:20: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s1 = cp_unquote(wl->wl_next->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:516:20: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s2 = cp_unquote(wl->wl_next->wl_next->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:520:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset(var, VT_NUM, (char *) &i); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_strcmp(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:508:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_strcmp(wl) ^ 50 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:113:27: warning: passing arguments to 'getcommand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = getcommand(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:145:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cend[stackp]->co_next = alloc(struct control); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:152:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] control[stackp] = cend[stackp] = alloc(struct control); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:163:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newblock; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' #define newblock cend[stackp]->co_children = alloc(struct control); \ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:171:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newblock; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' #define newblock cend[stackp]->co_children = alloc(struct control); \ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:180:42: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_doglob(wl_copy(wlist)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:180:34: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_doglob(wl_copy(wlist)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:179:51: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_variablesubst(cp_bquote( ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:179:41: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_variablesubst(cp_bquote( ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:183:33: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = ft_numparse(&s, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:196:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newblock; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' #define newblock cend[stackp]->co_children = alloc(struct control); \ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:204:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newblock; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' #define newblock cend[stackp]->co_children = alloc(struct control); \ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:210:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(wlist->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:215:30: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_doglob(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:216:44: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cend[stackp]->co_text = wl_copy(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:217:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newblock; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' #define newblock cend[stackp]->co_children = alloc(struct control); \ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:221:48: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cend[stackp]->co_text = wl_copy(wlist->wl_next); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:223:28: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_LABEL, wlist->wl_next->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:236:48: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cend[stackp]->co_text = wl_copy(wlist->wl_next); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:245:52: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cend[stackp]->co_numtimes = scannum(wlist-> ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:256:52: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cend[stackp]->co_numtimes = scannum(wlist-> ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:273:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(x); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:278:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(x); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:306:28: warning: passing arguments to 'doblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = doblock(x, &nn); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:319:38: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x = findlabel(i, ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:68:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int cp_evloop(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:98:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_evloop(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:362:40: warning: passing arguments to 'cp_istrue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (bl->co_cond && cp_istrue(bl->co_cond)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:389:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cn = findlabel(i, bl->co_children); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:425:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cn = findlabel(i, bl->co_children); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:430:42: warning: passing arguments to 'cp_istrue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } while (bl->co_cond && cp_istrue(bl->co_cond)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:464:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cn = findlabel(i, bl->co_children); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:473:37: warning: passing arguments to 'cp_istrue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (bl->co_cond && cp_istrue(bl->co_cond)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:478:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cn = findlabel(i, ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:492:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cn = findlabel(i, ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:505:63: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:505:55: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:505:45: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:505:35: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:507:20: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset(bl->co_foreachvar, VT_STRING, ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:535:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cn = findlabel(i, bl->co_children); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:565:24: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_copy(bl->co_text)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:564:50: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_variablesubst(cp_bquote(cp_doglob( ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:564:40: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_variablesubst(cp_bquote(cp_doglob( ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:564:30: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_variablesubst(cp_bquote(cp_doglob( ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:573:26: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] docommand(wl_copy(bl->co_text)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:573:18: warning: passing arguments to 'docommand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] docommand(wl_copy(bl->co_text)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:350:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doblock(bl, num) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:591:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findlabel(s, ct) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:613:23: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_kwswitch(CT_LABEL, (char *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:676:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(wlist, stdout); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:683:29: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_variablesubst(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:684:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pwlist(wlist, "After variable substitution"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:686:22: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_bquote(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:687:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pwlist(wlist, "After backquote substitution"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:689:22: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_doglob(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:690:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pwlist(wlist, "After globbing"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:720:38: warning: passing arguments to 'cp_redirect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(wlist = cp_redirect(wlist))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:727:21: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_striplist(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:743:46: warning: passing arguments to 'cp_oddcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_coms[i].co_func && cp_oddcomm(s, wlist->wl_next)) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:748:43: warning: passing arguments to 'cp_unixcom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_dounixcom && cp_unixcom(wlist)) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:768:30: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lcom = wl_flatten(wlist->wl_next); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:769:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*command->co_func) (lcom); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:773:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*command->co_argfn) (wlist->wl_next, command); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:780:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*command->co_func) (wlist->wl_next); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:792:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(rwlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:664:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] docommand(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:832:21: warning: passing arguments to 'cp_parse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_parse(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:836:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(wlist, stdout); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:806:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getcommand(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:845:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pwlist(wlist, name) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:871:15: warning: passing arguments to 'dodump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dodump(c); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_cdump(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:864:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_cdump(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:891:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(cc->co_text, cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:897:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(cc->co_cond, cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:923:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(cc->co_cond, cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:935:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(cc->co_cond, cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:947:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(cc->co_text, cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:878:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dodump(cc) ^ 89 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:66:23: warning: passing arguments to 'bracexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w = bracexpand(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:71:24: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = wl_splice(wl, w); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:81:30: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_tildexpand(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:97:20: warning: passing arguments to 'noglobs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (noglobs(wl->wl_word)) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:99:23: warning: passing arguments to 'globexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w = globexpand(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:102:24: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = wl_splice(wl, w); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:87:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_doglob(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:57:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_doglob(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:119:15: warning: passing arguments to 'brac1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = brac1(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:124:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w->wl_word = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:125:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bracexpand(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:143:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] words = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:144:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] words->wl_word = tmalloc(BSIZE_SP); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:150:24: warning: passing arguments to 'brac2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = brac2(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:169:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nw = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:172:42: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nw->wl_word = tmalloc(BSIZE_SP); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:175:38: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newwl = wl_append(newwl, nw); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:177:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(words); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:181:24: warning: passing arguments to 'appendc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] appendc(wl->wl_word, *s); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:136:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] brac1(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:223:26: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = wl_append(wlist, nwl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:191:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] brac2(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:253:20: warning: passing arguments to 'pcanon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = pcanon(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:257:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] poss[0] = copy(DIR_PATHSEP); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:259:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] poss[0] = copy(DIR_CWD); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:273:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:274:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:284:29: warning: passing arguments to 'cp_globmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_globmatch(buf, de->d_name)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:294:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] poss[j] = tmalloc(BSIZE_SP); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:299:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(poss[i]); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:304:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:305:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:350:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:353:34: warning: passing arguments to 'pcanon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(pcanon(poss[i])); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:353:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(pcanon(poss[i])); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:354:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] if (((int) poss[i]) % 2) ^~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:356:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(poss[i]); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:369:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(poss[i]); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:237:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] globexpand(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:389:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = p = tmalloc(strlen(string) + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:384:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcanon(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:414:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sortcmp(s1, s2) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:441:26: warning: passing arguments to 'tilde_expand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = tilde_expand(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:445:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return copy(string); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:78:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cp_tildexpand(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:436:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_tildexpand(string) ^ /Users/pbulk/build/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++) { ~~~^~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:488:23: note: place parentheses around the assignment to silence this warning while (bc = *p++) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:488:23: note: use '==' to turn this assignment into an equality comparison while (bc = *p++) { ^ == In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool cp_globmatch(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:457:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_globmatch(p, s) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:524:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] noglobs(string) ^ 54 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:61:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wlist->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:62:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:69:29: warning: passing arguments to 'dohsubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = dohsubst(s + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:75:44: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf(buf, "%.*s%s", s - b, b, ~~^~ ~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:77:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(n->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:78:38: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:80:32: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = wl_splice(w, n); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:99:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_histsubst(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:49:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_histsubst(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:114:45: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = getevent(cp_event - scannum(++string)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:114:26: warning: passing arguments to 'getevent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = getevent(cp_event - scannum(++string)); ^ /Users/pbulk/build/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, '?')) ~~^~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:123:19: note: place parentheses around the assignment to silence this warning if (s = index(buf, '?')) ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:123:19: note: use '==' to turn this assignment into an equality comparison if (s = index(buf, '?')) ^ == /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:125:26: warning: passing arguments to 'hpattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = hpattern(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:129:32: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (wl_copy(wl)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:133:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:134:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy("!"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:142:38: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = getevent(scannum(string)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:142:30: warning: passing arguments to 'getevent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = getevent(scannum(string)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:164:33: warning: passing arguments to 'hprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = hprefix(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:174:34: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = dohmod(&string, wl_copy(wl)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:174:17: warning: passing arguments to 'dohmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = dohmod(&string, wl_copy(wl)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:181:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:182:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:96:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dohsubst(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:199:25: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] numwords = wl_length(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:231:34: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eventhi = scannum(*string + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:240:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(wl, cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:245:25: warning: passing arguments to 'dohs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = dohs(*string + 1, w->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:247:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(w->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:266:24: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = scannum(*string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:281:38: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eventhi = scannum(++*string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:280:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:290:18: warning: passing arguments to 'wl_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = wl_range(wl, eventlo, eventhi); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:291:25: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] numwords = wl_length(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:188:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dohmod(string, wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:312:26: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substring(buf, wl->wl_word)) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:300:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hpattern(buf) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:329:35: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (hi->hi_wlist && prefix(buf, hi->hi_wlist->wl_word)) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:319:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hprefix(buf) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:347:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_lastone = histlist = alloc(struct histent); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:350:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_lastone->hi_next = alloc(struct histent); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:356:35: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_lastone->hi_wlist = wl_copy(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:358:13: warning: passing arguments to 'freehist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freehist(histlength - cp_maxhistlength); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_addhistent(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:341:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addhistent(event, wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:380:20: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (wl_copy(hi->hi_wlist)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:369:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getevent(num) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:401:25: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(hi->hi_wlist, cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:410:25: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(hi->hi_wlist, cp_out); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_hprint(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:388:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_hprint(eventhi, eventlo, rev) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:438:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(hi->hi_wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:440:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(hi->hi_prev); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:442:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(hi->hi_wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:443:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(hi); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:422:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freehist(num) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:457:15: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pat = copy(pat); /* Don't want to mangle anything. */ ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:470:37: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*str == *pat) && prefix(pat, str) && (ok == false)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:480:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (copy(buf)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:450:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dohs(pat, str) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_history(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:488:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_history(wl) ^ 65 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:24:36: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] response->reply.ch = inchar(request->fp); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Input(request, response) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:86:16: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccon(true); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:94:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cw = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:104:22: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = input(cp_inp_cur); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:125:49: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = quote(string ? *string++ : input(cp_inp_cur)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:135:31: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (((c = input(cp_inp_cur)) != '\n') && ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:149:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newword; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' #define newword cw->wl_word = copy(buf); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:149:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' cw->wl_next = alloc(struct wordlist); \ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:156:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cw->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:159:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(cw); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:167:26: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] input(cp_inp_cur))) != '\'') ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:183:53: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (((c = (string ? *string++ : input(cp_inp_cur))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:190:34: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] input(cp_inp_cur)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:218:24: warning: passing arguments to 'cp_ccom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccom(wlist, buf, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:219:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:248:24: warning: passing arguments to 'cp_ccom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccom(wlist, buf, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:249:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:254:3: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newword; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' #define newword cw->wl_word = copy(buf); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:254:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' cw->wl_next = alloc(struct wordlist); \ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:263:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newword; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' #define newword cw->wl_word = copy(buf); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:263:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' cw->wl_next = alloc(struct wordlist); \ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:270:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newword; ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' #define newword cw->wl_word = copy(buf); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:270:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' cw->wl_next = alloc(struct wordlist); \ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:110:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_lexer(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:73:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_lexer(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:335:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] i = read((int) fileno(fp), &c, 1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:111:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int inchar(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:324:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inchar(fp) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:358:10: warning: passing arguments to 'Input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Input(&request, &response); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:349:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int input(fp) ^ 32 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:22:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *s, *getenv(); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:27:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset("history", VT_NUM, (char *) &cp_maxhistlength); ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:55:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("nomoremode", VT_BOOL, (char *) &moremode)) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:80:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_getvar("width", VT_NUM, (char *) &xsize); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:82:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_getvar("height", VT_NUM, (char *) &ysize); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:120:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fbufputc(c) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:128:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void out_send(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(string) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:126:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void out_printf(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:226:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf(fmt, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:237:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] term_clear( ) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:241:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tputs(clear_chars, 1, outfn); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:247:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] term_home( ) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:251:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tputs(home_chars, 1, outfn); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:253:8: warning: call to undeclared function 'tgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tputs(tgoto(motion_chars, 1, 1), 1, outfn); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:259:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] term_cleol( ) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:263:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tputs(cleol_chars, 1, outfn); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:268:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outfn(c) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:275:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tcap_init( ) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:287:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (tgetent(tbuf, s) != -1) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:288:14: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xsize = tgetnum("co"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:292:29: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] clear_chars = (char *) tgetstr("cl", &charbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:292:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] clear_chars = (char *) tgetstr("cl", &charbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:293:21: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] motion_chars = (char *) tgetstr("cm", &charbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:294:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] home_chars = (char *) tgetstr("ho", &charbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:295:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] cleol_chars = (char *) tgetstr("ce", &charbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/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) { ~~^~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:26:11: note: place parentheses around the assignment to silence this warning while (c = *str) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:26:11: note: use '==' to turn this assignment into an equality comparison while (c = *str) { ^ == In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_wstrip(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_wstrip(str) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_quoteword(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:38:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_quoteword(str) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_printword(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:52:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_printword(string, fp) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_striplist(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:67:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_striplist(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:86:10: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = copy(string); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:132:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cp_unquote(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:80:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_unquote(string) ^ 15 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//spawn.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//std.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//std.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//std.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//std.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ 3 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:89:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *getwd(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:94:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *getcwd( ); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *sbrk(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: error: conflicting types for 'sbrk' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:584:7: note: previous declaration is here void *sbrk(int); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int kill(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:77:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(hh); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:106:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curpath = copy(buf); ^ /Users/pbulk/build/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)) { ~~~~~~^~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:109:22: note: place parentheses around the assignment to silence this warning while (entry = readdir(pdir)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:109:22: note: use '==' to turn this assignment into an equality comparison while (entry = readdir(pdir)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:117:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hh = alloc(struct hashent); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:118:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hh->h_name = copy(entry->d_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:120:21: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = hash(entry->d_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:133:27: warning: passing arguments to 'cp_addcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addcomm(entry->d_name, (long) 0, (long) 0, (long) 0, ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_rehash(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:60:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_rehash(pathlist, docc) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:157:20: warning: passing arguments to 'wl_mkvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv = wl_mkvec(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:160:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(wl, stdout); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:164:24: warning: passing arguments to 'tryexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (tryexec(name, argv)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:165:13: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = hash(name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:169:24: warning: passing arguments to 'tryexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (tryexec(buf, argv)) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:145:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool cp_unixcom(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:145:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_unixcom(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:191:2: warning: call to undeclared function 'fixdescriptors'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fixdescriptors(); ^ /Users/pbulk/build/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); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/wait.h:248:19: note: passing argument to parameter here pid_t wait(int *) __DARWIN_ALIAS_C(wait); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:177:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tryexec(name, argv) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:214:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash(str) ^ 27 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:7: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:8: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:45:42: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcpy(buf, cp_unquote(var->va_string)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:65:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:67:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(buf); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:164:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_varwl(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_varwl(var) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:85:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] varname = cp_unquote(varname); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:95:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:96:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->va_name = copy(varname); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:102:22: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remvar(varname); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:117:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->va_string = copy(value); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:149:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_promptstring = copy(v->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:160:26: warning: passing arguments to 'cp_usrset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (i = cp_usrset(v, true)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:216:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(v); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_vset(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:74:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset(varname, type, value) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:238:26: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:242:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:243:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_name = copy(name); ^ /Users/pbulk/build/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, '=')) { ~~^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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, '=')) { ^ ( ) /Users/pbulk/build/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, '=')) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:279:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] val = cp_unquote(val); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:293:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:295:32: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ss = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:296:33: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] td = ft_numparse(&ss, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:302:41: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_string = copy(ss); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:316:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:317:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_name = copy(name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:327:24: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ss = cp_unquote(val); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:328:25: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] td = ft_numparse(&ss, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:329:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:330:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_name = copy(name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:339:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_string = copy(val); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:165:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct variable *cp_setparse(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:228:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_setparse(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:360:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:384:26: warning: passing arguments to 'cp_usrset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (i = cp_usrset(v, false)) { ^ /Users/pbulk/build/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 /Users/pbulk/build/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 /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:426:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(u); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:436:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(v); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_remvar(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:346:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remvar(varname) ^ 51 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/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)) { ~~^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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)) { ^ ( ) /Users/pbulk/build/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)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:66:26: warning: passing arguments to 'vareval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = vareval(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:71:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(nwl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:73:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:76:36: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:78:33: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(wl = wl_splice(wl, nwl))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:86:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:87:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(buf); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:163:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *cp_variablesubst(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:42:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_variablesubst(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:106:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *oldstring = copy(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:110:14: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_wstrip(string); ^ /Users/pbulk/build/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, '[')) { ~~^~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:111:11: note: place parentheses around the assignment to silence this warning if (s = index(string, '[')) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:111:11: note: use '==' to turn this assignment into an equality comparison if (s = index(string, '[')) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:119:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:126:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:138:22: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_lexer(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:141:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(""); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:145:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:152:26: warning: passing arguments to 'cp_enqvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = cp_enqvar(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:153:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(v ? "1" : "0"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:157:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:164:26: warning: passing arguments to 'cp_enqvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = cp_enqvar(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:176:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:180:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:182:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy("$"); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:202:22: warning: passing arguments to 'cp_enqvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = cp_enqvar(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:205:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:207:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:214:18: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_varwl(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:224:27: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] up = wl_length(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:228:22: warning: passing arguments to 'wl_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = wl_range(wl, low, up); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:168:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wordlist *vareval(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:100:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vareval(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:251:15: warning: passing arguments to 'cp_usrvars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_usrvars(&uv1, &uv2); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:260:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vars = (struct xxx *) tmalloc(sizeof (struct xxx) * i); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:285:18: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:287:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%c %s\t", vars[j].x_char, v->va_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:289:27: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = wl_flatten(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:291:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("( %s )\n", s); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:293:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n", s); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:297:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(vars); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/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)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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)) ^ ( ) /Users/pbulk/build/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)) ^ == /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:302:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vcmp(v1, v2) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:330:23: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vars = cp_setparse(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:351:16: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset(vars->va_name, vars->va_type, s); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:157:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_set(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:320:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_set(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:367:22: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remvar(var->va_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:373:18: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remvar(name); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:158:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_unset(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:358:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_unset(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:396:22: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] num = scannum(wl->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:159:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_shift(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:384:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_shift(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:458:31: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_unquote(v->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:459:26: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_wstrip(s); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool cp_getvar(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:425:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_getvar(name, type, retval) ^ 67 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:62:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int wl_length(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_length(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:41:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:42:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wl); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void wl_free(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:34:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:57:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nwl = w = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:61:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w->wl_next = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:66:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w->wl_word = copy(wl->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *wl_copy(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:50:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_copy(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:90:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(elt->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:91:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(elt); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:72:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *wl_splice(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:76:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_splice(elt, list) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:105:21: warning: passing arguments to 'cp_printword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_printword(wl->wl_word, fp); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void wl_print(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:98:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(wlist, fp) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:121:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cwl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:129:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cwl->wl_word = copy(*v); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *wl_build(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:115:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_build(v) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:144:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = (char **) tmalloc((len + 1) * sizeof (char **)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:146:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v[i] = copy(wl->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:60:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char **wl_mkvec(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:137:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_mkvec(wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:66:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *wl_append(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:156:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_append(wlist, nwl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:71:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *wl_reverse(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:173:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_reverse(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:200:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = tmalloc(i + 1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:61:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *wl_flatten(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:191:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_flatten(wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:70:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *wl_nthelem(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:217:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_nthelem(i, wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:240:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stuff = (char **) tmalloc(i * sizeof (char *)); ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:246:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(stuff); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void wl_sort(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:229:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_sort(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:251:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlcomp(s, t) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:277:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:278:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wl); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern wordlist *wl_range(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:260:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_range(wl, low, up) ^ 47 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pow10(num) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:313:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double *ft_numparse(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:40:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_numparse(s, whole) ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "all" in fte gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:61:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("noasciiplotvalue", VT_BOOL, (char *) &novalue) && ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:62:20: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !vec_eq(xscale, vecs)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:69:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("width", VT_NUM, (char *) &maxy)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:72:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("height", VT_NUM, (char *) &height)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:77:14: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_getvar("nobreak", VT_BOOL, (char *) &nobreakp); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:100:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] field = tmalloc((maxy + 1) * (maxx + 1)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:101:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line1 = tmalloc(maxy + margin + FUDGE + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:102:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line2 = tmalloc(maxy + margin + FUDGE + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:104:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] values = (double *) tmalloc(maxx * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:239:31: warning: passing arguments to 'ft_findpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ypt = ft_findpoint(y, yrange, maxy, 0, ylogscale); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:250:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("-"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:251:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:254:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(" "); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:257:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:258:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:263:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(" "); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:264:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:265:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:267:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("Legend: "); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:276:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s = %-17s", out_pbuf, v->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:278:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n "); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:282:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:284:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("-"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:285:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:287:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n%s\n", line2, line1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:300:14: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:304:14: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:310:18: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:314:18: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:320:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(&field[i * omaxy]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:322:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:325:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n%s\n\014\n%s\n%s\n", line1, line2, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:330:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n%s\n", line1, line2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:332:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(field); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:333:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(line1); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:334:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(line2); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:336:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(values); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:22:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ft_agraf(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:29:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_agraf(xlims, ylims, xscale, plot, vecs, xdel, ydel, xlog, ylog, nointerp) ^ 43 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:36:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = (char *) tmalloc(n + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:25:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *prompt(fp) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:41:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] countargs(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:41:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:59:29: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_variablesubst(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:60:22: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_bquote(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:61:22: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = cp_doglob(wlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:55:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wordlist *process(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:66:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_print(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:71:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] common("which variable", wl, command); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:28:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int arg_print(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:66:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg_print(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_plot(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:80:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] common("which variable", wl, command); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int arg_plot(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:75:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg_plot(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:84:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_load(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:89:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*command->co_func) (wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:30:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int arg_load(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg_load(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_let(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:98:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] common("which vector", wl, command); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:29:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int arg_let(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:93:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg_let(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:102:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_set(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:107:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] common("which variable", wl, command); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:31:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int arg_set(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:102:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg_set(wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_display() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:130:20: warning: passing arguments to 'outmenuprompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outmenuprompt(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:134:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:140:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*command->co_func) (w); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:120:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] common(string, wl, command) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void outmenuprompt( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:146:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outmenuprompt(string) ^ 39 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int kill(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:68:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("spicepath", VT_STRING, spicepath)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:81:25: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] output = smktemp("spout"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:98:18: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw = smktemp("raw"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:100:11: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pid = fork(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:110:16: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) dup2(fileno(stdout), fileno(stderr)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:112:16: warning: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) execl(spicepath, spicepath, "-r", raw, 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:120:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = alloc(struct proc); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:122:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->pr_name = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:123:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->pr_rawfile = copy(raw); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:124:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->pr_inpfile = copy(deck); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:125:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->pr_outfile = copy(output); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_aspice(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:57:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_aspice(wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_jobs(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:142:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_jobs(wl) ^ /Users/pbulk/build/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); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/wait.h:248:19: note: passing argument to parameter here pid_t wait(int *) __DARWIN_ALIAS_C(wait); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:219:20: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_loadfile(p->pr_rawfile); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:220:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(p->pr_rawfile); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:228:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:266:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("rhost", VT_STRING, rhost)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:268:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("rprogram", VT_STRING, program)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:270:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("remote_shell", VT_STRING, remote_shell)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:284:9: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (pipe(to_serv) < 0) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:297:11: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pid = fork( ); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:306:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close(to_serv[1]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:314:2: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] dup2(to_serv[0], 0); /* stdin */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:318:2: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] execlp(remote_shell, remote_shell, rhost, program, "-s", 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:328:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close(to_serv[0]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:358:17: warning: passing arguments to 'inp_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_list(srv_input, ft_curckt->ci_deck, ft_curckt->ci_options, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:369:22: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outfile = smktemp("rsp"); ^ /Users/pbulk/build/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)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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)) { ^ ( ) /Users/pbulk/build/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)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:394:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] num, pos); ^~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:405:18: warning: passing arguments to 'raw_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl = raw_read(outfile); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:407:17: warning: passing arguments to 'plot_add' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_add(pl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:408:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(outfile); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_rspice(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:247:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_rspice(wl) ^ 42 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:44:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thisone = d = alloc(struct dbcomm); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:46:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->db_also = alloc(struct dbcomm); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:77:30: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] val = ft_numparse(&s, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:81:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->db_nodename1 = copy(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:103:30: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] val = ft_numparse(&s, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:107:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->db_nodename2 = copy(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:119:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_DBNUMS, buf); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_stop(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:34:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_stop(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:135:5: warning: call to undeclared function 'settrace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] settrace(wl, VF_PRINT, 0); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_trce(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:132:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_trce(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:155:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:156:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc(struct dbcomm); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:163:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->db_nodename1 = copy(s); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_iplot(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:142:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_iplot(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:190:15: warning: passing arguments to 'com_resume' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_resume((wordlist *) NULL); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_step(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:183:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_step(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:252:22: warning: passing arguments to 'printcond' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printcond(d, cp_out); ^ /Users/pbulk/build/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)) { ~~~~~~~~~~~^~~~~~~~~~~~~~~ /Users/pbulk/build/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)) { ~ ^ ~ /Users/pbulk/build/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)) { ^~ = In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_sttus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:203:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_sttus(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:279:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->db_nodename1); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:280:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->db_nodename2); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:281:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dbfree(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:272:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbfree(db) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:332:28: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remkword(CT_DBNUMS, buf); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_delete(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:289:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_delete(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:378:34: warning: passing arguments to 'satisfied' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (satisfied(dt, runplot)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:391:22: warning: passing arguments to 'printcond' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printcond(d, cp_err); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool ft_bpcheck(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:347:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_bpcheck(runplot, iteration) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:411:31: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((v1 = vec_fromplot(d->db_nodename1, plot)) == NULL) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:424:31: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((v2 = vec_fromplot(d->db_nodename2, plot)) == NULL) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:403:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] satisfied(d, plot) ^ /Users/pbulk/build/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); ^~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:471:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printcond(d, fp) ^ 45 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/include/fteext.h:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ft_setccirc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_setccirc(name) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ft_newcirc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:35:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_newcirc(ckt) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ft_newsubcirc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:47:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_newsubcirc(sckt) ^ 10 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/include/fteext.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool clip_line(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:46:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clip_line(pX1,pY1,pX2,pY2,l,b,r,t) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool clip_to_circle(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:99:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clip_to_circle(x1, y1, x2, y2, cx, cy, rad) ^ 8 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:40:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double *d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:76:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_mag(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:33:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_mag(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:64:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double *d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:77:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_ph(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:57:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_ph(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:88:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complex *c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:78:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_j(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:81:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_j(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:116:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double *d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:79:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_real(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:109:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_real(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:140:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double *d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:80:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_imag(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:133:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_imag(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:166:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double *d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:81:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_pos(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:159:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_pos(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:190:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double *d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:82:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_db(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:183:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_db(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:237:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:240:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:83:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_log(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:223:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_log(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:288:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:291:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:84:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_ln(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:274:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_ln(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:336:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:339:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_exp(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:322:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_exp(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:376:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:379:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:86:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_sqrt(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:358:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_sqrt(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:461:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:464:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:87:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_sin(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:447:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_sin(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:498:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:501:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:88:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_cos(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:484:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_cos(data, type, length, newlength, newtype) ^ 49 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:40:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:43:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:92:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_tan(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_tan(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:85:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:93:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_atan(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:73:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_atan(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:115:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:118:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:94:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_norm(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:101:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_norm(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:163:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:166:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:95:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_uminus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:149:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_uminus(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:198:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:201:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:96:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_rnd(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:184:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_rnd(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:241:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(1); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:248:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(1); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:97:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_mean(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:225:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_mean(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:273:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(1); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:98:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_length(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:262:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_length(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:302:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(len); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:99:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_vector(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:284:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_vector(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:332:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(len); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:343:1: warning: '/*' within block comment [-Wcomment] /* Calling methods for these functions are: ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:100:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_unitvec(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:314:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_unitvec(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:364:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:369:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:101:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_plus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:351:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_plus(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:406:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:411:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:102:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_minus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:393:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_minus(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:448:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:453:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:103:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_times(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:435:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_times(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:492:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:503:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:104:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_mod(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:479:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_mod(data1, data2, datatype1, datatype2, length) ^ 53 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:43:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:50:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:108:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_divide(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:30:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_divide(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:92:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:109:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_comma(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:81:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_comma(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:129:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:136:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:158:41: warning: passing arguments to 'cln' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = cexp(ctimes(&c2, cln(&c1))); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:158:32: warning: passing arguments to 'ctimes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = cexp(ctimes(&c2, cln(&c1))); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:158:25: warning: passing arguments to 'cexp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = cexp(ctimes(&c2, cln(&c1))); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:110:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_power(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:116:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_power(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:176:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cexp(c) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:192:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cln(c) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:207:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctimes(c1, c2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:271:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:111:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_eq(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:259:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_eq(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:314:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:112:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_gt(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:302:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_gt(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:357:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:113:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_lt(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:345:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_lt(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:400:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_ge(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:388:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_ge(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:443:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_le(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:431:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_le(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:486:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:116:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_ne(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:474:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_ne(data1, data2, datatype1, datatype2, length) ^ 39 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:38:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:120:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_and(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_and(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:78:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:121:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_or(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:66:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_or(data1, data2, datatype1, datatype2, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:118:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:122:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_not(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:106:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_not(data, type, length, newlength, newtype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:232:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc_d(ns->v_length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:234:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("polydegree", VT_NUM, (char *) °ree)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:238:21: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ft_interpolate((double *) data + base, d + base, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:242:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(d); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:123:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_interpolate(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:145:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_interpolate(data, type, length, newlength, newtype, pl, newpl, grouping) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:275:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("dpolydegree", VT_NUM, (char *) °ree)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:280:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spare = alloc_d(n); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:281:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scratch = alloc_d(n * (n + 1)); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:291:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r_coefs = alloc_d(n); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:292:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i_coefs = alloc_d(n); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:294:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c_outdata = alloc_c(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:295:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scale = alloc_d(length); /* XXX */ ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:310:18: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ft_polyfit(scale + i + base - degree, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:315:15: warning: passing arguments to 'ft_polyderiv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_polyderiv(r_coefs, degree); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:321:12: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_peval(x, r_coefs, degree - 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:327:18: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ft_polyfit(scale + i - degree + base, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:332:15: warning: passing arguments to 'ft_polyderiv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_polyderiv(i_coefs, degree); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:338:12: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_peval(x, i_coefs, degree - 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:347:41: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c_outdata[j + base].cx_real = ft_peval(x, r_coefs, degree - 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:349:41: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c_outdata[j + base].cx_imag = ft_peval(x, i_coefs, degree - 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:353:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(r_coefs); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:354:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(i_coefs); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:355:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(scale); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:365:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] coefs = alloc_d(n); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:367:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outdata = alloc_d(length); ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:368:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scale = alloc_d(length); /* XXX */ ^ /Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:374:18: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ft_polyfit(scale + i - degree + base, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:379:15: warning: passing arguments to 'ft_polyderiv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_polyderiv(coefs, degree); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:384:35: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outdata[j + base] = ft_peval(x, coefs, degree - 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:391:35: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outdata[j + base] = ft_peval(x, coefs, degree - 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:396:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(coefs); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:397:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(scale); /* XXX */ ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:124:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cx_deriv(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:251:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx_deriv(data, type, length, newlength, newtype, pl, newpl, grouping) ^ 48 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:13: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:80:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resname = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:81:15: warning: passing arguments to 'vec_remove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_remove(resname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:86:32: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(pn = ft_getpnames(wl, true))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:90:34: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(v = ft_evaluate(pn))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:100:19: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(first_pn); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:140:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data = (double *) tmalloc(sizeof (double) * length * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:143:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cdata = (complex *) tmalloc(sizeof (complex) * length * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:166:21: warning: passing arguments to 'dimxpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dimxpand(v, dims, (realflag ? (data + i * blocksize) : ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:220:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(var, "start")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:222:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:229:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "stop")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:231:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:238:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "step")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:240:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:247:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "center")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:249:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:256:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "span")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:258:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:265:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "mean")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:267:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:274:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "sd")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:276:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:283:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "lin")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:285:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:292:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "log")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:294:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:301:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "dec")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:303:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:310:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "gauss")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:312:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:319:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "random")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:321:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(td = ft_numparse(&val, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:328:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (cieq(var, "pool")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:376:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data = (double *) tmalloc(sizeof (double) * (int) lin); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:424:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:426:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result->v_name = copy(resname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:436:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(result); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:437:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_VECTOR, result->v_name); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_compose(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:48:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_compose(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:444:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dimxpand(v, newdims, data) ^ 51 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:54:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccon(true); /* So the user can type ahead... */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:62:23: warning: passing arguments to 'cp_addcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addcomm(c->co_comname, c->co_cctypes[0], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:65:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_COMMANDS, c->co_comname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:69:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_LISTINGARGS, "deck"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:70:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_LISTINGARGS, "logical"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:71:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_LISTINGARGS, "physical"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:72:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_LISTINGARGS, "expand"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:74:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_STOPARGS, "when"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:75:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_STOPARGS, "after"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:78:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOT, "new"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:80:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "xlimit"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:81:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "ylimit"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:82:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "vs"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:83:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "xindices"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:84:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "xcompress"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:85:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "xdelta"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:86:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "ydelta"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:87:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "lingrid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:88:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "loglog"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:89:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "linear"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:90:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "xlog"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:91:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "ylog"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:92:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "polar"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:93:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "smith"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:94:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "smithgrid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:95:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "nointerp"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:96:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "title"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:97:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "xlabel"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:98:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "ylabel"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:99:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "linplot"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:100:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "combplot"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:101:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOTKEYWORDS, "pointplot"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:103:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "time"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:104:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "space"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:105:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "faults"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:106:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "elapsed"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:107:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "totiter"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:108:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "traniter"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:109:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "tranpoints"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:110:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "accept"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:111:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "rejected"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:112:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "time"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:113:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "trantime"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:114:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "lutime"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:115:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "solvetime"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:116:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "transolvetime"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:117:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "loadtime"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:118:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_RUSEARGS, "all"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:120:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_VECTOR, "all"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:123:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_VARIABLES, *x); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:125:35: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(s = ft_typenames(i))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:127:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_TYPENAMES, s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:131:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset("program", VT_STRING, cp_program); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:151:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset("prompt", VT_STRING, buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:152:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset("noglob", VT_BOOL, (char *) &t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:163:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_setalias("begin", &wl1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:166:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_setalias("endif", &wl1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:167:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_setalias("endwhile", &wl1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:168:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_setalias("endforeach", &wl1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:169:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_setalias("endrepeat", &wl1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:170:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_setalias("enddowhile", &wl1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:172:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_setalias("?", &wl1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:183:16: warning: passing arguments to 'com_let' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_let(&wl1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:190:19: warning: passing arguments to 'com_define' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_define(&wl1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:198:25: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_doglob(cp_lexer(buf)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:198:16: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_doglob(cp_lexer(buf)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:199:14: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_striplist(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:200:9: warning: passing arguments to 'com_set' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_set(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:204:24: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (s = cp_tildexpand(Lib_Path); s && *s; ) { ^ /Users/pbulk/build/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")) { ~~~^~~~~~~~~~~~~~~~~ /Users/pbulk/build/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")) { ^ ( ) /Users/pbulk/build/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")) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:213:15: warning: passing arguments to 'inp_spsource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_spsource(fp, true, buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:225:5: warning: call to undeclared function 'tcap_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tcap_init( ); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:242:17: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = wl_copy(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:243:26: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_variablesubst(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:244:19: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_bquote(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:245:17: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_striplist(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:247:22: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = ft_getpnames(wl, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:248:20: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = ft_evaluate(pn); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:249:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(pn); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:172:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool cp_istrue(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:233:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_istrue(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:283:13: warning: passing arguments to 'com_quit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_quit((wordlist *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:301:26: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (fp = inp_pathopen(s, "r")) { ^ /Users/pbulk/build/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")) { ~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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")) { ^ ( ) /Users/pbulk/build/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")) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:303:61: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sprintf(buf, "argc = %d argv = ( ", wl_length(wl)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:310:25: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_set(cp_lexer(buf)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:310:16: warning: passing arguments to 'com_set' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_set(cp_lexer(buf)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:311:19: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_source(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:312:18: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remvar("argc"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:313:18: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remvar("argv"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:320:16: warning: passing arguments to 'com_let' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_let(&ww); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:173:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool cp_oddcomm(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:293:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_oddcomm(s, wl) ^ 97 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/include/fteext.h:139:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_state(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_state(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:48:12: warning: passing arguments to 'if_dump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_dump(ft_curckt->ci_ckt, cp_out); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_dump(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:41:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_dump(wl) ^ 9 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:19: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:49:15: warning: passing arguments to 'prdefs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prdefs((char *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:69:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:76:15: warning: passing arguments to 'prdefs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prdefs(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:99:28: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(pn = ft_getpnames(wl, false))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:107:13: warning: passing arguments to 'savetree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] savetree(pn); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:110:13: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] b = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:124:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix(b, udf->ud_name) && (arity == udf->ud_arity)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:127:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] udf = alloc(struct udfunc); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:139:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_UDFUNCS, b); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_define(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:38:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_define(wlist) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:157:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn->pn_value = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:159:40: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn->pn_value->v_name = copy(d->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:166:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmalloc(sizeof (double) * d->v_length); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:172:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmalloc(sizeof (complex) * d->v_length); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:146:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] savetree(pn) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:205:23: warning: passing arguments to 'prtree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prtree(udf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:208:19: warning: passing arguments to 'prtree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prtree(udf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:191:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prdefs(name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:236:12: warning: passing arguments to 'prtree1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prtree1(ud->ud_text, cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:215:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prtree(ud) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:242:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prtree1(pn, fp) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:306:19: warning: passing arguments to 'trcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (trcopy(udf->ud_text, s, args)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:143:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct pnode *ft_substdef(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:268:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_substdef(name, args) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:343:31: warning: passing arguments to 'ntharg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (ntharg(i, nn)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:351:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] func = alloc(struct func); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:352:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] func->fu_name = copy(tree->pn_func->fu_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:355:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = alloc(struct pnode); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:366:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op = alloc(struct op); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:370:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op->op_name = copy(tree->pn_op->op_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:372:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = alloc(struct pnode); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:316:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trcopy(tree, args, nn) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:408:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:396:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ntharg(num, args) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:437:28: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remkword(CT_UDFUNCS, wlist->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:145:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_undefine(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:419:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_undefine(wlist) ^ /Users/pbulk/build/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; ^ /Users/pbulk/build/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); ^~ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:146:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ft_pnode(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:453:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_pnode(pn) ^ 52 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:44:13: warning: passing arguments to 'all_show' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] all_show(wl, 1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_showmod(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:41:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_showmod(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:51:13: warning: passing arguments to 'all_show' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] all_show(wl, 0); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:150:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_show(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:48:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_show(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:73:10: warning: passing arguments to 'old_show' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] old_show(wl->wl_next); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:77:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("width", VT_NUM, (char *) &screen_width)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:126:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(w->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:127:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(w); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:130:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(w->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:131:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(w); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:147:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(w->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:148:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(w); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:158:21: warning: passing arguments to 'dgen_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (dg = dgen_init(ft_curckt->ci_ckt, thisgroup, 1, dev_flag, mode); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:159:7: warning: call to undeclared function 'dgen_nth_next'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] dg; dgen_nth_next(&dg, count)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:172:8: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] j = dgen_for_n(dg, count, printstr, "n", i); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:181:9: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] j = dgen_for_n(dg, count, printstr, "m", i); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:189:7: warning: call to undeclared function 'param_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] param_forall(dg, param_flag); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:193:7: warning: call to undeclared function 'wl_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wl_forall(params, listparam, dg); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:204:8: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] j = dgen_for_n(dg, count, printstr, "m", i); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:211:7: warning: call to undeclared function 'param_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] param_forall(dg, param_flag); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:215:7: warning: call to undeclared function 'wl_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wl_forall(params, listparam, dg); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:55:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] all_show(wl, mode) ^ /Users/pbulk/build/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); ~^~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:241:24: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" % 9.9s", dg->instance->GENname); ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:243:21: warning: trigraph ignored [-Wtrigraphs] printf(" "); ^ /Users/pbulk/build/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); ~^~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:246:24: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" % 9.9s", dg->model->GENmodName); ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:248:21: warning: trigraph ignored [-Wtrigraphs] printf(" "); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:30:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int printstr( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:235:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printstr(dg, name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:255:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] param_forall(dg, flags) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:287:8: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] k = dgen_for_n(dg, count, printvals, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:255:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] param_forall(dg, flags) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:297:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] listparam(p, dg) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:316:6: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (eqc(p->wl_word, plist[i].keyword) && (plist[i].dataType & IF_ASK)) ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:27:24: note: expanded from macro 'eqc' #define eqc(a,b) (cieq((a), (b))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:333:7: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] k = dgen_for_n(dg, count, printvals, plist + i, j); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:344:7: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] k = dgen_for_n(dg, count, bogus1, 0, j); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:356:10: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] k = dgen_for_n(dg, count, bogus2, 0, j); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:31:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int listparam( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:297:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listparam(p, dg) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bogus1(dg) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:33:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int bogus1( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:363:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bogus1(dg) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:370:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bogus2(dg) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:34:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int bogus2( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:370:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bogus2(dg) ^ /Users/pbulk/build/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]); ~^~~~~ /Users/pbulk/build/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]); ~^~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:431:25: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" % 9.9s", val.v.vec.uVec[i]); ~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/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); ~^~~~~ /Users/pbulk/build/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); ~^~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:457:26: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] printf(" % 9.9s ", val.uValue); ~~~~~~ ^~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:32:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int printvals( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:378:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printvals(dg, p, i) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:500:20: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_casefix(devs->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:501:37: warning: passing arguments to 'devexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tw = wl_append(tw, devexpand(devs->wl_word)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:501:23: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tw = wl_append(tw, devexpand(devs->wl_word)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:513:25: warning: passing arguments to 'cp_cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] devs = cp_cctowl(ft_curckt->ci_devices); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:518:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s:\n", devs->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:521:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nn = copy(devs->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:522:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = (*if_getparam)(ft_curckt->ci_ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:525:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = (*if_getparam)(ft_curckt->ci_ckt, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:528:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("\t%s =", tw->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:529:39: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (ww = cp_varwl(v); ww; ww = ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:531:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf(" %s", ww->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:532:29: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:536:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nn = copy(devs->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:537:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = (*if_getparam)(ft_curckt->ci_ckt, &nn, "all", 0, 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:539:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = (*if_getparam)(ft_curckt->ci_ckt, &nn, "all", 0, 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:541:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("\t%s =", v->va_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:542:35: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (ww = cp_varwl(v); ww; ww = ww->wl_next) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:543:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf(" %s", ww->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:544:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:35:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void old_show( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:478:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] old_show(wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:152:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_alter(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:562:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_alter(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:574:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] com_altermod(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:574:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:596:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] names = ft_getpnames(wl, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:615:12: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(names); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:626:12: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(names); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:636:12: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(names); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:662:21: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dv = ft_evaluate(n2->pn_right); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:663:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(names); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:671:16: warning: passing arguments to 'if_setparam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_setparam(ft_curckt->ci_ckt, &dev, param, dv, do_model); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:673:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(names); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:761:28: warning: passing arguments to 'cp_cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] devices = cp_cctowl(ft_curckt->ci_devices); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:763:29: warning: passing arguments to 'cp_globmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_globmatch(name, devices->wl_word)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:764:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tw = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:774:23: warning: passing arguments to 'cp_cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_cctowl(ft_curckt->ci_devices); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:776:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:779:12: warning: passing arguments to 'wl_sort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_sort(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:755:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] devexpand(name) ^ 100 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nameeq(n1, n2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:58:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("diff_vntol", VT_REAL, (char *) &vntol)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:60:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("diff_abstol", VT_REAL, (char *) &abstol)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:62:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("diff_reltol", VT_REAL, (char *) &reltol)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:211:33: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printnum(d1)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:215:33: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printnum(d2)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:231:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(realpart(&c1))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:231:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(realpart(&c1))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:232:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(imagpart(&c1))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:232:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(imagpart(&c1))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:234:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(realpart(&c2))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:234:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(realpart(&c2))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:235:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(imagpart(&c2)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:235:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(imagpart(&c2)))); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:156:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_diff(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:47:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_diff(wl) ^ 20 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:6: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:6: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:6: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:73:19: warning: incompatible function pointer types initializing 'int (*)()' with an expression of type 'void (int, int, int, double, double)' [-Wincompatible-function-pointer-types] X11_DrawLine, X11_Arc, X11_Text, X11_DefineColor, X11_DefineLinestyle, ^~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:75:26: warning: incompatible function pointer types initializing 'int (*)()' with an expression of type 'void (REQUEST *, RESPONSE *)' (aka 'void (struct request *, struct response *)') [-Wincompatible-function-pointer-types] nodev, nodev, nodev, X11_Input, ^~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:152:5: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror(ErrorMessage); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:141:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DISPDEVICE *FindDev(name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:173:39: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getenv("DISPLAY") || cp_getvar("display", VT_STRING, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:196:2: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] externalerror( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:213:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (*(dispdev->NewViewport))(pgraph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:209:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewViewport(pgraph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:217:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DevClose() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DevClear() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:231:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DrawLine(x1, y1, x2, y2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:234:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(dispdev->DrawLine))(x1, y1, x2, y2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:231:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawLine(x1, y1, x2, y2) ^ /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:243:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(dispdev->Arc))(x0, y0, radius, theta1, theta2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:238:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Arc(x0, y0, radius, theta1, theta2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:247:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Text(text, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:252:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(dispdev->Text))(text, x, y); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:247:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Text(text, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:256:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DefineColor(colorid, red, green, blue) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:261:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(dispdev->DefineColor))(colorid, red, green, blue); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:256:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DefineColor(colorid, red, green, blue) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:265:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DefineLinestyle(linestyleid, mask) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:270:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(dispdev->DefineLinestyle))(linestyleid, mask); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:265:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DefineLinestyle(linestyleid, mask) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:274:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetLinestyle(linestyleid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:278:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(dispdev->SetLinestyle))(linestyleid); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:274:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetLinestyle(linestyleid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:282:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetColor(colorid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:286:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(dispdev->SetColor))(colorid); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:282:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetColor(colorid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:290:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Update() ^ /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:301:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:348:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(dispdev->DatatoScreen))(graph, x, y, screenx, screeny); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:342:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DatatoScreen(graph, x, y, screenx, screeny) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:365:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Input(request, response) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:370:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(dispdev->Input))(request, response); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:365:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Input(request, response) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:375:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gen_Input(request, response) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:382:36: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] response->reply.ch = inchar(request->fp); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:375:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_Input(request, response) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:400:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static nodev() ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:406:5: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror(ErrorMessage); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:411:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SaveText(graph, text, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:428:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] keyed->text = tmalloc(strlen(text) + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:411:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaveText(graph, text, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:440:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DevSwitch(devname) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:448:9: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("DevSwitch w/o changing back"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:454:9: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("no hardcopy device"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:440:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DevSwitch(devname) ^ 56 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:43:18: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) plotit(wl, (char *) NULL, "lpr"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_asciiplot(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:40:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_asciiplot(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:67:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(fname, "temp") || cieq(fname, "tmp")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:67:36: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(fname, "temp") || cieq(fname, "tmp")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:68:24: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fname = smktemp("xg"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:72:18: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) plotit(wl, fname, "xgraph"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:163:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_xgraph(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:51:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_xgraph(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:106:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("hcopydev", VT_STRING, device)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:115:24: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fname = smktemp("hc"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:119:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("hcopydevtype", VT_STRING, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:137:9: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Input(&request, &response); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:143:10: warning: call to undeclared function 'DevSwitch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (DevSwitch(devtype)) return; ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:144:27: warning: passing arguments to 'CopyGraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempgraph = CopyGraph(response.reply.graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:146:10: warning: call to undeclared function 'NewViewport'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (NewViewport(tempgraph)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:150:6: warning: call to undeclared function 'gr_resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gr_resize(tempgraph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:151:6: warning: call to undeclared function 'gr_redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gr_redraw(tempgraph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:152:6: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DestroyGraph(tempgraph->graphid); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:164:19: warning: passing arguments to 'outmenuprompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outmenuprompt("which variable ? "); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:165:24: warning: passing arguments to 'prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((buf2 = prompt(cp_in)) == (char *) -1) /* XXXX Sick */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:167:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:170:18: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = process(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:177:6: warning: call to undeclared function 'DevSwitch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (DevSwitch(devtype)) return; ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:179:20: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!wl || !plotit(wl, fname, (char *) NULL)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:195:16: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("lprplot5", VT_STRING, format)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:206:16: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("lprps", VT_STRING, format)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:236:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(fname); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:161:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_hardcopy(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:92:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_hardcopy(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:248:18: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) plotit(wl, (char *) NULL, (char *) NULL); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_plot(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:245:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_plot(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:293:18: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wwl = wl_copy(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:294:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wwl, "xl", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:295:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wwl, "xlimit", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:296:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wwl, "yl", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:297:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wwl, "ylimit", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:298:48: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sprintf(cline, "plot %s", wl_flatten(wwl)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:300:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(wwl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:307:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tw = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:313:23: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sameflag = getflag(wl, "samep"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:316:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xlim = getlims(wl, "xl", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:318:27: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xlim = getlims(wl, "xlimit", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:320:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "xl", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:321:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "xlimit", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:325:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ylim = getlims(wl, "yl", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:327:27: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ylim = getlims(wl, "ylimit", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:329:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "yl", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:330:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "ylimit", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:334:28: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xcompress = getlims(wl, "xcompress", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:336:32: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xcompress = getlims(wl, "xcomp", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:338:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "xcompress", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:339:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "xcomp", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:343:27: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xindices = getlims(wl, "xindices", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:345:31: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xindices = getlims(wl, "xind", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:347:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "xindices", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:348:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "xind", 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:352:25: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdelta = getlims(wl, "xdelta", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:354:29: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdelta = getlims(wl, "xdel", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:356:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "xdelta", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:357:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "xdel", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:360:25: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ydelta = getlims(wl, "ydelta", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:362:29: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ydelta = getlims(wl, "ydel", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:364:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "ydelta", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:365:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getlims(wl, "ydel", 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:371:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "lingrid")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:380:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "loglog")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:389:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "nogrid")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:398:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "linear")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:407:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "xlog")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:416:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "ylog")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:425:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "polar")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:434:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "smith")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:443:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "smithgrid")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:454:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("gridstyle", VT_STRING, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:484:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "linplot")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:493:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "combplot")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:502:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getflag(wl, "pointplot")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:513:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("plotstyle", VT_STRING, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:532:25: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xlabel = getword(wl, "xlabel"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:534:23: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getword(wl, "xlabel"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:536:25: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ylabel = getword(wl, "ylabel"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:538:23: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getword(wl, "ylabel"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:540:24: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] title = getword(wl, "title"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:542:23: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) getword(wl, "title"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:545:27: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nointerp = getflag(wl, "nointerp"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:546:21: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (getflag(wl, "nointerp")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:566:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] names = ft_getpnames(wl, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:583:33: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dv = ft_evaluate(n); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:598:25: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dv = ft_evaluate(n); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:609:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(names); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:626:29: warning: passing arguments to 'vec_mkfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lv->v_link2 = vec_mkfamily(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:628:27: warning: passing arguments to 'vec_mkfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vecs = lv = vec_mkfamily(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:707:18: warning: passing arguments to 'xtend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xtend(d, d->v_scale->v_length); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:714:21: warning: passing arguments to 'compress' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compress(d, xcompress, xindices); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:715:34: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->v_scale = vec_copy(d->v_scale); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:716:21: warning: passing arguments to 'compress' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compress(d->v_scale, xcompress, xindices); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:730:15: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = vec_copy(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:803:17: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = ft_minmax(d, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:813:27: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = ft_minmax(d, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:863:17: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = ft_minmax(d, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:874:27: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = ft_minmax(d->v_scale, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:992:27: warning: passing arguments to 'if_tranparams' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !if_tranparams(ft_curckt, &tstart, &tstop, &tstep) || ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:998:22: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !ciprefix("tran", plot_cur->pl_typename))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1002:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newscale = (double *) tmalloc(newlen * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1004:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newv_scale = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1009:36: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newv_scale->v_name = copy(vecs->v_scale->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1016:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newdata = (double *) tmalloc(newlen * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1018:32: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ft_interpolate(v->v_realdata, newdata, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1026:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(v->v_realdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1036:17: warning: passing arguments to 'ft_agraf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_agraf(xlims, ylims, vecs->v_scale, vecs->v_plot, vecs, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1055:36: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xlabel ? xlabel : ft_typabbrev(vecs->v_scale->v_type), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1056:36: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ylabel ? ylabel : ft_typabbrev(j), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1053:11: warning: passing arguments to 'ft_xgraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_xgraph(xlims, ylims, hcopy, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1069:17: warning: passing arguments to 'gr_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!gr_init(xlims, ylims, (oneval ? (char *) NULL : xn), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1077:16: warning: passing arguments to 'ft_graf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_graf(d, oneval ? (struct dvec *) NULL : d->v_scale, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:259:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotit(wl, hcopy, devname) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1112:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = (double *) tmalloc(sizeof (double) * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1123:37: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] td = ft_numparse(&ss, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1139:10: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(beg); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1092:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getlims(wl, name, number) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1167:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = copy(beg->wl_next->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1172:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(beg); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1152:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getword(wl, name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1182:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getflag(wl, name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1220:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_realdata = (double *) tmalloc(length * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1226:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(od); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1229:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_compdata = (complex *) tmalloc(length * sizeof (complex)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1239:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(oc); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1204:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xtend(v, length) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1266:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = (double *) tmalloc(newlen * sz); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1271:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(d->v_realdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1276:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(d->v_compdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1251:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compress(d, xcomp, xind) ^ 139 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:36:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(".save", iline->wl_word)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:38:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:39:39: warning: passing arguments to 'gettoks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = wl_append(wl, gettoks(s)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:39:27: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = wl_append(wl, gettoks(s)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:43:13: warning: passing arguments to 'com_save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_save(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:75:14: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(".plot", s)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:80:32: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (isaplot || ciprefix(".print", s)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:81:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:82:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:84:30: warning: passing arguments to 'gettoks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(w = gettoks(s))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:96:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wl); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:105:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] com_save2(w, name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:107:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix(".four", s)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:108:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:109:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:110:30: warning: passing arguments to 'gettoks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(w = gettoks(s))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:115:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] com_save2(w, "TRAN"); /* A hack */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:117:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix(".op", s)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:119:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] com_save2(&all, "OP"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:120:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix(".tf", s)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:122:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] com_save2(&all, "TF"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:166:14: warning: passing arguments to 'inp_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_list(cp_out, ft_curckt->ci_deck, ft_curckt->ci_options, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:165:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:170:17: warning: passing arguments to 'setcplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (setcplot("op")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:186:12: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printnum(v->v_realdata[0])); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:193:12: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printnum(v->v_realdata[0])); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:197:14: warning: passing arguments to 'com_showmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_showmod(&all); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:198:14: warning: passing arguments to 'com_show' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_show(&all); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:203:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix("tf", pl->pl_typename)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:210:15: warning: passing arguments to 'com_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_print(&all); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:217:27: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command = cp_lexer(coms->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:223:42: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } while (command && !ciprefix("out", command->wl_word)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:232:24: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset("width", VT_NUM, (char *) &i); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:247:28: warning: passing arguments to 'fixdotprint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixdotprint(command); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:251:19: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(plottype, pl->pl_typename)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:253:13: warning: passing arguments to 'com_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_print(&twl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:276:27: warning: passing arguments to 'fixdotplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixdotplot(command); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:279:19: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(plottype, pl->pl_typename)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:281:17: warning: passing arguments to 'com_asciiplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_asciiplot(command); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:290:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix(".four", command->wl_word)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:294:32: warning: passing arguments to 'setcplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (setcplot("tran")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:295:14: warning: passing arguments to 'com_fourier' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_fourier(command->wl_next); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:324:19: warning: passing arguments to 'com_rusage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_rusage(&ww); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:326:19: warning: passing arguments to 'com_rusage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_rusage((wordlist *) NULL); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:173:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int ft_cktcoms(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:136:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_cktcoms(terse) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:352:28: warning: passing arguments to 'fixem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = fixem(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:359:28: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = ft_numparse(&s, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:367:28: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = ft_numparse(&s, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:374:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:375:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy("xlimit"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:376:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_next = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:379:40: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcpy(buf, printnum(d1)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:380:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:381:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_next = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:384:40: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcpy(buf, printnum(d2)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:385:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:345:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixdotplot(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:397:28: warning: passing arguments to 'fixem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = fixem(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:393:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixdotprint(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:409:17: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix("v(", string) && index(string, ',')) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:422:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ss); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:423:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:424:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("vm(", string)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:429:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ss); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:430:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:431:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("vp(", string)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:436:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ss); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:437:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:438:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("vi(", string)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:443:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ss); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:444:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:445:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("vr(", string)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:450:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ss); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:451:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:452:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("vdb(", string)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:457:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ss); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:458:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:459:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("i(", string)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:465:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ss); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:466:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:404:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixem(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:480:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(name, pl->pl_typename)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:474:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setcplot(name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:572:22: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (t = gettok(&s)) { ^ /Users/pbulk/build/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)) { ~~^~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:572:14: note: place parentheses around the assignment to silence this warning while (t = gettok(&s)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:572:14: note: use '==' to turn this assignment into an equality comparison while (t = gettok(&s)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:577:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:578:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:593:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:598:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:601:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(l + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:608:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:609:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(c + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:561:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gettoks(s) ^ 98 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int kill(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:180:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void fperror(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:56:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fperror(mess, code) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:71:51: warning: passing arguments to 'if_errstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fprintf(cp_err, "%s: %s\n", mess, if_errstring(code)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:181:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ft_sperror(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:68:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(code, mess) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:78:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccon(false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] internalerror(message) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:91:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] externalerror(message) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:100:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 15 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int kill(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:63:23: warning: passing arguments to 'apply_func' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = apply_func(node->pn_func, node->pn_left); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:67:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((*node->pn_op->op_func) (node->pn_left)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:70:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (node->pn_left, node->pn_right)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:81:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->v_name = copy(node->pn_name); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:190:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *ft_evaluate(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:53:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_evaluate(node) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:96:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('+', cx_plus, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:201:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_plus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:93:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_plus(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:103:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('-', cx_minus, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:195:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_minus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:100:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_minus(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:110:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop(',', cx_comma, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_comma(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:107:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_comma(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:117:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('*', cx_times, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:203:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_times(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:114:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_times(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:124:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('%', cx_mod, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:196:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_mod(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:121:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_mod(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:131:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('/', cx_divide, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:188:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_divide(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:128:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_divide(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:138:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('^', cx_power, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:202:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_power(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:135:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_power(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:145:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('=', cx_eq, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:189:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_eq(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:142:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_eq(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:152:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('>', cx_gt, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:192:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_gt(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:149:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_gt(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:159:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('<', cx_lt, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:194:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_lt(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:156:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_lt(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:166:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('G', cx_ge, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:191:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_ge(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:163:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_ge(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:173:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('L', cx_le, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:193:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_le(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:170:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_le(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:180:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('N', cx_ne, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:197:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_ne(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:177:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_ne(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:187:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('&', cx_and, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:186:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_and(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:184:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_and(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:194:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (doop('|', cx_or, arg1, arg2)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:199:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_or(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:191:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_or(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:249:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:251:26: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res->v_name = mkcname('R', v->v_name, ind->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:269:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res->v_realdata = (double *) tmalloc(sizeof (double) * len); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:271:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res->v_compdata = (complex *) tmalloc(sizeof (complex) * len); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:300:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(res); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:205:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_range(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:206:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_range(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:396:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:398:26: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res->v_name = mkcname('[', v->v_name, ind->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:417:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res->v_realdata = (double *) tmalloc(sizeof (double) * length); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:419:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res->v_compdata = (complex *) tmalloc(sizeof (complex) * length); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:450:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(res); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:200:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_ind(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:310:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_ind(arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:479:25: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = vec_fromplot(buf, plot_cur); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:484:21: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = vec_copy(t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:485:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:508:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data = (char *) ((*func->fu_func) ((isreal(v) ? (char *) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:514:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data = (char *) ((*func->fu_func) ((isreal(v) ? (char *) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:527:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:544:25: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t->v_name = mkcname('a', func->fu_name, v->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:546:25: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t->v_name = mkcname('c', func->fu_name, v->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:548:25: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t->v_name = mkcname('b', v->v_name, (char *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:561:9: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:460:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] apply_func(func, arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:204:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_uminus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:576:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_uminus(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:198:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *op_not(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:583:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op_not(arg) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:613:13: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:595:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcname(what, v1, v2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:698:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d1 = (double *) tmalloc(length * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:708:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c1 = (complex *) tmalloc(length * sizeof (complex)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:725:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d2 = (double *) tmalloc(length * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:735:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c2 = (complex *) tmalloc(length * sizeof (complex)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:760:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data = (char *) ((*func) ((isreal(v1) ? (char *) d1 : (char *) c1), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:773:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:814:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(res); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:819:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(d1); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:821:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(c1); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:826:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(d2); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:828:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(c2); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:622:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doop(what, func, arg1, arg2) ^ 105 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:19: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:19: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:19: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:53:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((!cp_getvar("nfreqs", VT_NUM, (char *) &nfreqs)) || (nfreqs < 1)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:55:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((!cp_getvar("polydegree", VT_NUM, (char *) &polydegree)) || ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:58:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((!cp_getvar("fourgridsize", VT_NUM, (char *) &fourgridsize)) || ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:68:27: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(ff = ft_numparse(&s, false)) || (*ff <= 0.0)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:74:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freq = (double *) tmalloc(nfreqs * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:75:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mag = (double *) tmalloc(nfreqs * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:76:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] phase = (double *) tmalloc(nfreqs * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:77:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nmag = (double *) tmalloc(nfreqs * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:78:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nphase = (double *) tmalloc(nfreqs * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:81:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] names = ft_getpnames(wl, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:84:26: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec = ft_evaluate(names); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:101:42: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] grid = (double *) tmalloc(fourgridsize * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:103:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stuff = (double *) tmalloc(fourgridsize * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:105:31: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dp = ft_minmax(time, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:122:36: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ft_interpolate(vec->v_realdata, stuff, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:137:26: warning: passing arguments to 'CKTfour' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] err = CKTfour(fourgridsize, nfreqs, &thd, timescale, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:141:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err, "fourier"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:167:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fw, pn(freq[i]), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:168:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fw, pn(mag[i]), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:169:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fw, pn(phase[i]), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:170:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fw, pn(nmag[i]), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:171:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fw, pn(nphase[i])); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:176:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(first_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:177:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(freq); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:178:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(mag); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:179:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(phase); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:180:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(nmag); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:181:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(nphase); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:209:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_fourier(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:32:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_fourier(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:199:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (copy(buf)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:186:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn(num) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:214:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKTfour(ndata,numFreq,thd,Time,Value,FundFreq,Freq,Mag,Phase,nMag,nPhase) ^ 37 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/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, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:99:5: warning: call to undeclared function 'SetGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetGraphContext(graph->graphid); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:111:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("pointchars", VT_STRING, pointchars)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:114:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("ticmarks", VT_NUM, (char *) &graph->ticmarks)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:115:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("ticmarks", VT_BOOL, (char *) &b)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:121:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("ticlist", VT_LIST, ticlist)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:122:26: warning: passing arguments to 'vareval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = (wordlist *)vareval("ticlist"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:123:30: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ticlist = (char *)wl_flatten(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:124:38: warning: passing arguments to 'readtics' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] graph->ticdata = (double *) readtics(ticlist); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:140:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("gr_init: no range specified"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:154:9: warning: call to undeclared function 'NewViewport'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (NewViewport(graph) == 1) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:166:5: warning: call to undeclared function 'DevClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DevClear(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:203:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] comb_title = tmalloc(strlen(plotname) + strlen(pname) + 3); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:207:23: warning: passing arguments to 'gr_resize_internal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_resize_internal(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:208:5: warning: call to undeclared function 'gr_redrawgrid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gr_redrawgrid(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:223:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] graph->commandline = copy(commandline); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:238:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool gr_init(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:67:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_init(xlims, ylims, xname, plotname, hcopy, nplots, xdelta, ydelta, gridtype, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:253:5: warning: call to undeclared function 'DatatoScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DatatoScreen(currentgraph, oldx, oldy, &fromx, &fromy); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:259:20: warning: passing arguments to 'clip_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (clip_line(&fromx, &fromy, &tox, &toy, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:265:25: warning: passing arguments to 'clip_to_circle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (clip_to_circle(&fromx, &fromy, &tox, &toy, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:273:7: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetLinestyle(dv->v_linestyle); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:280:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetColor(dv->v_color); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:289:6: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DrawLine(fromx, fromy, tox, toy); ^ /Users/pbulk/build/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) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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) { ^ ( ) /Users/pbulk/build/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) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:293:7: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text("x", (int) (tox - currentgraph->fontwidth / 2), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:295:7: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SaveText(currentgraph, "x", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:305:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text("x", (int) (tox - currentgraph->fontwidth / 2), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:307:6: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SaveText(currentgraph, "x", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:322:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(pointc, (int) (tox - currentgraph->fontwidth / 2), ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:244:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void gr_point(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:241:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_point(dv, newx, newy, oldx, oldy, np) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:346:21: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = ft_typenames(dv->v_type); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:385:30: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] link->vector = vec_copy(dv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:397:15: warning: passing arguments to 'drawlegend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawlegend(currentgraph, plotno, dv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:335:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_start_internal(dv, copyvec) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:245:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void gr_start(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:405:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_start(dv) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:415:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_relinestyle(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:415:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:448:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetColor(dv->v_color); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:451:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(buf, x + graph->viewport.width / 20 ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:454:9: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetLinestyle(dv->v_linestyle); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:455:9: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DrawLine(x, i, x + graph->viewport.width / 20, i); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:458:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(dv->v_name, x + graph->viewport.width / 20 ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:434:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawlegend(graph, plotno, dv) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:468:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:240:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void gr_end(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:465:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_end(dv) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:489:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:491:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("device", VT_STRING, buf) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:495:2: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(text, currentgraph->viewport.width ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:243:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void gr_pmsg(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:483:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_pmsg(text) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:507:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:512:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_resize(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:526:23: warning: passing arguments to 'gr_resize_internal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_resize_internal(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:512:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_resize(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:564:15: warning: passing arguments to 'gr_fixgrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_fixgrid(graph, graph->grid.xdelta, graph->grid.ydelta, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:553:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_resize_internal(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:581:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_redraw(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:588:5: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PushGraphContext(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:590:5: warning: call to undeclared function 'DevClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DevClear(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:593:5: warning: call to undeclared function 'gr_redrawgrid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gr_redrawgrid(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:605:14: warning: passing arguments to 'ft_graf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_graf(link->vector, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:613:5: warning: call to undeclared function 'gr_restoretext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gr_restoretext(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:615:5: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PopGraphContext(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:581:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_redraw(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:619:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_restoretext(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:627:7: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetColor(k->colorindex); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:628:7: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(k->text, k->x, k->y); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:619:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_restoretext(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:647:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] iplot(pl, id) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:679:25: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lims = ft_minmax(xs, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:686:33: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lims = ft_minmax(v, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:726:22: warning: passing arguments to 'ft_graf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_graf(v, xs, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:730:2: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Input(&reqst, 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:736:27: warning: passing arguments to 'if_tranparams' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!if_tranparams(ft_curckt, &start, &stop, &step) || ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:737:26: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !ciprefix("tran", pl->pl_typename)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:818:45: warning: too many arguments in call to 'gr_pmsg' gr_pmsg("Resizing screen", false); ~~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:841:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:647:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iplot(pl, id) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:866:24: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = vec_fromplot(dc->db_nodename1, plot); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:846:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set(plot, db, unset, mode) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:884:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getitright(buf, num) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:907:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reset_trace( ) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:926:29: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (db->db_graphid) PushGraphContext(FindGraph(db->db_graphid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:926:55: warning: passing arguments to 'FindGraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (db->db_graphid) PushGraphContext(FindGraph(db->db_graphid)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:939:41: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!dontpop && db->db_graphid) PopGraphContext(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:956:4: warning: call to undeclared function 'term_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] term_clear( ); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:958:4: warning: call to undeclared function 'term_home'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] term_home( ); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:963:7: warning: call to undeclared function 'term_cleol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] term_cleol( ); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:990:3: warning: call to undeclared function 'term_cleol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] term_cleol( ); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:241:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void gr_iplot(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:914:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_iplot(plot) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1023:3: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DestroyGraph(db->db_graphid); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1028:9: warning: passing arguments to 'dbfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbfree(db); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1034:28: warning: passing arguments to 'FindGraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] graph = FindGraph(db->db_graphid); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1040:36: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] link->vector = vec_copy(dv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1072:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tics = (double *) tmalloc(MAXTICS * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:53:9: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double *readtics(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1065:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readtics(string) ^ 106 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:13: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:46:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static RunningId = 1; ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:62:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("can't allocate a listgraph"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:84:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GRAPH *FindGraph(id) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:118:7: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SaveText(ret, k->text, k->x, k->y); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:126:33: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newlink->vector = vec_copy(link->vector); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:134:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret->commandline = copy(graph->commandline); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:135:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret->plotname = copy(graph->plotname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:103:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GRAPH *CopyGraph(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:188:11: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(d->vector->v_name); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:190:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(d->vector->v_realdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:192:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(d->vector->v_compdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:213:5: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("tried to destroy non-existent graph"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:142:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGraph(id) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:219:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FreeGraphs() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:236:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetGraphContext(graphid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:236:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:256:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PushGraphContext(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:256:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PopGraphContext() ^ 23 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:51:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetColor(1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:52:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetLinestyle(1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:65:18: warning: passing arguments to 'polargrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] polargrid(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:71:18: warning: passing arguments to 'smithgrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smithgrid(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:78:21: warning: passing arguments to 'loggrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = loggrid(graph, graph->data.ymin, graph->data.ymax, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:81:21: warning: passing arguments to 'lingrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = lingrid(graph, graph->data.ymin, graph->data.ymax, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:89:21: warning: passing arguments to 'loggrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = loggrid(graph, graph->data.xmin, graph->data.xmax, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:92:21: warning: passing arguments to 'lingrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd = lingrid(graph, graph->data.xmin, graph->data.xmax, ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:257:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void gr_fixgrid(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:40:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_fixgrid(graph, xdelta, ydelta, xtype, ytype) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_redrawgrid(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:117:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetColor(1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:118:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetLinestyle(1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:121:7: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(graph->grid.xlabel, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:129:15: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(graph->grid.ylabel, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:133:15: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(graph->grid.ylabel, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:141:23: warning: passing arguments to 'drawpolargrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawpolargrid(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:144:23: warning: passing arguments to 'drawsmithgrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawsmithgrid(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:147:23: warning: passing arguments to 'drawsmithgrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawsmithgrid(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:153:21: warning: passing arguments to 'drawloggrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawloggrid(graph, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:162:21: warning: passing arguments to 'drawlingrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawlingrid(graph, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:186:21: warning: passing arguments to 'drawloggrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawloggrid(graph, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:195:21: warning: passing arguments to 'drawlingrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawlingrid(graph, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_redrawgrid(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:355:25: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (s = ft_typabbrev(type)) { ^ /Users/pbulk/build/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)) { ~~^~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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)) { ^ ( ) /Users/pbulk/build/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)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:215:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lingrid(graph, lo, hi, delta, type, axis) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:499:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetLinestyle(1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:509:17: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DrawLine(graph->viewportxoff + i, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:533:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(buf, graph->viewportxoff + i - ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:547:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(units, (int) (graph->absolute.width * 0.6), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:552:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:480:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawlingrid(graph, units, spacing, nsp, dst, lmt, hmt, onedec, mult, mag, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:637:25: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (s = ft_typabbrev(type)) { ^ /Users/pbulk/build/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)) { ~~^~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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)) { ^ ( ) /Users/pbulk/build/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)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:559:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loggrid(graph, lo, hi, type, axis) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:681:2: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetLinestyle(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:686:3: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DrawLine(graph->viewportxoff + i, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:711:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(buf, graph->viewportxoff + i - strlen(buf) / 2, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:730:4: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DrawLine(graph->viewportxoff + m, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:747:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(units, (int) (graph->absolute.width * 0.6), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:752:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:668:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawloggrid(graph, units, hmt, lmt, decsp, subs, pp, axis) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:758:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] polargrid(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:920:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetLinestyle(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:921:5: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Arc(graph->grid.xaxis.circular.center, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:933:16: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cliparc((double) graph->grid.xaxis.circular.center + relcx, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:945:24: warning: passing arguments to 'addradlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addradlabel(graph, i, theta, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:967:32: warning: passing arguments to 'clip_to_circle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!clip_to_circle(&x1, &y1, &x2, &y2, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:972:10: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DrawLine(x1, y1, x2, y2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:975:28: warning: passing arguments to 'adddeglabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adddeglabel(graph, i * 30, x2, y2, x1, y1, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1004:32: warning: passing arguments to 'clip_to_circle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!clip_to_circle(&x1, &y1, &x2, &y2, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1008:17: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DrawLine(x1, y1, x2, y2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1010:28: warning: passing arguments to 'adddeglabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adddeglabel(graph, i, x2, y2, x1, y1, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1018:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(buf, graph->grid.xaxis.circular.center ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1022:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:875:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawpolargrid(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1055:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(buf, x, y); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1036:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adddeglabel(graph, deg, x, y, cx, cy, lx, ly) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1081:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(buf, x, y); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1068:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addradlabel(graph, lab, theta, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1104:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetLinestyle(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1098:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smithgrid(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1236:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetLinestyle(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1341:15: warning: passing arguments to 'arcset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcset(graph, rr[k], kr[k], ir[k], ki[k], pixperunit, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1356:5: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Arc(gr_xcenter, gr_ycenter, gr_radius, 0.0, 0.0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1370:9: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DrawLine(gr_xcenter - zheight, gr_ycenter + yoff, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1372:2: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text("0", gr_xcenter + zheight + gi_fntwidth, gr_ycenter + yoff - ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1382:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(buf, gr_xcenter + gr_radius, gr_ycenter - gr_radius); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1384:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1189:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drawsmithgrid(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1415:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetColor(18); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1417:12: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cliparc((double) (centx + xoffset + radoff - rad), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1425:12: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cliparc((double) (centx + xoffset + radoff + rad), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1431:20: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] aclip = cliparc((double) (centx + xoffset + radoff), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1450:20: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] aclip = cliparc((double) (centx + xoffset + radoff), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1471:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(plab, x, centy + yoffset - gi_fntheight - 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1398:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcset(graph, rad, prevrad, irad, iprevrad, radoff, maxrad, centx, centy, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1514:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Arc((int)cx, (int)cy, (int)rad, start, end); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1586:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Arc((int)cx, (int)cy, (int)rad, start, d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1613:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Arc((int)cx, (int)cy, (int)rad, l, d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1623:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Arc((int)cx, (int)cy, (int)rad, d, end); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1492:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cliparc(cx, cy, rad, start, end, iclipx, iclipy, icliprad, flag) ^ 93 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:60:17: warning: passing arguments to 'inp_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_list(cp_out, expand ? ft_curckt->ci_deck : ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:262:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_listing(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_listing(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:79:13: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_casefix(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:69:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] upper(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:108:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_getvar("renumber", VT_BOOL, (char *) &renumber); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:114:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(".end", here->li_line) && ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:122:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:132:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n", ^ /Users/pbulk/build/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); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:148:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:157:29: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(".end", here->li_line) && ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:165:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:172:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:180:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:190:33: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(".end", here->li_line) && ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:198:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:205:39: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:214:39: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:232:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:237:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf(".end\n"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:268:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void inp_list(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:94:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_list(file, deck, extras, type) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:268:16: warning: passing arguments to 'inp_readall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_readall(fp, &deck); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:273:30: warning: passing arguments to 'inp_getopts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] options = inp_getopts(deck); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:275:28: warning: passing arguments to 'inp_deckcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] realdeck = inp_deckcopy(deck); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:279:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tt = copy(deck->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:313:26: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ciprefix(".control", dd->li_line) && ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:314:30: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !ciprefix(".endc", dd->li_line)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:316:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_evloop(dd->li_line + 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:318:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_evloop(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:317:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:319:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:320:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:337:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(".control", dd->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:339:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:340:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:346:32: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix(".endc", dd->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:348:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:349:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:355:42: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (commands || prefix("*#", dd->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:356:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:363:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix("*#", dd->li_line)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:364:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(dd->li_line + 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:368:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:374:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:375:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:377:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_casefix(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:378:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_casefix(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:379:48: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (eq(s, ".width") || ciprefix(".four", s) || eq(s, ".plot") ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:384:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end->wl_next = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:388:42: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_first = end = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:389:40: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end->wl_word = copy(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:393:4: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:394:4: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:409:27: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("nosubckt", VT_BOOL, (char *) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:411:49: warning: passing arguments to 'inp_subcktexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deck->li_next = inp_subcktexpand(deck-> ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:414:23: warning: passing arguments to 'inp_dodeck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_dodeck(deck, tt, wl_first, false, options, filename); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:419:39: warning: passing arguments to 'wl_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (end = wl = wl_reverse(controls); wl; ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:421:33: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_evloop(wl->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:266:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void inp_spsource(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:254:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_spsource(fp, comfile, filename) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:465:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_error); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:473:48: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_curckt->ci_devices = cp_kwswitch(CT_DEVNAMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:475:46: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:478:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_curckt = ct = alloc(struct circ); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:480:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_getvar("noparse", VT_BOOL, (char *) &noparse); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:482:25: warning: passing arguments to 'if_inpdeck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ckt = if_inpdeck(deck, &tab); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:497:17: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("Error on line %d : %s\n\t%s\n", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:500:17: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("\t%s\n", p); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:520:44: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_curckt->ci_devices = cp_kwswitch(CT_DEVNAMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:522:27: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_kwswitch(CT_DEVNAMES, ft_curckt->ci_devices); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:523:42: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, (char *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:524:27: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_kwswitch(CT_NODENAMES, ft_curckt->ci_nodes); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:525:19: warning: passing arguments to 'ft_newcirc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_newcirc(ct); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:541:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ct->ci_filename = copy(filename); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:551:26: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_lexer(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:556:43: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eev->va_next = cp_setparse(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:558:48: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ct->ci_vars = eev = cp_setparse(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:566:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_option(ct->ci_ckt, eev->va_name, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:570:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_option(ct->ci_ckt, eev->va_name, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:574:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_option(ct->ci_ckt, eev->va_name, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:578:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_option(ct->ci_ckt, eev->va_name, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:585:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_CKTNAMES, tt); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:264:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void inp_dodeck(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:444:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_dodeck(deck, tt, end, reuse, options, filename) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:606:20: warning: passing arguments to 'doedit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!doedit(wl->wl_word)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:610:32: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(fp = inp_pathopen(wl->wl_word, "r"))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:622:31: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filename = smktemp("sp"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:645:20: warning: passing arguments to 'doedit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!doedit(filename)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:659:20: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(filename); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:672:14: warning: passing arguments to 'com_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_run(NULL); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:261:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_edit(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:595:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_edit(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:685:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("editor", VT_STRING, buf2)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:679:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doedit(filename) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:718:27: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempfile = smktemp("sp"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:719:32: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(fp = inp_pathopen(tempfile, "w+"))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:725:36: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(tp = inp_pathopen(wl->wl_word, "r"))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:730:24: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(tempfile); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:741:26: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fp = inp_pathopen(wl->wl_word, "r"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:749:31: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ft_nutmeg || substring(".spiceinit", owl->wl_word) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:750:25: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || substring("spice.rc", owl->wl_word)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:757:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(tempfile); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:263:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_source(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:704:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_source(wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:265:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void inp_source(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:763:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_source(file) ^ 112 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:38:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strptr = tmalloc(memlen); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:47:36: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( !(strptr = trealloc(strptr, memlen + 1))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:61:22: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strptr = trealloc(strptr, strlen + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readline(fd) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:81:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || !cp_getvar("sourcepath", VT_LIST, (char *) &v)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:87:12: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_wstrip(v->va_string); ^ /Users/pbulk/build/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)) ~~~^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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)) ^ ( ) /Users/pbulk/build/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)) ^ == In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:270:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern FILE *inp_pathopen(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:70:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_pathopen(name, mode) ^ /Users/pbulk/build/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)) { ~~~~~~~^~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:118:19: note: place parentheses around the assignment to silence this warning while (buffer = readline(fp)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:118:19: note: use '==' to turn this assignment into an equality comparison while (buffer = readline(fp)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:128:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(".include", buffer)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:142:34: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_tildexpand(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:153:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end->li_next = alloc(struct line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:156:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end = cc = alloc(struct line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:161:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end->li_line = copy(buffer); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:174:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end->li_next = alloc(struct line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:177:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end = cc = alloc(struct line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:208:45: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] working->li_error = copy( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:213:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = tmalloc(strlen(prev->li_line) + strlen(s) + 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:224:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:226:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newcard = alloc(struct line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:269:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void inp_readall(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:109:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_readall(fp, data) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:267:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void inp_casefix(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:248:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_casefix(string) ^ 29 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:48:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scratch = (double *) tmalloc((degree + 1) * (degree + 2) * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:50:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = (double *) tmalloc((degree + 1) * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:51:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdata = (double *) tmalloc((degree + 1) * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:52:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ydata = (double *) tmalloc((degree + 1) * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:58:23: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:78:30: warning: passing arguments to 'putinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lastone = putinterval(result, degree, ndata, lastone, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:95:27: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:102:30: warning: passing arguments to 'putinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lastone = putinterval(result, degree, ndata, lastone, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:107:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(scratch); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:108:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(xdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:109:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ydata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:110:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(result); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:280:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool ft_interpolate(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:231:21: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = ft_peval(xdata[i], result, degree); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:281:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool ft_polyfit(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:121:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_polyfit(xdata, ydata, result, degree, scratch) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:276:27: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nvec[i] = ft_peval(nscale[i], poly, degree); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:264:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:281:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printmat(name, mat, m, n) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:282:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double ft_peval(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:299:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_peval(x, coeffs, degree) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:366:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:367:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_name = copy(ov->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:373:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nd = (double *) tmalloc(newlen * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:380:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void lincopy(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:350:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lincopy(ov, newscale, newlen, oldscale) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:283:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ft_polyderiv( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:385:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_polyderiv(coeffs, degree) ^ 34 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:28:23: warning: passing arguments to 'if_tranparams' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !if_tranparams(ft_curckt, &tstart, &tstop, &tstep)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:48:18: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ciprefix("tran", plot_cur->pl_typename)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:54:21: warning: passing arguments to 'plot_alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new = plot_alloc("transient"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:56:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new->pl_name = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:57:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new->pl_title = copy(old->pl_title); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:58:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new->pl_date = copy(old->pl_date); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:60:13: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_new(new); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:61:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_setcur(new->pl_typename); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:64:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newtime = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:65:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newtime->v_name = copy(oldtime->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:71:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newtime->v_realdata = (double *) tmalloc(len * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:78:29: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = vec_fromplot(wl->wl_word, old); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:84:13: warning: call to undeclared function 'lincopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lincopy(v, newtime->v_realdata, len, oldtime); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:91:13: warning: call to undeclared function 'lincopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lincopy(v, newtime->v_realdata, len, oldtime); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:284:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_linearize(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_linearize(wl) ^ 20 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//mfb.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:43:12: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:47:16: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:49:16: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:63:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s ", ccc[i]->co_comname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:64:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf(ccc[i]->co_help, cp_program); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:65:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:71:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s ", c->co_comname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:72:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf(c->co_help, cp_program); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:74:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:76:29: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:91:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s is aliased to ", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:94:29: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(al->al_text, cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:95:29: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:101:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:304:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_help(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_help(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:133:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("level", VT_STRING, slevel)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:148:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:150:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:152:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:170:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s ", com->co_comname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:171:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf(com->co_help, cp_program); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:172:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:176:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:302:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_ahelp(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:106:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_ahelp(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:189:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("helppath", VT_STRING, buf)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:190:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] path = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:196:32: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(npath = cp_tildexpand(path))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:203:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("helpregfont", VT_STRING, buf)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:204:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_regfontname = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:205:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("helpboldfont", VT_STRING, buf)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:206:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_boldfontname = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:207:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("helpitalicfont", VT_STRING, buf)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:208:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_italicfontname = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:209:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("helptitlefont", VT_STRING, buf)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:210:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_titlefontname = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:211:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("helpbuttonfont", VT_STRING, buf)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:212:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_buttonfontname = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:213:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("helpinitxpos", VT_NUM, (char *) &i)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:215:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("helpinitypos", VT_NUM, (char *) &i)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:217:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("helpbuttonstyle", VT_STRING, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:218:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(buf, "left")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:220:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cieq(buf, "center")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:222:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cieq(buf, "unif")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:228:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("width", VT_NUM, (char *) &i)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:230:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("display", VT_STRING, buf)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:231:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_displayname = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:232:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cp_getvar("device", VT_STRING, buf)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:233:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_displayname = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:236:13: warning: passing arguments to 'hlp_main' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_main(path, wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:303:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_ghelp(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:183:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_ghelp(wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:307:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int hcomp(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:241:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hcomp(c1, c2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:258:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_getvar("noaskquit", VT_BOOL, (char *) &noask); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:260:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccon(false); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:305:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_quit(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:249:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_quit(wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:301:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_bug(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:332:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_bug(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:383:6: warning: address of array 'Spice_Notice' will always evaluate to 'true' [-Wpointer-bool-conversion] if (Spice_Notice && *Spice_Notice) ^~~~~~~~~~~~ ~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:385:6: warning: address of array 'Spice_Build_Date' will always evaluate to 'true' [-Wpointer-bool-conversion] if (Spice_Build_Date && *Spice_Build_Date) ^~~~~~~~~~~~~~~~ ~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:388:23: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = wl_flatten(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:396:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:306:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_version(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:371:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_version(wl) ^ 71 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:37:16: warning: passing arguments to 'inp_readall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_readall(fp, &deck); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:41:28: warning: passing arguments to 'inp_deckcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] realdeck = inp_deckcopy(deck); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:45:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tt = copy(deck->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:79:26: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ciprefix(".control", dd->li_line) && ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:80:30: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !ciprefix(".endc", dd->li_line)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:82:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_evloop(dd->li_line + 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:84:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_evloop(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:83:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:85:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:86:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:102:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(".control", dd->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:104:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:105:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:111:32: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix(".endc", dd->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:113:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:114:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:120:42: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (commands || prefix("*#", dd->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:121:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:128:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix("*#", dd->li_line)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:129:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(dd->li_line + 2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:133:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:139:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:140:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:142:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_casefix(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:143:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_casefix(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:144:48: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (eq(s, ".width") || ciprefix(".four", s) || ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:149:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end->wl_next = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:153:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = end = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:154:40: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end->wl_word = copy(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:156:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:157:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(dd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:170:27: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("nosubckt", VT_BOOL, (char *) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:172:49: warning: passing arguments to 'inp_subcktexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deck->li_next = inp_subcktexpand(deck-> ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:175:26: warning: passing arguments to 'nutinp_dodeck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nutinp_dodeck(deck, tt, wl, false, options, filename); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:180:39: warning: passing arguments to 'wl_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (end = wl = wl_reverse(controls); wl; ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:182:33: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_evloop(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:183:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(end); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:274:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void inp_nutsource(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_nutsource(fp, comfile, filename) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:213:27: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempfile = smktemp("sp"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:214:32: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(fp = inp_pathopen(tempfile, "w+"))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:220:36: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(tp = inp_pathopen(wl->wl_word, "r"))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:225:24: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(tempfile); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:236:26: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fp = inp_pathopen(wl->wl_word, "r"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:244:31: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ft_nutmeg || substring(".spiceinit", owl->wl_word) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:245:25: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || substring("spice.rc", owl->wl_word)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:252:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(tempfile); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:276:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void nutcom_source(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:199:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nutcom_source(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:258:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nutinp_source(file) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:275:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void nutinp_dodeck(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:276:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nutinp_dodeck(deck, tt, end, reuse, options, filename) ^ 56 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:428:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct variable *nutif_getparam(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:16:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ struct variable * nutif_getparam(ckt, name, param, ind, do_model) ^ 6 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:38:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = vec_get(word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:41:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:42:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_name = copy(word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:52:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:54:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_name = copy(word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:58:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:84:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:88:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_string = copy(plot_cur->pl_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:90:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:94:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_string = copy(plot_cur->pl_title); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:96:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:100:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_string = copy(plot_cur->pl_date); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:102:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:106:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_string = copy(plot_cur->pl_typename); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:108:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:115:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:117:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tv->va_string = copy(pl->pl_typename); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:327:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct variable *cp_enqvar(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:28:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_enqvar(word) ^ /Users/pbulk/build/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")) { ~~~^~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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")) { ^ ( ) /Users/pbulk/build/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")) { ^ == /Users/pbulk/build/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")) { ~~~^~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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")) { ^ ( ) /Users/pbulk/build/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")) { ^ == /Users/pbulk/build/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")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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")) { ^ ( ) /Users/pbulk/build/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")) { ^ == /Users/pbulk/build/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")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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")) { ^ ( ) /Users/pbulk/build/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")) { ^ == /Users/pbulk/build/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")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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")) { ^ ( ) /Users/pbulk/build/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")) { ^ == In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_usrvars(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:139:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_usrvars(v1, v2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:187:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(".opt", dd->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:188:24: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_casefix(dd->li_line); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:326:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct line *inp_getopts(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:180:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_getopts(deck) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:230:26: warning: passing arguments to 'setdb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setdb(tv->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:232:18: warning: passing arguments to 'setdb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setdb(var->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:240:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_program = copy(var->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:242:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_rawfile = copy(var->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:281:26: warning: passing arguments to 'cp_rehash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_rehash(s, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:296:24: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_setcur(var->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:302:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_cur->pl_name = copy(var->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:308:38: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_cur->pl_title = copy(var->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:314:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_cur->pl_date = copy(var->va_string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:375:22: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (if_option(ft_curckt->ci_ckt, var->va_name, var->va_type, vv)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:377:25: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (if_option(NULL, var->va_name, var->va_type, vv)) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:183:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int cp_usrset(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:209:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_usrset(var, isset) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:383:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setdb(str) ^ 48 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:14: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:108:22: warning: passing arguments to 'beginPlot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (beginPlot(analysisPtr, circuitPtr, name, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:89:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTpBeginPlot(circuitPtr, analysisPtr, analName, refName, refType, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:127:22: warning: passing arguments to 'beginPlot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (beginPlot(analysisPtr, circuitPtr, "circuit name", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:115:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTwBeginPlot(circuitPtr, analysisPtr, analName, refName, refType, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:158:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("printinfo", VT_BOOL, (char *) &printinfo)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:161:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *runp = run = alloc(struct runDesc); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:166:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] run->name = copy(cktName); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:167:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] run->type = copy(analName); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:178:16: warning: call to undeclared function 'ft_getSaves'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] numsaves = ft_getSaves(&saves); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:180:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] savesused = (bool *) tmalloc(sizeof (bool) * numsaves); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:183:43: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (saves[i].analysis && !cieq(saves[i].analysis, an_name)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:188:14: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(saves[i].name, "all")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:199:20: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addDataDesc(run, refName, refType, -1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:201:41: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!savesused[i] && name_eq(saves[i].name, refName)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:215:18: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (name_eq(saves[i].name, dataNames[j])) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:216:15: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addDataDesc(run, dataNames[j], dataType, j); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:226:37: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!refName || !name_eq(dataNames[i], refName)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:227:28: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addDataDesc(run, dataNames[i], dataType, i); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:235:26: warning: passing arguments to 'parseSpecial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!parseSpecial(saves[i].name, namebuf, parambuf, depbuf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:244:28: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (name_eq(depbuf, run->data[j].name)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:249:32: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (name_eq(depbuf, dataNames[j])) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:257:28: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addDataDesc(run, dataNames[j], dataType, j); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:264:23: warning: passing arguments to 'addSpecialDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addSpecialDesc(run, saves[i].name, namebuf, parambuf, depind); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:269:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(saves[i].analysis); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:270:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(saves[i].name); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:272:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(savesused); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:286:21: warning: call to undeclared function 'ft_getOutReq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] run->writeOut = ft_getOutReq(&run->fp, &run->runPlot, &run->binary, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:290:17: warning: passing arguments to 'fileInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileInit(run); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:292:17: warning: passing arguments to 'plotInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotInit(run); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:134:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] beginPlot(analysisPtr, circuitPtr, cktName, analName, refName, refType, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:310:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] run->data = (dataDesc *) tmalloc(sizeof (dataDesc)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:312:42: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] run->data = (dataDesc *) trealloc((char *) run->data, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:318:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->name = copy(name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:301:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addDataDesc(run, name, type, ind) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:346:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] run->data = (dataDesc *) tmalloc(sizeof (dataDesc)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:348:42: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] run->data = (dataDesc *) trealloc((char *) run->data, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:354:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->name = copy(name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:360:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data->specParamName = copy(param); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:335:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addSpecialDesc(run, name, devname, param, depind) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:388:20: warning: passing arguments to 'fileInit_pass2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileInit_pass2(plotPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:389:23: warning: passing arguments to 'fileStartPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileStartPoint(run->fp, run->binary, run->pointCount); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:393:32: warning: passing arguments to 'fileAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileAddComplexValue(run->fp, run->binary, refValue->cValue); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:395:29: warning: passing arguments to 'fileAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileAddRealValue(run->fp, run->binary, refValue->rValue); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:404:35: warning: passing arguments to 'fileAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileAddRealValue(run->fp, run->binary, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:408:38: warning: passing arguments to 'fileAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileAddComplexValue(run->fp, run->binary, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:415:32: warning: passing arguments to 'getSpecial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!getSpecial(&run->data[i], run, &val)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:418:35: warning: passing arguments to 'fileAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileAddRealValue(run->fp, run->binary, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:421:38: warning: passing arguments to 'fileAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileAddComplexValue(run->fp, run->binary, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:427:21: warning: passing arguments to 'fileEndPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileEndPoint(run->fp, run->binary); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:432:37: warning: passing arguments to 'plotAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotAddRealValue(&run->data[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:435:40: warning: passing arguments to 'plotAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotAddComplexValue(&run->data[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:439:37: warning: passing arguments to 'plotAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotAddRealValue(&run->data[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:443:40: warning: passing arguments to 'plotAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotAddComplexValue(&run->data[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:448:32: warning: passing arguments to 'getSpecial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!getSpecial(&run->data[i], run, &val)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:451:37: warning: passing arguments to 'plotAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotAddRealValue(&run->data[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:454:40: warning: passing arguments to 'plotAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotAddComplexValue(&run->data[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:460:17: warning: passing arguments to 'gr_iplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_iplot(run->runPlot); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:463:19: warning: passing arguments to 'ft_bpcheck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ft_bpcheck(run->runPlot, run->pointCount) == false) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:375:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTpData(plotPtr, refValue, valuePtr) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:473:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTwReference(plotPtr, valuePtr, refPtr) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:483:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTwData(plotPtr, dataIndex, valuePtr, refPtr) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:494:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTwEnd(plotPtr) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:509:16: warning: passing arguments to 'fileEnd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileEnd(run); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:512:16: warning: passing arguments to 'plotEnd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotEnd(run); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:515:12: warning: passing arguments to 'freeRun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeRun(run); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:503:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTendPlot(plotPtr) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:524:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTbeginDomain(plotPtr, refName, refType, outerRefValue) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:535:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTendDomain(plotPtr) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:545:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTattributes(plotPtr, varName, param, value) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:590:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileInit(run) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:647:22: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substring("#branch", name)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:649:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cieq(name, "time")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:651:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cieq(name, "frequency")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:657:29: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_typenames(type)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:634:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileInit_pass2(run) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:670:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileStartPoint(fp, bin, num) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:682:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileAddRealValue(fp, bin, value) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:696:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileAddComplexValue(fp, bin, value) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:714:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileEndPoint(fp, bin) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:724:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileEnd(run) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:751:33: warning: passing arguments to 'plot_alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct plot *pl = plot_alloc(run->type); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:757:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_title = copy(run->name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:758:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_name = copy(run->type); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:759:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_date = copy(datestring( )); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:761:13: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_new(pl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:762:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_setcur(pl->pl_typename); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:774:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:777:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_name = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:779:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_name = copy(dd->name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:780:22: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substring("#branch", v->v_name)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:782:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cieq(v->v_name, "time")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:784:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cieq(v->v_name, "frequency")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:800:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:748:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotInit(run) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:813:42: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_realdata = (double *) trealloc((char *) v->v_realdata, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:818:43: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_compdata = (complex *) trealloc((char *) v->v_compdata, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:806:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotAddRealValue(desc, value) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:835:41: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_compdata = (complex *) trealloc((char *) v->v_compdata, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:829:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotAddComplexValue(desc, value) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:846:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotEnd(run) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:860:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseSpecial(name, dev, param, ind) ^ /Users/pbulk/build/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, '(')) { ~~^~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:910:11: note: place parentheses around the assignment to silence this warning if (s = index(n1, '(')) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:910:11: note: use '==' to turn this assignment into an equality comparison if (s = index(n1, '(')) { ^ == /Users/pbulk/build/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, '(')) { ~~^~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:917:11: note: place parentheses around the assignment to silence this warning if (s = index(n2, '(')) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:917:11: note: use '==' to turn this assignment into an equality comparison if (s = index(n2, '(')) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:905:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name_eq(n1, n2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:943:31: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (vv = if_getstat(run->circuit, &desc->name[1])) { ^ /Users/pbulk/build/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])) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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])) { ^ ( ) /Users/pbulk/build/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])) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:955:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(vv); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:929:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getSpecial(desc, run, val) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:971:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(run->data[i].name); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:972:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(run->data[i].specParamName); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:974:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(run->data); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:963:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeRun(run) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:1020:41: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((flags == ERR_INFO) && cp_getvar("printinfo", VT_BOOL, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:1010:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTerror(flags,format,names) ^ 118 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:48:30: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xsbuf = sbuf = wl_flatten(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:52:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(xsbuf); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:62:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->pn_name = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:70:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(xsbuf); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:72:24: warning: passing arguments to 'checkvalid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!checkvalid(pn)) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:336:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct pnode *ft_getpnames(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:34:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_getpnames(wl, check) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:82:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkvalid(pn) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:270:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] el.e_string = copy(++sbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:282:21: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] td = ft_numparse(&ss, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:338:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] el.e_string = copy(sbuf); /* XXXX !!!! */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:472:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = makepnode(&stack[st]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:478:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lpn = makepnode(&stack[st]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:481:29: warning: passing arguments to 'mkunode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = mkunode(stack[sp].e_token, lpn); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:484:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = makepnode(&stack[sp + 1]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:489:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lpn = makepnode(&stack[sp + 2]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:493:35: warning: passing arguments to 'mkfnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(pn = mkfnode(stack[sp].e_string, lpn))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:496:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lpn = makepnode(&stack[sp]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:497:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rpn = makepnode(&stack[st]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:500:29: warning: passing arguments to 'mkbnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = mkbnode(stack[sp + 1].e_token, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:509:19: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = makepnode(&stack[1]); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:530:28: warning: passing arguments to 'mksnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (mksnode(elem->e_string)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:532:28: warning: passing arguments to 'mknnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (mknnode(elem->e_double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:523:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makepnode(elem) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:628:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = alloc(struct pnode); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:616:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkbnode(opnum, arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:647:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = alloc(struct pnode); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:641:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkunode(op, arg) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:692:24: warning: passing arguments to 'ft_substdef' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] q = ft_substdef(func, arg); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:699:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = vec_get(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:707:24: warning: passing arguments to 'mksnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (mksnode(buf)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:717:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(arg); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:721:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = alloc(struct pnode); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:674:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkfnode(func, arg) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:742:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = alloc(struct pnode); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:743:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:760:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_name = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:763:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_realdata = (double *) tmalloc(sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:767:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:735:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mknnode(number) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:780:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = alloc(struct pnode); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:786:16: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = vec_get(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:788:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nv = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:791:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nv->v_name = copy(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:798:22: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nv = vec_copy(vs); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:799:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(nv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:774:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mksnode(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:820:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(t); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:337:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void free_pnode(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:812:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(t) ^ 60 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:6: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:6: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:6: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Init() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_NewViewport(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:55:7: warning: call to undeclared function 'gr_relinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gr_relinestyle(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:34:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Plt5_NewViewport(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Close() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Clear() ^ /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:98:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Text(text, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:129:5: warning: call to undeclared function 'Plt5_SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Plt5_SetLinestyle(SOLID); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:119:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Plt5_Text(text, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:150:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("bad linestyleid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:145:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Plt5_SetLinestyle(linestyleid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:160:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_SetColor(colorid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:160:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:167:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Update() ^ 21 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:41:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("polydegree", VT_NUM, (char *) °ree)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:53:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("gridsize", VT_NUM, (char *) &gridsize)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:85:17: warning: passing arguments to 'gr_start' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_start(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:107:25: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_point(v, v->v_realdata[i], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:112:25: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_point(v, realpart(&v->v_compdata[i]), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:118:15: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_end(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:137:11: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_point(v, dx, dy, lx, ly, 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:139:11: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_point(v, dx, dy, lx, ly, i); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:147:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_point(v, dx, dy, lx, ly, 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:148:15: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_end(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:157:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gridbuf = (double *) tmalloc(gridsize * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:158:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = (double *) tmalloc(gridsize * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:162:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ydata = (double *) tmalloc(v->v_length * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:170:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdata = (double *) tmalloc(xs->v_length * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:176:23: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mm = ft_minmax(xs, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:184:28: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ft_interpolate(ydata, result, xdata, v->v_length, gridbuf, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:195:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_point(v, gridbuf[i], result[i], gridbuf[i ? (i - 1) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:197:15: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_end(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:198:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(gridbuf); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:199:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(result); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:201:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ydata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:203:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(xdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:210:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scratch = (double *) tmalloc((degree + 1) * (degree + 2) * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:212:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = (double *) tmalloc((degree + 1) * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:213:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdata = (double *) tmalloc((degree + 1) * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:214:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ydata = (double *) tmalloc((degree + 1) * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:232:23: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:237:23: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ft_polyfit(ydata, xdata, result, degree, scratch)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:250:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotinterval(v, ydata[i], ydata[i + 1], result, degree, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:253:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotinterval(v, xdata[i], xdata[i + 1], result, degree, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:277:27: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:278:27: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ft_polyfit(ydata, xdata, result, degree, scratch)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:289:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotinterval(v, ydata[degree - 1], ydata[degree], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:292:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotinterval(v, xdata[degree - 1], xdata[degree], ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:295:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(scratch); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:296:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(xdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:297:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(ydata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:298:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(result); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:299:11: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_end(v); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:343:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ft_graf(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_graf(v, xs, nostart) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:326:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("polysteps", VT_NUM, (char *) &steps)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:332:18: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ly = ft_peval(lo, coeffs, degree); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:334:22: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dy = ft_peval(dx, coeffs, degree); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:336:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_point(v, dy, dx, ly, lx, -1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:338:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gr_point(v, dx, dy, lx, ly, -1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:306:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotinterval(v, lo, hi, coeffs, degree, rotated) ^ 51 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/include/fteext.h:342:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double *ft_minmax(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_minmax(v, real) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:341:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int ft_findpoint(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:51:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_findpoint(pt, lims, maxp, minp, islog) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:89:6: warning: call to undeclared function 'SMITH_tfm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SMITH_tfm( v->v_realdata[i], 0.0, &d, &d2 ); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:76:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_SMITHminmax(v, yval) ^ /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:106:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 12 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:43:20: warning: passing arguments to 'com_display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_display((wordlist *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:47:19: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = wl_flatten(wl); ^ /Users/pbulk/build/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, '=')) { ~~~~^~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:51:13: note: place parentheses around the assignment to silence this warning if (rhs = index(p, '=')) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:51:13: note: use '==' to turn this assignment into an equality comparison if (rhs = index(p, '=')) { ^ == /Users/pbulk/build/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, '[')) { ~~^~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:57:11: note: place parentheses around the assignment to silence this warning if (s = index(p, '[')) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:57:11: note: use '==' to turn this assignment into an equality comparison if (s = index(p, '[')) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:89:23: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nn = ft_getpnames(&fake_wl, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:90:21: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = ft_evaluate(nn); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:92:16: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_pnode(nn); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:97:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(p); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:104:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(p); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:130:22: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nn = ft_getpnames(&fake_wl, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:133:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(p); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:136:20: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = ft_evaluate(nn); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:139:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(p); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:146:16: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = vec_get(p); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:155:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(p); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:160:6: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:162:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n->v_name = copy(p); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:177:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n->v_realdata = (double *) tmalloc(n->v_length * sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:179:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n->v_compdata = (complex *) tmalloc(n->v_length * sizeof(complex)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:181:9: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(n); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:214:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(p); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:222:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(p); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:238:13: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_VECTOR, n->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:241:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(p); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:362:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_let(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_let(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:252:19: warning: passing arguments to 'vec_remove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_remove(wl->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:363:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_unlet(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:248:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_unlet(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:266:20: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_loadfile(ft_rawfile); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:269:35: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_loadfile(cp_unquote(wl->wl_word)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:269:24: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_loadfile(cp_unquote(wl->wl_word)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:274:16: warning: passing arguments to 'com_display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_display(NULL); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:364:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_load(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:261:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_load(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:311:27: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (nn = ft_getpnames(wl, true); nn; nn = nn->pn_next) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:312:30: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(v = ft_evaluate(nn))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:348:37: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_basename(v)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:350:48: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcpy(buf, vec_basename(v)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:363:33: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printnum(*v->v_realdata)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:362:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s = %s\n", buf, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:366:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(realpart(v->v_compdata))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:366:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(realpart(v->v_compdata))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:367:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(imagpart(v->v_compdata)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:367:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(imagpart(v->v_compdata)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:365:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s = %s,%s\n", buf, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:370:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s = ( ", buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:374:36: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printnum(v->v_realdata[i])); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:375:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:380:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n\t"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:383:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\t"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:386:42: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(realpart(&v->v_compdata[i]))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:386:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(realpart(&v->v_compdata[i]))), ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:387:42: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(imagpart(&v->v_compdata[i])))); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:387:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(printnum(imagpart(&v->v_compdata[i])))); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:388:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:393:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n\t"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:396:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\t"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:398:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(")\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:402:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("width", VT_NUM, (char *) &i)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:406:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("height", VT_NUM, (char *) &i)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:410:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("nobreak", VT_BOOL, (char *) &nobreak) && !ft_nopage) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:414:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_getvar("noprintscale", VT_BOOL, (char *) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:421:48: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (bv->v_plot->pl_scale && !vec_eq(bv, bv->v_plot->pl_scale)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:422:30: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nv = vec_copy(bv->v_plot->pl_scale); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:423:24: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(nv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:447:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:448:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(p->pl_title); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:449:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:450:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:453:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:454:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:459:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:475:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:476:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:481:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:487:14: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:491:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\t\t"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:493:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\t\t\t\t"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:498:12: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:503:12: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(out_pbuf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:507:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:515:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\f\n"); /* Form feed. */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:524:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send("\f\n"); /* Form feed. */ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:365:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_print(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:286:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_print(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:557:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("filetype", VT_STRING, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:565:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_getvar("appendwrite", VT_BOOL, (char *) &appendwrite); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:568:29: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] names = ft_getpnames(wl, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:570:29: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] names = ft_getpnames(&all, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:574:24: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = ft_evaluate(n); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:600:30: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = vec_copy(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:604:42: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->v_name = vec_basename(vv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:612:27: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (vec_eq(d, tpl->pl_scale)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:624:40: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newplot.pl_scale = vec_copy(tpl->pl_scale); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:638:35: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (vec_eq(vv, d->v_scale)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:641:34: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = vec_copy(d->v_scale); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:653:22: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_write(file, &newplot, appendwrite, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:655:22: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_write(file, &newplot, appendwrite, true); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:366:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_write(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:540:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_write(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:685:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:686:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = vec_get(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:692:30: warning: passing arguments to 'vec_transpose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_transpose(d); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:370:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_transpose(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:678:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_transpose(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:714:20: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:715:17: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = vec_get(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:722:10: warning: passing arguments to 'pvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pvec(plot_cur->pl_scale); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:369:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_setscale(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:706:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_setscale(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:748:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:749:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = vec_get(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:755:21: warning: passing arguments to 'pvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pvec(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:769:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("Here are the vectors currently active:\n\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:770:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dvs = (struct dvec **) tmalloc(len * (sizeof (struct dvec *))); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:773:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("nosort", VT_BOOL, (char *) &b)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:776:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("Title: %s\n", plot_cur->pl_title); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:777:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("Name: %s (%s)\nDate: %s\n\n", ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:782:13: warning: passing arguments to 'pvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pvec(d); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:361:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_display(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:735:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_display(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:795:25: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_typenames(d->v_type), isreal(d) ? "real" : ^ /Users/pbulk/build/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) { ^~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:805:13: note: add missing switch cases switch (d->v_gridtype) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:831:13: warning: enumeration value 'PLOT_LIN' not handled in switch [-Wswitch] switch (d->v_plottype) { ^~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:831:13: note: add missing switch cases switch (d->v_plottype) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:851:42: warning: passing arguments to 'dimstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sprintf(buf2, ", dims = [%s]", dimstring(d->v_dims, d->v_numdims)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:859:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_send(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:788:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pvec(d) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:922:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dcomp(v1, v2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:973:26: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(d = ft_numparse(&s, false))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:982:22: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = ft_getpnames(wl, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:984:30: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(n = ft_evaluate(pn))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1000:15: warning: passing arguments to 'vec_remove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_remove(newvec); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1001:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1002:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_name = copy(newvec); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1008:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_compdata = (complex *) tmalloc(i * sizeof (complex)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1010:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_realdata = (double *) tmalloc(i * sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1029:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1031:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_VECTOR, v->v_name); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:360:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_cross(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:960:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_cross(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1042:17: warning: passing arguments to 'killplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] killplot(plot_cur); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1047:25: warning: passing arguments to 'killplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] killplot(pl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1055:25: warning: passing arguments to 'killplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] killplot(pl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:367:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_destroy(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1036:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_destroy(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1078:17: warning: passing arguments to 'vec_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_free(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1095:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(pl->pl_title); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1096:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(pl->pl_name); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1097:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(pl->pl_typename); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1098:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(pl->pl_commands); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1066:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] killplot(pl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1113:20: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_setcur(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1129:21: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(s = gettok(&t))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1132:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_setcur(s); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:368:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_splot(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1106:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_splot(wl) ^ 167 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:69:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Init() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:71:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("hcopyscale", VT_STRING, psscale)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:95:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("hcopyfont", VT_STRING, psfont)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:97:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("hcopyfontsize", VT_STRING, psfontsize)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:132:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_NewViewport(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:214:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] graph->devdep = tmalloc(sizeof(PSdevdep)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:132:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PS_NewViewport(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Close() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:243:7: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DestroyGraph(hcopygraphid); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:244:31: warning: passing arguments to 'FindGraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] currentgraph = FindGraph(1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:248:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Clear() ^ /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:255:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:288:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:311:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Text(text, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:321:5: warning: call to undeclared function 'PS_SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PS_SetLinestyle(SOLID); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:311:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PS_Text(text, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:353:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("bad linestyleid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:341:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PS_SetLinestyle(linestyleid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:371:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_SetColor(colorid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:371:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:387:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Update() ^ 32 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:42:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("nopadding", VT_BOOL, (char *) &raw_padding)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:94:43: warning: passing arguments to 'dimstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fprintf(fp, "Dimensions: %s\n", dimstring(dims, numdims)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:101:22: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_varwl(vv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:108:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(wl, fp); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:129:29: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_typenames(v->v_type)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:150:39: warning: passing arguments to 'dimstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fprintf(fp, " dims=%s", dimstring(v->v_dims, v->v_numdims)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:375:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void raw_write(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_write(name, pl, app, binary) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:272:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix("title:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:276:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] title = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:277:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("date:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:281:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] date = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:282:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("plotname:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:295:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curpl = alloc(struct plot); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:298:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curpl->pl_name = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:300:14: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] date = copy(datestring( )); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:302:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curpl->pl_title = copy(title); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:305:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("flags:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:308:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (t = gettok(&s)) { ^ /Users/pbulk/build/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)) { ~~^~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:308:22: note: place parentheses around the assignment to silence this warning while (t = gettok(&s)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:308:22: note: use '==' to turn this assignment into an equality comparison while (t = gettok(&s)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:309:25: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(t, "real")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:311:30: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cieq(t, "complex")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:313:30: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cieq(t, "unpadded")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:315:30: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (cieq(t, "padded")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:322:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("no. variables:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:326:28: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nvars = scannum(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:327:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("no. points:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:331:30: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] npoints = scannum(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:332:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("dimensions:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:340:17: warning: passing arguments to 'atodims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (atodims(s, dims, &numdims)) { /* Something's wrong. */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:362:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("command:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:368:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:369:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:378:29: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_evloop(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:379:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("option:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:384:30: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_lexer(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:389:46: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_next = cp_setparse(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:391:48: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curpl->pl_env = cp_setparse(wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:395:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("variables:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:414:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:432:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&s); /* The index field. */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:433:31: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (t = gettok(&s)) ^ /Users/pbulk/build/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)) ~~^~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:433:23: note: place parentheses around the assignment to silence this warning if (t = gettok(&s)) ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:433:23: note: use '==' to turn this assignment into an equality comparison if (t = gettok(&s)) ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:439:27: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = gettok(&s); /* The type name. */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:441:42: warning: passing arguments to 'ft_typnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_type = ft_typnum(t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:448:61: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (isdigit(*v->v_name) && (r = ft_typabbrev(v ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:452:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_name = copy(buf2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:455:34: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (t = gettok(&s)) { ^ /Users/pbulk/build/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)) { ~~^~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:455:26: note: place parentheses around the assignment to silence this warning while (t = gettok(&s)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:455:26: note: use '==' to turn this assignment into an equality comparison while (t = gettok(&s)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:456:33: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix("min=", t)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:463:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("max=", t)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:470:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("color=", t)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:471:45: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_defcolor = copy(t + 6); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:472:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("scale=", t)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:475:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(t + 6); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:476:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("grid=", t)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:478:40: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scannum(t + 5); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:479:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("plot=", t)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:481:40: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scannum(t + 5); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:482:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("dims=", t)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:483:32: warning: passing arguments to 'fixdims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixdims(v, t + 5); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:501:55: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_realdata = (double *) tmalloc( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:504:56: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_compdata = (complex *) tmalloc( ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:507:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (ciprefix("values:", buf) || ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:508:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ciprefix("binary:", buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:528:33: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq((char *) v->v_scale, ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:376:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct plot *raw_read(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:239:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_read(name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:651:16: warning: passing arguments to 'atodims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (atodims(s, v->v_dims, &(v->v_numdims))) { /* Something's wrong. */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:645:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixdims(v, s) ^ 80 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:94:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *getcwd( ); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:89:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *getwd(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *sbrk(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:15: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:584:7: error: conflicting types for 'sbrk' void *sbrk(int); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: note: previous declaration is here extern char *sbrk(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:66:19: warning: passing arguments to 'sbrk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enddata = sbrk(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:72:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_time() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:95:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printres((char *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:98:32: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printres(cp_unquote(wl->wl_word)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:98:21: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printres(cp_unquote(wl->wl_word)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:103:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printres("cputime"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:105:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printres("totalcputime"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:107:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printres("space"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:380:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_rusage(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:89:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_rusage(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:148:25: warning: passing arguments to 'sbrk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage = (char *)sbrk(0) - enddata; ^ /Users/pbulk/build/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); ^~~~~ /Users/pbulk/build/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); ^~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:269:18: warning: passing arguments to 'sbrk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hi = sbrk(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:311:20: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = if_getstat(ft_curckt->ci_ckt, NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:313:20: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = if_getstat(ft_curckt->ci_ckt, name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:316:30: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(cp_varwl(v), cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:316:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(cp_varwl(v), cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:323:34: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(cp_varwl(v), cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:323:25: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_print(cp_varwl(v), cp_out); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:172:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printres(name) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int kill(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:378:39: warning: passing arguments to 'sbrk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] high = (char *) ((unsigned long) sbrk(0) & ~((1 << LOG2_PAGESIZE) - 1)); ^ 30 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:61:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(wl->wl_word, p->ci_name)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:73:28: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_kwswitch(CT_DEVNAMES, p->ci_devices); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:74:42: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, p->ci_nodes); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:396:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_scirc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:33:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_scirc(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:84:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim("pz", wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:389:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_pz(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:81:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_pz(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:92:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim("op", wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:388:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_op(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:89:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_op(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:100:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim("dc", wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:387:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_dc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:97:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_dc(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:108:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim("ac", wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:386:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_ac(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:105:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_ac(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:116:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim("tf", wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:395:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_tf(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_tf(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:124:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim("tran", wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:394:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_tran(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:121:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_tran(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:132:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim("sens", wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:390:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_sens(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:129:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_sens(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:140:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim("disto", wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:397:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_disto(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:137:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_disto(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:148:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim("noise", wl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:398:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_noise(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:145:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_noise(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:167:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ww = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:171:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ww->wl_word = copy(what); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:174:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("filetype", VT_STRING, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:203:19: warning: passing arguments to 'com_resume' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_resume((wordlist *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:238:23: warning: passing arguments to 'if_sens_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (if_sens_run(ft_curckt->ci_ckt, ww, ft_curckt->ci_symtab) == 1) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:248:21: warning: passing arguments to 'if_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] err = if_run(ft_curckt->ci_ckt, what, ww, ft_curckt->ci_symtab); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:153:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosim(what, wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:393:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_run(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:272:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_run(wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:399:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int ft_dorun(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:281:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_dorun(file) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:295:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_getOutReq(fpp, plotp, binp, name, title) ^ 48 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:22: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:22: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:22: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:55:42: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sprintf(buf, ".%s", wl_flatten(args)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:69:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"deleteTask"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:76:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"newTask"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:89:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"createOptions"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:109:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"createSense"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:132:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"createAC"); /* or similar error message */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:176:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"createOP"); /* or similar error message */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:198:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"createOP"); /* or similar error message */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:245:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"createTRAN"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:337:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err, "doAnalyses"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:426:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int if_sens_run(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_sens_run(t,args,tab) ^ 16 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int kill(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:70:12: warning: passing arguments to 'fperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fperror("Error", code); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:411:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern SIGNAL_TYPE sigfloat(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:67:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sigfloat(sig, code) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:84:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_ccon(false); ^ 9 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:22: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:22: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:22: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:51:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err, "CKTinit"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:56:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"newUid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:61:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"newTask"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:74:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"newUid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:81:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"createOptions"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:424:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *if_inpdeck(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:34:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_inpdeck(deck, tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:122:46: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) sprintf(buf, ".%s", wl_flatten(args)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:131:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"deleteTask"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:138:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"newUid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:144:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"newTask"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:157:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"newUid"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:164:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"createOptions"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:191:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err, "doAnalyses"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:200:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err, "doAnalyses"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:425:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int if_run(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:103:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_run(t, what, args, tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:319:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pval.sValue = copy(value); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:344:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err, "setAnalysisParm(options)"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:432:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int if_option(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:236:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_option(ckt, name, type, value) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:431:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void if_dump(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:373:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_dump(ckt, file) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:430:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void if_cktfree(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:384:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_cktfree(ckt, tab) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:423:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *if_errstring(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:401:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_errstring(code) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:431:27: warning: passing arguments to 'finddev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] typecode = finddev(ckt, *name,(GENERIC**) &dev,(GENERIC**) &mod); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:444:23: warning: passing arguments to 'doask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pv = doask(ckt, typecode, dev, mod, opt, ind); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:446:31: warning: passing arguments to 'parmtovar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tv = parmtovar(pv, opt); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:459:27: warning: passing arguments to 'finddev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] typecode = finddev(ckt, *name, (GENERIC**)&dev, (GENERIC**)&mod); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:467:25: warning: passing arguments to 'parmlookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] opt = parmlookup(device, &dev, param, do_model, 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:473:19: warning: passing arguments to 'doask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pv = doask(ckt, typecode, dev, mod, opt, ind); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:475:27: warning: passing arguments to 'parmtovar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = parmtovar(pv, opt); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:478:27: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (if_getstat(ckt, *name)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:429:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct variable *spif_getparam(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:412:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spif_getparam(ckt, name, param, ind, do_model) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:496:23: warning: passing arguments to 'finddev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] typecode = finddev(ckt, *name, (GENERIC**)&dev, (GENERIC**)&mod); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:502:21: warning: passing arguments to 'parmlookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] opt = parmlookup(device, &dev, param, do_model, 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:510:10: warning: passing arguments to 'doset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doset(ckt, typecode, dev, mod, opt, val); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:434:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void if_setparam(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:482:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_setparam(ckt, name, param, val, do_model) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:518:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct variable *vv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:543:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nv = alloc(struct variable); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:558:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv->va_name = copy(opt->description); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:514:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parmtovar(pv, opt) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:568:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parmlookup(dev, inptr, param, do_model, inout) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:639:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err, "if_getparam"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:618:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doask(ckt, typecode, dev, mod, opt, ind) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:676:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iptr = nval.v.vec.iVec = NEWN(int, n); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:652:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doset(ckt, typecode, dev, mod, opt, val) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:731:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finddev(ck, name, devptr, modptr) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:791:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int if_analQbyName(ckt,which,anal,name,parm) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:422:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool if_tranparams(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:815:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_tranparams(ci, start, stop, step) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:435:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct variable *if_getstat(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:858:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_getstat(ckt, name) ^ 61 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:62:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(!cp_getvar("substart", VT_STRING, start)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:64:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(!cp_getvar("subend", VT_STRING, sbend)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:66:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(!cp_getvar("subinvoke", VT_STRING, invoke)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:68:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(!cp_getvar("modelcard", VT_STRING, model)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:70:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(!cp_getvar("modelline", VT_STRING, model)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:72:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_getvar("nobjthack", VT_BOOL, (char *) &nobjthack); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:78:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix(start, c->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:109:14: warning: passing arguments to 'doit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ll = doit(deck); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:440:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct line *inp_subcktexpand(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:56:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_subcktexpand(deck) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:138:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix(sbend, last->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:142:26: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (prefix(start, last->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:148:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(submod); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:152:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix(sbend, c->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:160:34: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (prefix(start, c->li_line)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:168:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sss = alloc(struct subs); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:178:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:179:34: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sss->su_name = gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:180:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sss->su_args = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:211:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix(model, c->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:213:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:214:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:219:33: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:227:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(invoke, c->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:229:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = s = copy(c->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:230:32: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scname = gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:257:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] subname = copy(sss->su_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:258:35: warning: passing arguments to 'inp_deckcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lcc = inp_deckcopy(sss->su_def); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:261:33: warning: passing arguments to 'modtranslate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (modtranslate(lcc, scname)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:262:36: warning: passing arguments to 'devmodtranslate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] devmodtranslate(lcc, scname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:265:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&t); /* Throw out the name. */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:267:31: warning: passing arguments to 'translate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!translate(lcc, s, t, scname, subname)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:294:14: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ciprefix(invoke, c->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:117:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doit(deck) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:320:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->li_next = alloc(struct line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:323:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nd = d = alloc(struct line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:325:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->li_line = copy(deck->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:327:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->li_error = copy(deck->li_error); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:439:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct line *inp_deckcopy(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:313:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_deckcopy(deck) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:350:17: warning: passing arguments to 'settrans' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = settrans(formal, actual, subname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:374:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:378:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(name); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:382:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = tmalloc(10000); /* XXXXX */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:392:30: warning: passing arguments to 'numnodes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nnodes = numnodes(c->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:394:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:400:25: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = gettrans(name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:408:29: warning: passing arguments to 'numdevs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nnodes = numdevs(c->li_line); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:410:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:430:23: warning: passing arguments to 'finishLine' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finishLine(buffer + strlen(buffer), s, scname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:434:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(c->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:435:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c->li_line = copy(buffer); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:436:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(buffer); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:342:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] translate(deck, formal, actual, scname, subname) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:485:25: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = gettrans(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:521:15: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = gettrans(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:442:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finishLine(dst, src, scname) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:552:32: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] table[i].t_old = gettok(&formal); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:553:32: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] table[i].t_new = gettok(&actual); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:546:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] settrans(formal, actual, subname) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:568:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gettrans(name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:616:21: warning: passing arguments to 'inp_numnodes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = inp_numnodes(c); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:620:22: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:628:15: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = gettok(&s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:582:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] numnodes(name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:636:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] numdevs(s) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:671:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix(model, c->li_line)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:674:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:675:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = tmalloc(strlen(name) + strlen(t) + ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:678:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:679:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlsub = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:688:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(c->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:691:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:692:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(struct wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:697:33: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:659:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modtranslate(deck, subname) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:719:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = tmalloc(strlen(t) + strlen(subname) + 4); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:725:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:727:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:729:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:733:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:749:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:764:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:769:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:771:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:773:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:775:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:790:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:798:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:800:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:802:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:804:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:806:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:821:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:828:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:830:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:832:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:834:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:836:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:838:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:853:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:858:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:860:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:862:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:864:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:866:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:882:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = gettok(&t); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:897:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s->li_line); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:902:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(buffer); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:704:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] devmodtranslate(deck, subname) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:441:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int inp_numnodes(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:915:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_numnodes(c) ^ 116 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:105:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = copy(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:107:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] abb = copy(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:109:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(types[i].t_name, name)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:125:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = copy(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:129:25: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(plotabs[i].p_pattern, wl->wl_word)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:141:48: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plotabs[noplotabs].p_pattern = copy(wl->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:445:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_dftype(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:95:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_dftype(wl) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:447:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *ft_typabbrev(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:157:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_typabbrev(typenum) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:448:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *ft_typenames(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:169:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_typenames(typenum) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:189:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(name, types[i].t_name)) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:450:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int ft_typnum(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:181:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_typnum(name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:210:22: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substring(plotabs[i].p_pattern, buf)) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:449:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *ft_plotabbrev(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:197:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_plotabbrev(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:236:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = vec_get(wl->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:446:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_stype(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:219:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_stype(wl) ^ 25 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:53:22: warning: passing arguments to 'raw_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl = raw_read(file); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:69:17: warning: passing arguments to 'plot_add' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_add(pl); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:467:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ft_loadfile(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:47:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_loadfile(file) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:90:40: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_cur->pl_ccom = cp_kwswitch(CT_VECTOR, pl->pl_ccom); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:93:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_VECTOR, v->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:94:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_VECTOR, "all"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:96:28: warning: passing arguments to 'ft_plotabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(s = ft_plotabbrev(pl->pl_name))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:101:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(tp->pl_typename, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:107:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_typename = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:108:13: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_new(pl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:109:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOT, buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:110:30: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_ccom = cp_kwswitch(CT_VECTOR, (char *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:111:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_setcur(pl->pl_typename); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:464:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void plot_add(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:79:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_add(pl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:125:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(name, ov->v_name) && (ov->v_flags & VF_PERMANENT)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:134:16: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_remkword(CT_VECTOR, name); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:470:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void vec_remove(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:119:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_remove(name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:150:16: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = findvec(word, plot); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:156:20: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = findvec(buf, plot); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:163:20: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = findvec(buf, plot); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:171:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (prefix("i(", /* ) */ word)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:176:20: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = findvec(buf, plot); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:456:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *vec_fromplot(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:143:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_fromplot(word, plot) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:207:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wd = word = copy(word); /* Gets mangled below... */ ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:214:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(buf, "all")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:218:52: warning: passing arguments to 'plot_prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (pl = plot_list; pl && !plot_prefix(buf, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:237:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(pl->pl_typename, "const")) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:276:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vv = (*if_getparam)(ft_curckt->ci_ckt, &name, param, 0, 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:285:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:286:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:288:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->v_name = copy(word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:291:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->v_realdata = (double *) tmalloc(sizeof (double)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:294:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:298:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(wd); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:299:21: warning: passing arguments to 'sortvecs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (sortvecs(d)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:458:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *vec_get(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:198:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_get(word) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:317:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(word, "all")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:321:33: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = vec_copy(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:322:28: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(v); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:336:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(word, d->v_name) && (d->v_flags & VF_PERMANENT)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:341:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(buf, d->v_name) && (d->v_flags & VF_PERMANENT)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:345:21: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = vec_copy(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:346:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:307:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findvec(word, pl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:365:25: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_evloop(wl->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:469:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void plot_docoms(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:357:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_docoms(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:385:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nv = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:386:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nv->v_name = copy(v->v_name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:391:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nv->v_realdata = (double *) tmalloc(sizeof (double) * ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:398:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nv->v_compdata = (complex *) tmalloc(sizeof (complex) * ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:457:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *vec_copy(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:376:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_copy(v) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:433:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct plot *pl = alloc(struct plot), *tp; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:438:28: warning: passing arguments to 'ft_plotabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(s = ft_plotabbrev(name))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:443:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(tp->pl_typename, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:448:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_typename = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:449:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_PLOT, buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:450:20: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_kwswitch(CT_VECTOR, (char *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:451:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_addkword(CT_VECTOR, "all"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:452:30: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_ccom = cp_kwswitch(CT_VECTOR, s); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:461:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct plot *plot_alloc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:430:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_alloc(name) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:468:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void vec_new(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:459:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_new(d) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:504:25: warning: passing arguments to 'vec_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_free(d); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:555:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(v->v_name); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:557:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(v->v_realdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:559:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(v->v_compdata); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:561:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(v); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:465:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void vec_free(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:524:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_free(v) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:578:22: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s1 = vec_basename(v1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:579:22: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s2 = vec_basename(v2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:581:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(s1, s2)) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:454:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool vec_eq(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:570:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_eq(v1, v2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:602:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(v->v_plot->pl_typename, buf)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:619:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (copy(s)); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:474:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *vec_basename(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:592:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_basename(v) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:637:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] array = (struct dvec **) tmalloc(i * sizeof (struct dvec *)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:648:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(array); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:627:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sortvecs(d) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:658:21: warning: passing arguments to 'namecmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((i = namecmp((*d1)->v_plot->pl_typename, ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:661:20: warning: passing arguments to 'namecmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (namecmp((*d1)->v_name, (*d2)->v_name)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:653:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] veccmp(d1, d2) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:669:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] namecmp(s, t) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:706:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(name, "new")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:708:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_title = copy("Anonymous"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:709:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_name = copy("unknown"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:710:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_date = copy(datestring( )); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:711:17: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_new(pl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:716:24: warning: passing arguments to 'plot_prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (plot_prefix(name, pl->pl_typename)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:723:40: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_cur->pl_ccom = cp_kwswitch(CT_VECTOR, pl->pl_ccom); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:472:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void plot_setcur(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:701:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_setcur(name) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:473:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void plot_new(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:733:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_new(pl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:783:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newreal = (double *) tmalloc(sizeof (double) * v->v_length); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:797:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(oldreal); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:800:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newcomp = (complex *) tmalloc(sizeof (complex) * v->v_length); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:816:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(oldcomp); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:476:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void vec_transpose(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:749:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_transpose(v) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:843:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = d->v_link2 = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:846:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = vecs = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:854:14: warning: passing arguments to 'indexstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] indexstring(count, v->v_numdims - 1)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:855:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->v_name = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:871:47: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->v_realdata = (double *) tmalloc(totalsize); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:876:47: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->v_realdata = (double *) tmalloc(totalsize); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:881:17: warning: passing arguments to 'incindex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) incindex(count, v->v_numdims - 1, v->v_dims, v->v_numdims); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:459:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *vec_mkfamily(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:827:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec_mkfamily(v) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:475:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool plot_prefix(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:893:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] plot_prefix(pre, str) ^ 125 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//x10.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:24: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Init() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:102:15: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("display", VT_STRING, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:105:4: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("Can't open X display."); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:147:19: warning: incompatible function pointer types passing 'void (Display *, XErrorEvent *)' (aka 'void (struct _XDisplay *, XErrorEvent *)') to parameter of type 'XErrorHandler' (aka 'int (*)(struct _XDisplay *, XErrorEvent *)') [-Wincompatible-function-pointer-types] XSetErrorHandler(errorhandler); ^~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/.buildlink/include/X11/Xlib.h:1854:1: note: passing argument to parameter here ); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:159:2: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] externalerror(ErrorMessage); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_NewViewport(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:207:24: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] graph->devdep = calloc(1, sizeof(X11devdep)); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:250:16: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("font", VT_STRING, fontname)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:267:8: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror(ErrorMessage); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:301:12: warning: passing arguments to 'initcolors' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initcolors(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:169:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] X11_NewViewport(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:360:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar(buf, VT_STRING, colorstring)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:367:3: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] externalerror(ErrorMessage); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:327:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initcolors(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:394:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Close() ^ /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:399:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:418:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("x11lineararcs", VT_BOOL, (char *) &t1)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:419:12: warning: passing arguments to 'linear_arc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] linear_arc(x0, y0, radius, theta1, theta2); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:446:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Text(text, x, y) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:446:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/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) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:470:2: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("X11_DefineColor not implemented."); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:466:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] X11_DefineColor(colorid, red, green, blue) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:476:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_DefineLinestyle(linestyleid, mask) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:480:2: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("X11_DefineLinestyle not implemented."); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:476:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] X11_DefineLinestyle(linestyleid, mask) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:483:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_SetLinestyle(linestyleid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:483:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:518:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_SetColor(colorid) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:518:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:528:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Update() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:536:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Clear() ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:558:2: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PushGraphContext(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:560:2: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetColor(1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:561:2: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Text(text, keyev->x, graph->absolute.height - keyev->y); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:563:2: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SaveText(graph, text, keyev->x, graph->absolute.height - keyev->y); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:568:2: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PopGraphContext(); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:41:31: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:545:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handlekeypressed(w, clientdata, calldata) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:600:6: warning: call to undeclared function 'zoomin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] zoomin((GRAPH *) clientdata); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:41:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:588:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handlebuttonev(w, clientdata, calldata) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:652:16: warning: passing arguments to 'X_ScreentoData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] X_ScreentoData(graph, x0, y0, &fx0, &fy0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:653:16: warning: passing arguments to 'X_ScreentoData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] X_ScreentoData(graph, x1, y1, &fx1, &fy1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:688:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] zoomin(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:750:16: warning: passing arguments to 'X_ScreentoData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] X_ScreentoData(graph, x0, y0, &fx0, &fy0); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:751:16: warning: passing arguments to 'X_ScreentoData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] X_ScreentoData(graph, x1, y1, &fx1, &fy1); ^ /Users/pbulk/build/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, ':')) ~~^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:765:8: note: place parentheses around the assignment to silence this warning if (t = index(buf2, ':')) ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:765:8: note: use '==' to turn this assignment into an equality comparison if (t = index(buf2, ':')) ^ == /Users/pbulk/build/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", ~~^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/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", ~~^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/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", ~~^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/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", ~~^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:771:31: warning: data argument not used by format string [-Wformat-extra-args] buf2, graph->commandline, fx0, fx1, fy0, fy1); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:781:15: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("plothistory", VT_BOOL, (char *) &dummy)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:782:17: warning: passing arguments to 'cp_parse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = cp_parse(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:783:24: warning: passing arguments to 'cp_addhistent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_addhistent(cp_event++, wl); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:787:18: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) cp_evloop(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:688:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zoomin(graph) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:798:14: warning: passing arguments to 'com_hardcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_hardcopy(NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:41:62: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:792:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hardcopy(w, client_data, call_data) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:812:2: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DestroyGraph(graph->graphid); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:41:51: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:803:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] killwin(w, client_data, call_data) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:860:2: warning: call to undeclared function 'gr_redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gr_redraw(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:42:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redraw(), resize(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:819:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redraw(w, client_data, call_data) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:886:2: warning: call to undeclared function 'gr_resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gr_resize(graph); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:42:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redraw(), resize(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:868:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resize(w, client_data, call_data) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:961:34: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] response->reply.ch = inchar(request->fp); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:975:6: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] internalerror("button_option not implemented"); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:1003:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] X_ScreentoData(graph, x, y, fx, fy) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:1040:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] linear_arc(x0,y0,radius,theta1,theta2) ^ 85 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:2: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:3: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:3: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:3: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:3: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:6: In file included from /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/smpdefs.h:13: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:7: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:15:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wl_forall(wl, fn, data) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:21:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*fn)(wl, data); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_forall(wl, fn, data) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:37:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dg = NEW(dgen); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:59:29: note: expanded from macro 'NEW' #define NEW(TYPE) ((TYPE *) MALLOC(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:78:11: warning: passing arguments to 'dgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dgen_next(&dg); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:11: /Users/pbulk/build/cad/spice/work/src/include/dgen.h:26:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern dgen *dgen_init( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dgen_init(ckt, wl, nomix, flag, model) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:102:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j = (*fn)(dgxp, data, subindex); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:105:12: warning: passing arguments to 'dgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dgen_next(&dgxp); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dgen_for_n(dg, n, fn, data, subindex) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dgen_nth_next(dg, n) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:120:12: warning: passing arguments to 'dgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dgen_next(dg); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dgen_nth_next(dg, n) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:317:17: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || !ciprefix(subckt, dev_name + 1))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:125:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dgen_next(dgx) ^ 25 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/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, '[')) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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, '[')) ^ ( ) /Users/pbulk/build/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, '[')) ^ == /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:152:24: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vname = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:153:18: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dv = vec_get(vname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:166:24: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vname = cp_unquote(w2->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:168:18: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dv = vec_get(vname); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:208:10: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(vname); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/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); ~~~^~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:210:17: note: place parentheses around the assignment to silence this warning } while (wl = wlast); ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:210:17: note: use '==' to turn this assignment into an equality comparison } while (wl = wlast); ^ == In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:517:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_reshape(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_reshape(wl) ^ 19 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:24:32: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (buf = (char *) malloc(BSIZE_SP*sizeof(char))) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dimstring( data, length ) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:60:32: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (buf = (char *) malloc(BSIZE_SP*sizeof(char))) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:53:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] indexstring( data, length ) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:88:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] incindex(counts, numcounts, dims, numdims) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:116:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emptydims( data, length ) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:145:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] atodims( p, data, outlength ) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:241:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skipdims( p ) ^ 17 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:46:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth)) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:50:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!cp_getvar("pointstyle", VT_STRING, pointstyle)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:53:10: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(pointstyle,"markers")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:95:19: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text = cp_unquote(title); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:97:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(text); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:100:19: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text = cp_unquote(xlabel); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:102:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(text); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:105:19: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text = cp_unquote(ylabel); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:107:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(text); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_xgraph(xlims, ylims, filename, title, xlabel, ylabel, ^ 14 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:43:16: warning: passing arguments to 'com_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_run((wordlist *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:49:5: warning: call to undeclared function 'reset_trace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] reset_trace( ); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:54:17: warning: passing arguments to 'if_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] err = if_run(ft_curckt->ci_ckt, "resume", (wordlist *) NULL, ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:392:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_resume(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:35:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_resume(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:91:15: warning: passing arguments to 'if_cktfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_cktfree(ft_curckt->ci_ckt, ft_curckt->ci_symtab); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:94:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(v); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:98:15: warning: passing arguments to 'inp_dodeck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_dodeck(ft_curckt->ci_deck, ft_curckt->ci_name, (wordlist *) NULL, ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:391:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_rset(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:81:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_rset(wl) ^ 14 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:34:13: warning: passing arguments to 'settrace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] settrace(wl, VF_ACCUM, NULL); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void com_save(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:31:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_save(wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:43:13: warning: passing arguments to 'settrace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] settrace(wl, VF_ACCUM, name); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:39:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_save2(wl, name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:57:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_unquote(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:58:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = alloc(struct dbcomm); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:71:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->db_nodename1 = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:88:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d->db_nodename1 = copy(s); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:19:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void settrace( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:48:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] settrace(wl, what, name) ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:118:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmalloc(sizeof (struct save_info) * count); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:124:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] array[i].analysis = (IFuid *) copy(d->db_analysis); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:127:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] array[i++].name = copy(d->db_nodename1); ^ /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:103:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_getSaves(savesp) ^ 19 warnings and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "all" in hlp gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:11: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:31:44: warning: passing arguments to 'findglobalsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(place = findglobalsubject(wl->wl_word))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:37:33: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(top = hlp_read(place))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:42:24: warning: passing arguments to 'hlp_provide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_provide(top); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:46:40: warning: passing arguments to 'findglobalsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(place = findglobalsubject("main"))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:50:29: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(top = hlp_read(place))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:54:20: warning: passing arguments to 'hlp_provide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_provide(top); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void hlp_main(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_main(path, wl) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:75:20: warning: passing arguments to 'findsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fpos = findsubject(*dict, subject); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:77:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place = (fplace *) tmalloc(sizeof(fplace)); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:79:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place->filename = copy(*dict); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:80:27: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place->fp = hlp_fopen(*dict); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:125:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern fplace *findglobalsubject(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:65:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findglobalsubject(subject) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:95:15: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(*s, filename)) return(true); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool hlp_approvedfile(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:89:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_approvedfile(filename) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:113:15: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cieq(filename, hlp_ftable[i].filename)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:123:16: warning: passing arguments to 'hlp_pathfix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_pathfix(buf); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:124:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern FILE *hlp_fopen(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:102:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILE *hlp_fopen(filename) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:150:22: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = cp_tildexpand(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:173:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(s); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:131:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void hlp_pathfix(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:138:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_pathfix(buf) ^ 28 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:15: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:38:26: warning: passing arguments to 'hlp_xdisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!hlp_xdisplay(top)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:43:26: warning: passing arguments to 'hlp_tdisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!hlp_tdisplay(top)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:55:30: warning: passing arguments to 'hlp_xhandle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res = hlp_xhandle(&parent); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:57:30: warning: passing arguments to 'hlp_thandle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res = hlp_thandle(&parent); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:60:27: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_killfamily(top); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:68:26: warning: passing arguments to 'hlp_xwait' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_xwait(parent, true); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:69:36: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(newtop = hlp_read(res->place))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:71:26: warning: passing arguments to 'hlp_xwait' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_xwait(parent, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:75:26: warning: passing arguments to 'hlp_xwait' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_xwait(parent, false); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:82:34: warning: passing arguments to 'hlp_xdisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!hlp_xdisplay(newtop)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:87:34: warning: passing arguments to 'hlp_tdisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!hlp_tdisplay(newtop)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:94:27: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_killfamily(parent); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:95:24: warning: passing arguments to 'hlp_fixchildren' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_fixchildren(parent); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:16: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void hlp_provide(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_provide(top) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:16: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:146:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void hlp_fixchildren(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:104:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_fixchildren(parent) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:140:21: warning: passing arguments to 'hlp_xkillwin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_xkillwin(top); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:142:21: warning: passing arguments to 'hlp_tkillwin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_tkillwin(top); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:16: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:145:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void hlp_killfamily(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:132:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_killfamily(top) ^ 24 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:13: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:56:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] topic *top = alloc(topic); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:67:29: warning: passing arguments to 'copy_fplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] top->place = copy_fplace(place); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:70:42: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!place->fp) place->fp = hlp_fopen(place->filename); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:78:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] top->title = copy(&buf[7]); /* don't copy "TITLE: " */ ^ /Users/pbulk/build/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' || ~~~~~^~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:84:16: note: place parentheses around the assignment to silence this warning if (*buf = '\0' || ^ ( /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:84:16: note: use '==' to turn this assignment into an equality comparison if (*buf = '\0' || ^ == /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:99:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = alloc(wordlist); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:100:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl->wl_word = copy(&buf[6]); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:119:40: warning: passing arguments to 'getsubtoplink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (topiclink = getsubtoplink(&s)) { ^ /Users/pbulk/build/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)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:119:25: note: place parentheses around the assignment to silence this warning if (topiclink = getsubtoplink(&s)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:119:25: note: use '==' to turn this assignment into an equality comparison if (topiclink = getsubtoplink(&s)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:136:40: warning: passing arguments to 'getsubtoplink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (topiclink = getsubtoplink(&s)) { ^ /Users/pbulk/build/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)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:136:25: note: place parentheses around the assignment to silence this warning if (topiclink = getsubtoplink(&s)) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:136:25: note: use '==' to turn this assignment into an equality comparison if (topiclink = getsubtoplink(&s)) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:150:37: warning: passing arguments to 'getsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tl->description = getsubject(tl->place); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:152:37: warning: passing arguments to 'getsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tl->description = getsubject(tl->place); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:154:13: warning: passing arguments to 'sortlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sortlist(&top->seealso); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:15: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:129:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern topic *hlp_read(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:52:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_read(place) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:176:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tl = alloc(toplink); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/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, ':')) { ~~~~^~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:177:13: note: place parentheses around the assignment to silence this warning if (tmp = index(s, ':')) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:177:13: note: use '==' to turn this assignment into an equality comparison if (tmp = index(s, ':')) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:178:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tl->place = alloc(fplace); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:183:17: warning: passing arguments to 'strtolower' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strtolower(tl->place->filename); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:186:28: warning: passing arguments to 'hlp_approvedfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!hlp_approvedfile(tl->place->filename)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:187:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl->place); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:188:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:196:32: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tl->place->fp = hlp_fopen(tl->place->filename); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:201:36: warning: passing arguments to 'findsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tl->place->fpos = findsubject(tl->place->filename, subject); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:203:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl->place); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:204:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:215:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl->place); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:216:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:165:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static toplink *getsubtoplink(ss) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:240:16: warning: passing arguments to 'hlp_pathfix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_pathfix(buf); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:15: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern long findsubject(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:226:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findsubject(filename, subject) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:264:42: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!place->fp) place->fp = hlp_fopen(place->filename); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:272:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (copy(&buf[9])); /* don't copy "SUBJECT: " */ ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:259:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getsubject(place) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:286:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vec = (toplink **) tmalloc(sizeof (toplink *) * num); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:294:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(vec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:276:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sortlist(tlp) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:299:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sortcmp(tlp1, tlp2) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:312:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(top->title); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:313:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(top->place); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:314:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl_free(top->text); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:315:15: warning: passing arguments to 'tlfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tlfree(top->subtopics); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:316:15: warning: passing arguments to 'tlfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tlfree(top->seealso); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:317:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(top); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:330:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl->description); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:331:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl->place->filename); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:332:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl->place); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:335:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(tl); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:324:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tlfree(tl) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:348:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newplace->filename = copy(place->filename); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:342:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_fplace(place) ^ 56 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:37:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("\n\t%s\n", top->title); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:39:16: warning: passing arguments to 'putline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putline(wl->wl_word); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:41:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("\tSub-Topics:\n\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:42:21: warning: passing arguments to 'putstuff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = putstuff(top->subtopics, 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:45:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("\n\tSee Also:\n\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:46:24: warning: passing arguments to 'putstuff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) putstuff(top->seealso, i); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:48:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("\n"); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:16: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:164:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool hlp_tdisplay(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:28:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_tdisplay(top) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:16: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:165:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern toplink *hlp_thandle(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:53:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_thandle(parent) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:16: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void hlp_tkillwin(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:131:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_tkillwin(top) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:158:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%s\n", buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:144:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putline(s) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:196:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("%2d) %-*s ", base + j * nrows + i + ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:203:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_printf("\n"); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:167:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstuff(tl, base) ^ 21 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:8: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:8: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:117:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = tmalloc(80 * top->numlines + 100); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:120:15: warning: passing arguments to 'sputline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sputline(buf, wl->wl_word); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:9: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool hlp_xdisplay(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_xdisplay(top) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:216:28: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(newtop = hlp_read(result->place))) { ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void newtopic(), delete(), quit(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:208:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newtopic(w, client_data, call_data) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:239:19: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_killfamily(top); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:240:20: warning: passing arguments to 'hlp_fixchildren' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_fixchildren(top); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:22:18: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void newtopic(), delete(), quit(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:232:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete(w, client_data, call_data) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:252:19: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_killfamily(parent ? parent : top); ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:22:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void newtopic(), delete(), quit(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:244:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] quit(w, client_data, call_data) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:9: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void hlp_xkillwin(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:256:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_xkillwin(top) ^ /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:282:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sputline(buf, s) ^ 20 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:7: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:7: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:8: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:148:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void hlp_xwait(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:587:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ void hlp_xwait(top, on) topic *top; bool on; { } ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:8: /Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:144:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern toplink *hlp_xhandle(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:589:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toplink * hlp_xhandle(pp) topic **pp; { *pp = NULL; return (NULL); } ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "all" in inp gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//ifeval.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifeval.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//ifeval.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IFeval(tree, gmin, result, vals, derivs) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//ifeval.c:57:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTeval(tree, gmin, res, vals) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//ifeval.c:80:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *res = (*tree->function)(r1); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//ifeval.c:99:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *res = (*tree->function)(r1, r2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//ifeval.c:57:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTeval(tree, gmin, res, vals) ^ 8 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:13: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IFnewUid(ckt,newuid,olduid,suffix,type,nodedata) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:30:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MALLOC(sizeof(char)*(strlen(suffix)+strlen((char*)olduid)+2)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:34:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newname=(char *)MALLOC(sizeof(char)* ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:65:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IFdelUid(ckt,uid,type) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:83:21: warning: call to undeclared function 'INPremTerm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error = INPremTerm(uid, (INPtables *)ft_curckt->ci_symtab); ^ 15 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2B(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2C(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2D(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2dot(ckt,tab,current,task,gnode) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:99:26: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] if( *name == (char)NULL) break; /* end of line */ ^~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:384:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MALLOC(sizeof(char)*(5+strlen(nname1)+strlen(nname2))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:390:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptemp.sValue = (char *)MALLOC(sizeof(char)*(4+strlen(nname1))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:504:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MALLOC(sizeof(char)*(5+strlen(nname1)+strlen(nname2))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:510:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptemp.sValue = (char *)MALLOC(sizeof(char)*(4+strlen(nname1))); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 10 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2E(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2F(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2G(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2H(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2I(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2J(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2K(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2L(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2M(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2O(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2Q(ckt,tab,current,gnode) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2R(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2S(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2T(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2U(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2V(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2W(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INP2Z(ckt,tab,current) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:18: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPaName(parm,val,ckt,dev,devnam,fast,sim,dataType,selector) ^ 11 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:12: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPapName(ckt,type,analPtr,parmname,value) ^ 11 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpcfix.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/inp//inpcfix.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPcaseFix(string) ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdomod.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdomod.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdomod.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPdomodel(ckt,image,tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdomod.c:160:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] err = (char *)MALLOC(35 + strlen(typename)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:18: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPdoOpts(ckt,anal,optCard,tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:59:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errmsg = (char *)MALLOC((45+strlen(token)) * sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:73:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errmsg =(char *)MALLOC((35+strlen(token))*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:83:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errmsg = (char *)MALLOC(100 * sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 14 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:21: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPdevParse(line,ckt,dev,fast,leading,waslead,tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:68:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errbuf = MALLOC(strlen(parm)+25); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 12 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inperrc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inperrc.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inperrc.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPerrCat(a,b) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inperrc.c:27:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errtmp = (char *)MALLOC( (strlen(a) + strlen(b)+2)*sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inperror.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inperror.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inperror.c:26:18: warning: passing arguments to 'SPerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] val = SPerror(type); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inperror.c:37:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] val = MALLOC(strlen(ebuf) + 1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inperror.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPerror(type) ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpeval.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpeval.c:10: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inpeval.c:14:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPevaluate(line,error,gobble) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpeval.c:31:18: warning: call to undeclared function 'INPgetUTok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *error = INPgetUTok(line,&token,1); ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:12: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:14: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPfindLev(line,level) ^ 3 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:12: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPgetMod(ckt,name,model,tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:41:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] err = (char *)MALLOC((35+strlen(name)) * sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:82:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp = (char *)MALLOC((40+strlen(parm)) * sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:98:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] err = (char *)MALLOC((60+strlen(name)) * sizeof(char)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 14 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:17: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPgetTitle(ckt,data) ^ 11 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:17: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPgetTok(line,token,gobble) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:54:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *token=(char *)MALLOC(1+point-*line); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:148:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *token=(char *)MALLOC(1+point-*line); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:79:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPgetUTok(line,token,gobble) ^ 6 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgval.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgval.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgval.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPgetValue(ckt,line,type,tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgval.c:39:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] list = (double *)MALLOC(sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgval.c:44:28: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] list=(double *)REALLOC((char *)list,temp.v.numValue*sizeof(double)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgval.c:51:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ilist = (int *)MALLOC(sizeof(int)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgval.c:56:26: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ilist=(int *)REALLOC((char *)ilist,temp.v.numValue*sizeof(int)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgval.c:71:9: warning: call to undeclared function 'INPgetStr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] INPgetStr(line,&word,1); ^ 9 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpkmods.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpkmods.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inplist.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inplist.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inplist.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPlist(file,deck,type) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inplkmod.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inplkmod.c:11: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inplkmod.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPlookMod(name) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpmkmod.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpmkmod.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inpmkmod.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPmakeMod(token,type,line) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpmkmod.c:31:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *i = (INPmodel *)MALLOC(sizeof(INPmodel)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpmktmp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpmktmp.c:12: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inpmktmp.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPmkTemp(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpmktmp.c:24:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp = MALLOC(len+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas1.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas1.c:9: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas1.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPpas1(ckt,deck,tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas1.c:26:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *INPdomodel(); ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:11: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPpas2(ckt,data,tab,task) ^ 5 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *malloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc' void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *calloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc' void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *realloc(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/misc.h:8: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:128: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc' void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:16: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:22:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPpName(parm,val,ckt,dev,fast) ^ 11 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:7: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:8: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:99:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPgetTree(line, pt, ckt, tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:115:16: warning: passing arguments to 'PTparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = PTparse(line); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:117:23: warning: passing arguments to 'PTcheck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!p || !PTcheck(p)) { ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:122:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*pt) = (INPparseTree *) MALLOC(sizeof (INPparseTree)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:131:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MALLOC(numvalues * sizeof (INPparseNode *)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:134:43: warning: passing arguments to 'PTdifferentiate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*pt)->derivs[i] = PTdifferentiate(p, i); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:159:21: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkcon((double) 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:165:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkcon((double) 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:167:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkcon((double) 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:174:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(p->type, arg1, arg2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:182:32: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_PLUS, mkb(PT_TIMES, arg1, p->right), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:183:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_TIMES, p->left, arg2)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:182:19: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_PLUS, mkb(PT_TIMES, arg1, p->right), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:191:48: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:192:31: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->right), mkb(PT_TIMES, p->left, arg2)), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:191:34: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:193:46: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_POWER, p->right, mkcon((double) 2))); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:193:20: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_POWER, p->right, mkcon((double) 2))); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:191:19: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:204:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon(p->right->constant), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:206:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon(p->right->constant - 1))), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:205:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_POWER, p->left, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:203:37: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_TIMES, mkb(PT_TIMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:203:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_TIMES, mkb(PT_TIMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:215:34: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->right, mkf(PTF_LN, p->left))), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:214:50: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_TIMES, mkf(PTF_EXP, mkb(PT_TIMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:214:37: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_TIMES, mkf(PTF_EXP, mkb(PT_TIMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:217:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_DIVIDE, arg1, p->left)), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:216:37: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_PLUS, mkb(PT_TIMES, p->right, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:219:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkf(PTF_LN, arg1)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:218:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_TIMES, arg2, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:216:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_PLUS, mkb(PT_TIMES, p->right, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:214:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_TIMES, mkf(PTF_EXP, mkb(PT_TIMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:230:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkf(PTF_SGN, p->left, 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:234:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkcon((double) 0.0); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:238:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:239:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_MINUS, mkcon((double) 1), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:240:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_POWER, p->left, mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:240:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_POWER, p->left, mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:239:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_MINUS, mkcon((double) 1), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:238:58: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:238:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:245:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:247:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon((double) 2)), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:246:38: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_MINUS, mkb(PT_POWER, p->left, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:248:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon((double) 1)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:246:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_MINUS, mkb(PT_POWER, p->left, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:245:57: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:245:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:253:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:254:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_MINUS, mkcon((double) 1), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:255:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_POWER, p->left, mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:255:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_POWER, p->left, mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:254:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_MINUS, mkcon((double) 1), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:253:57: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:253:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:260:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:262:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon((double) 2)), ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:261:37: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_PLUS, mkb(PT_POWER, p->left, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:263:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon((double) 1)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:261:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_PLUS, mkb(PT_POWER, p->left, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:260:57: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:260:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:267:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:268:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_POWER, p->left, mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:268:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(PT_POWER, p->left, mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:269:31: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 2)), mkcon((double) 1))); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:267:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:267:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:273:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:274:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon((double) 1), mkb(PT_POWER, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:275:35: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->left, mkcon((double) 2)))); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:274:43: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon((double) 1), mkb(PT_POWER, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:273:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:273:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:279:39: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkf(PTF_UMINUS, mkf(PTF_SIN, p->left)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:279:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkf(PTF_UMINUS, mkf(PTF_SIN, p->left)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:283:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkf(PTF_SINH, p->left); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:287:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkf(PTF_EXP, p->left, 0); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:291:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), p->left); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:291:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), p->left); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:295:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) M_LOG10E), p->left); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:295:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) M_LOG10E), p->left); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:299:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkf(PTF_COS, p->left); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:303:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkf(PTF_COSH, p->left); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:307:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:308:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon((double) 2), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:308:43: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon((double) 2), mkf(PTF_SQRT, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:307:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:307:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:313:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:314:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkf(PTF_COS, p->left), mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:314:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkf(PTF_COS, p->left), mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:313:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:313:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:319:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:320:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkf(PTF_COSH, p->left), mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:320:50: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkf(PTF_COSH, p->left), mkcon((double) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:319:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:319:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:325:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkcon((double) 0.0); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:329:16: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkf(PTF_USTEP, p->left); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:333:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arg1 = mkcon((double) - 1.0); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:345:19: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newp = mkb(PT_TIMES, arg1, arg2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:149:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTdifferentiate(p, varnum) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:363:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:360:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcon(value) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:376:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:427:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (mkf(PTF_UMINUS, right)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:372:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkb(type, left, right) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:462:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:475:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] constval = ((*funcs[i].funcptr) (arg->constant)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:458:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkf(type, arg) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:492:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTcheck(p) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:554:19: warning: passing arguments to 'PTlexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = PTlexer(line); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:574:27: warning: passing arguments to 'PTlexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = PTlexer(line); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:612:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = makepnode(&stack[st]); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:617:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lpn = makepnode(&stack[st]); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:620:29: warning: passing arguments to 'mkfnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = mkfnode("-", lpn); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:623:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = makepnode(&stack[sp + 1]); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:628:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lpn = makepnode(&stack[sp + 2]); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:631:35: warning: passing arguments to 'mkfnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(pn = mkfnode(stack[sp].value.string, lpn))) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:634:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lpn = makepnode(&stack[sp]); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:635:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rpn = makepnode(&stack[st]); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:638:29: warning: passing arguments to 'mkbnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = mkbnode(stack[sp + 1].token, lpn, rpn); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:646:19: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pn = makepnode(&stack[1]); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:545:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTparse(line) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:668:24: warning: passing arguments to 'mksnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (mksnode(elem->value.string)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:671:24: warning: passing arguments to 'mknnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (mknnode(elem->value.real)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:660:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makepnode(elem) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:701:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:685:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkbnode(opnum, arg1, arg2) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:728:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:731:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = MALLOC(128); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:755:6: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:757:6: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC((char *) types, (numvalues + 1) * sizeof (int)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:759:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] values = (IFvalue *) MALLOC(sizeof (IFvalue)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:760:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] types = (int *) MALLOC(sizeof (int)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:770:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name = MALLOC(128); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:788:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:790:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC((char *) types, (numvalues + 1) * sizeof (int)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:792:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] values = (IFvalue *) MALLOC(sizeof (IFvalue)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:793:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] types = (int *) MALLOC(sizeof (int)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:713:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkfnode(fname, arg) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:829:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:824:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mknnode(number) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:853:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:867:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:869:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] REALLOC((char *) types, (numvalues + 1) * sizeof (int)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:871:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] values = (IFvalue *) MALLOC(sizeof (IFvalue)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:872:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] types = (int *) MALLOC(sizeof (int)); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:874:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] values[i].sValue = MALLOC(strlen(buf) + 1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:840:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mksnode(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:991:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] el.value.string = MALLOC(s - sbuf + 1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:903:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTlexer(line) ^ 157 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:16: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:17: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:18: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:31:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPtabInit(numlines) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:36:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tab = (INPtables *)tmalloc(sizeof(INPtables)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:37:48: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tab->INPsymtab = (struct INPtab **) tmalloc((numlines / 4 + 1) * ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:40:53: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tab->INPtermsymtab = (struct INPnTab **) tmalloc(numlines * ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:52:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPtermInsert(ckt,token,tab,node) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:71:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:89:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPmkTerm(ckt,token,tab,node) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:107:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:120:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPgndInsert(ckt,token,tab,node) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:139:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPinsert(token,tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:169:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = (struct INPtab *) tmalloc(sizeof (struct INPtab)); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:180:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPremove(token,tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:195:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(t->t_ent); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:196:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(t); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:218:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(t->t_ent); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:219:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfree(t); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' #define tfree(x) (txfree(x), x = 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:203:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPremTerm(token,tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:227:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPtabEnd(tab) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:251:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash(name, tsize) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:251:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 25 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:14: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPtypelook(type) ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:140:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTabs(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:30:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTabs(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:151:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTsgn(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:37:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTsgn(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:134:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTplus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:44:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTplus(arg1, arg2) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:135:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTminus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:51:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTminus(arg1, arg2) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:136:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTtimes(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:58:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTtimes(arg1, arg2) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:137:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTdivide(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:65:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTdivide(arg1, arg2) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:138:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTpower(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:80:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTpower(arg1, arg2) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:139:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTacos(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:94:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTacos(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:141:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTacosh(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:101:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTacosh(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:142:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTasin(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:114:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTasin(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:143:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTasinh(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:121:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTasinh(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:144:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTatan(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:132:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTatan(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:145:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTatanh(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:139:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTatanh(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:157:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTustep(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:154:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTustep(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:158:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTuramp(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:166:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTuramp(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:146:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTcos(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:176:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTcos(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:147:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTcosh(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:183:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTcosh(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:148:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTexp(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:190:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTexp(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:149:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTln(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:197:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTln(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:150:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTlog(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:206:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTlog(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:152:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTsin(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:215:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTsin(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:153:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTsinh(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:222:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTsinh(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:154:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTsqrt(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:229:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTsqrt(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:155:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTtan(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:238:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTtan(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:156:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTtanh(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:245:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTtanh(arg) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:14: /Users/pbulk/build/cad/spice/work/src/include/inpptree.h:159:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double PTuminus(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/inp//ptfuncs.c:252:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PTuminus(arg) ^ 52 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//sperror.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//sperror.c:13: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//sperror.c:14: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * SPerror( int ); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//sperror.c:16: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/inp//sperror.c:55:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SPerror(type) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//sperror.c:124:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] val = MALLOC(strlen(msg) + 1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:12: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here void *malloc(size_t __size) __result_use_check __alloc_size(1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here void *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:13: /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here void *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2); ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:58:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *token = (char *) MALLOC(1 + point - *line); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INPgetStr(line, token, gobble) ^ 4 warnings and 4 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "all" in mfb gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfb3d.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfb3d.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ 1 warning generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /Users/pbulk/build/cad/spice/work/src/include/mfb.h:490:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBInfo(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:43:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBInfo(Info) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:157:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBConvertToHLS(r,g,b) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:482:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void SetCurrentMFB(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:197:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetCurrentMFB(mfb) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:486:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBCounters(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:223:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBCounters(nChars,nBoxes,meanBoxArea,nLines,meanLineLength,nPixels) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:258:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBSetLineStyle(styleId) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:495:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBSetLineStyle(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:258:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetLineStyle(styleId) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:287:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBSetFillPattern(styleId) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:496:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBSetFillPattern(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:287:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetFillPattern(styleId) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:497:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBSetChannelMask(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:321:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetChannelMask(channelMask) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:498:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBSetReadMask(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:345:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetReadMask(readMask) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:499:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBSetColor(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:369:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(colorId) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:500:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBSetTextMode(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:395:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetTextMode(destructiveBool) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:423:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetALUMode(mode) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:501:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBSetCursorColor(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:463:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetCursorColor(colorId1,colorId2) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:502:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBSetBlinker(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:477:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetBlinker(colorId,r,g,b,onFlag) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:503:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBSetRubberBanding(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:513:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetRubberBanding(RubberBandingBool,X,Y) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:504:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBDefineColor(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:549:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBDefineColor(colorId,r,g,b) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:505:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBDefineFillPattern(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:579:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBDefineFillPattern(styleId,BitArray) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:506:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBDefineLineStyle(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:619:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBDefineLineStyle(styleId,BitArray) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:507:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBMoveTo(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:655:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBMoveTo(X1,Y1) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:685:12: warning: passing arguments to 'MFBLine' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBLine(path->xy[0],path->xy[1],path->xy[2],path->xy[3]); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:689:18: warning: passing arguments to 'MFBDrawLineTo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBDrawLineTo(x,y); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:509:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBDrawPath(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:669:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBDrawPath(path) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:708:12: warning: passing arguments to 'MFBLine' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBLine(LastX,LastY,X1,Y1); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:508:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBDrawLineTo(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:696:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBDrawLineTo(X1,Y1) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:735:41: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MFBCurrent->sumLineLength += MFBmax(abs(X1-X2),abs(Y1-Y2)); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:735:41: note: include the header or explicitly provide a declaration for 'abs' In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:510:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBLine(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:725:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBLine(X1,Y1,X2,Y2) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:775:20: warning: passing arguments to 'MFBNaiveBoxFill' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBNaiveBoxFill(l,b,r,t); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:511:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBBox(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:751:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBBox(l,b,r,t) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:512:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBArc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:780:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBArc(x,y,r,astart,astop,s) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:513:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBCircle(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:820:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBCircle(x,y,r,s) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:514:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBFlash(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:857:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBFlash(x,y,r,s) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:515:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBPolygon(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:890:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBPolygon(p) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:935:27: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MFBCurrent->nChars += strlen(text); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:935:27: note: include the header or explicitly provide a declaration for 'strlen' /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:954:28: warning: passing arguments to 'MFBPutchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while(*text) MFBPutchar(*text++); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:516:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBText(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:922:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText(text,x,y,phi) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:518:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBPixel(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:968:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBPixel(x,y) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:520:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern MFBPATH *MFBArcPath(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:998:2: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *MFBArcPath(x,y,r,astart,astop,s) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1083:1: warning: '/*' within block comment [-Wcomment] /* WINDOW CONTROL ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1084:1: warning: '/*' within block comment [-Wcomment] /* ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1085:1: warning: '/*' within block comment [-Wcomment] /***********************************************************************/ ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:521:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern MFBPOLYGON *MFBEllipse(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1038:2: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *MFBEllipse(x,y,rx,ry,s) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:534:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBScaleX(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1091:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBScaleX(X) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:535:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBScaleY(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1102:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBScaleY(Y) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:536:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBDescaleX(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBDescaleX(X) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:537:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBDescaleY(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1122:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBDescaleY(Y) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:527:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBSetViewport(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1132:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetViewport(left,bottom,right,top) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:528:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBSetWindow(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1144:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetWindow(left,bottom,right,top) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1223:37: warning: passing arguments to 'MFB_Y_Intercept' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_Y_Intercept (left, bb, ll, bottom, right, &tt); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1231:37: warning: passing arguments to 'MFB_X_Intercept' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_X_Intercept (left, bb, ll, bottom, top, &rr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1238:33: warning: passing arguments to 'MFB_X_Intercept' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_X_Intercept (left, bb, ll, bottom, top, &rr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1239:33: warning: passing arguments to 'MFB_Y_Intercept' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_Y_Intercept (left, bb, ll, bottom, right, &tt); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1261:37: warning: passing arguments to 'MFB_Y_Intercept' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_Y_Intercept (rr, bottom, right, bb, left, &tt); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1269:37: warning: passing arguments to 'MFB_X_Intercept' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_X_Intercept (rr, bottom, right, bb, top, &ll); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1276:33: warning: passing arguments to 'MFB_X_Intercept' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_X_Intercept (rr, bottom, right, bb, top, &ll); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1277:33: warning: passing arguments to 'MFB_Y_Intercept' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_Y_Intercept (rr, bottom, right, bb, left, &tt); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:532:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBNaiveBoxFill(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbbasic.c:1160:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBNaiveBoxFill(left, bottom, right, top) ^ 93 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:27: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:76:24: warning: passing arguments to 'POpen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((CapFile = POpen(mfbcapFile, "r", (char *)NULL, (char **)NULL)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:88:23: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cnt = read(mfbcapDesc, inputBuffer, BUFSIZE); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:90:24: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(close(mfbcapDesc) < 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:127:12: warning: call to undeclared function 'mfbnamatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(mfbnamatch(name)){ ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:128:16: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(close(mfbcapDesc) < 0) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:130:35: warning: passing arguments to 'MFBCheckForMCE' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return( MFBCheckForMCE(mfbcapFile) ); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:51:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int MFBGetEnt(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:61:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBGetEnt(bp, name, mfbcapFile) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:153:19: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] p = mfb_buf + strlen(mfb_buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:153:19: note: include the header or explicitly provide a declaration for 'strlen' /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:52:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int MFBCheckForMCE(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:144:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBCheckForMCE(mfbcapFile) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mfbnamatch(np) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:195:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:218:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSkip(bp) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:238:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBGetFlag(id) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:50:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int MFBGetFlag(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:238:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBGetFlag(id) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:296:27: warning: passing arguments to 'MFBCapDecod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(MFBCapDecod(bp, area)); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:47:9: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *MFBGetStr(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:276:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBGetStr(id, area) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:306:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBCapDecod(str, area) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:361:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBGetNum(id) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:49:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int MFBGetNum(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbcaps.c:361:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBGetNum(id) ^ 25 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /Users/pbulk/build/cad/spice/work/src/include/mfb.h:529:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFB_Y_Intercept(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:57:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_Y_Intercept(x1,y1,x2,y2,e,yi) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:530:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFB_X_Intercept(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:74:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFB_X_Intercept(x1,y1,x2,y2,e,xi) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:522:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern Bool MFBLineClip(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:91:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBLineClip(pX1,pY1,pX2,pY2,l,b,r,t) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:531:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBPolygonClip(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:140:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBPolygonClip(poly,left,bottom,right,top) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:523:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern MFBPATH *MFBClipArc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbclip.c:379:2: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *MFBClipArc(path,left,bottom,right,top) ^ 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:24: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:96:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBDecode(PM) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:142:30: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] which = mfbdecnum( 10, 100 ); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:146:30: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] which = mfbdecnum( 10, 3 ); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:150:30: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] which = mfbdecnum( 10, 2 ); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:155:34: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] which = mfbdecnum( 16, *cp++ - '0' ); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:157:34: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] which = mfbdecnum( 16, 100 ); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:162:34: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] which = mfbdecnum( 8, *cp++ - '0' ); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:164:34: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] which = mfbdecnum( 8, 100 ); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:278:23: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] which = abs(c); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:278:23: note: include the header or explicitly provide a declaration for 'abs' /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:96:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBDecode(PM) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:298:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mfbdecnum( base, maxdigits ) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbdec.c:298:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 13 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ftime(); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:28:13: error: conflicting types for 'ftime' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/timeb.h:91:9: note: previous declaration is here int ftime(struct timeb *); ^ /Users/pbulk/build/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++) { ~~^~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: note: place parentheses around the assignment to silence this warning while (c = *cp++) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: note: use '==' to turn this assignment into an equality comparison while (c = *cp++) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:140:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*MFBCurrent->outstr)(result,i); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:226:31: warning: passing arguments to 'hexadec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *dp++ = hexadec(which>>(i*4)); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:235:26: warning: passing arguments to 'octal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *dp++ = octal(which>>(i*3)); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:411:17: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] which = abs(which); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:411:17: note: include the header or explicitly provide a declaration for 'abs' /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:442:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*MFBCurrent->outstr)(result,i); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:448:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char hexadec(num) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:463:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char octal(num) ^ 10 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:116:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBPutchar(c) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:473:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBPutchar(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:116:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBPutchar(c) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:130:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBPutstr(c,n) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:474:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBPutstr(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:130:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBPutstr(c,n) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:177:5: warning: non-void function does not return a value [-Wreturn-type] } ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:205:5: warning: non-void function does not return a value [-Wreturn-type] } ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:305:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *getenv(); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:307:11: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *ttyname(); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:321:26: warning: passing arguments to 'tilde_expand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (s = tilde_expand(Lib_Path); s && *s; ) { ^ /Users/pbulk/build/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")) { ~~~^~~~~~~~~~~~~~~~~ /Users/pbulk/build/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")) { ^ ( ) /Users/pbulk/build/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")) { ^ == /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:333:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfbcapFile = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:344:18: warning: passing arguments to 'SetCurrentMFB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetCurrentMFB(mfb); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:346:22: warning: call to undeclared function 'MFBGetEnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if((*errorcode = MFBGetEnt(gEntBuf,TerminalName,mfbcapFile)) <= 0) { ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:353:8: warning: call to undeclared function 'MFBGetFlag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(MFBGetFlag("TTY")) { ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:391:43: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.startSequence = MFBGetStr("GIS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:392:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.endSequence = MFBGetStr("GFS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:394:17: warning: call to undeclared function 'MFBGetNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mfb->maxX = MFBGetNum("MXC"); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:396:44: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.initLineStyles = MFBGetStr("ILS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:397:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.initColorStyles = MFBGetStr("ICS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:398:46: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.initFillPatterns = MFBGetStr("IFP",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:405:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.rotateTextSequence = MFBGetStr("RTS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:410:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.graphicsTextStart = MFBGetStr("GTS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:411:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.graphicsTextEnd = MFBGetStr("GTE",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:413:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.replaceON = MFBGetStr("RMO",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:415:42: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.overstrikeON = MFBGetStr("OMO",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:416:40: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.writePixel = MFBGetStr("WPX",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:426:43: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.rastCopyStart = MFBGetStr("RSCPS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:427:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.rastCopyEnd = MFBGetStr("RSCPE",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:428:44: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.rastCopySource = MFBGetStr("RSSRC",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:429:42: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.rastCopyDest = MFBGetStr("RSDST",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:440:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.screenFlood = MFBGetStr("GCS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:446:42: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.vltEntry = MFBGetStr("VTE",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:448:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.setForegroundColor = MFBGetStr("SCS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:449:44: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.channelMaskSet = MFBGetStr("VWM",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:455:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.readMaskSet = MFBGetStr("SRM",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:487:54: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.enablePointingDevice = MFBGetStr("PDS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:488:55: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.disablePointingDevice = MFBGetStr("PDE",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:489:53: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.enableRubberBanding = MFBGetStr("PRBON",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:490:54: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.disableRubberBanding = MFBGetStr("PRBOFF",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:491:52: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.readPointingDevice = MFBGetStr("PDR",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:492:54: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.formatPointingDevice = MFBGetStr("PDF",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:499:43: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.keyboardStart = MFBGetStr("KYS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:500:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.keyboardEnd = MFBGetStr("KYE",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:501:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.keyboardBackspace = MFBGetStr("KYB",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:504:35: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.audio = MFBGetStr("BELL",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:512:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.blinkerON = MFBGetStr("BLS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:513:40: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.blinkerOFF = MFBGetStr("BLE",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:521:42: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.setLineStyle = MFBGetStr("SLS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:522:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.setSolidLineStyle = MFBGetStr("SSLS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:523:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.movePenSequence = MFBGetStr("MPS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:524:46: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.drawLineSequence = MFBGetStr("DLS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:525:51: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.drawSolidLineSequence = MFBGetStr("DSL",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:526:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.drawLineToSequence = MFBGetStr("DLT",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:527:53: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.drawSolidLineToSequence = MFBGetStr("DSLT",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:529:49: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.lineDefineStart = MFBGetStr("LDS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:530:50: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.lineDefineFormat = MFBGetStr("LDF",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:531:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.lineDefineEnd = MFBGetStr("LDE",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:538:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.drawBoxSequence = MFBGetStr("DBS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:539:50: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.drawSolidBoxSequence = MFBGetStr("DSB",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:545:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.beginPlygnSequence = MFBGetStr("PLS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:546:53: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.beginSolidPlygnSequence = MFBGetStr("PLSOL",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:547:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.sendPlygnVertex = MFBGetStr("PLV",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:548:46: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.endPlygnSequence = MFBGetStr("PLE",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:555:44: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.setFillPattern = MFBGetStr("SFP",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:556:49: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.setSolidFillPattern = MFBGetStr("SSFP",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:561:49: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.fillDefineStart = MFBGetStr("FDS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:562:50: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.fillDefineFormat = MFBGetStr("FDF",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:563:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.fillDefineEnd = MFBGetStr("FDE",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:569:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.drawCircleSequence = MFBGetStr("DCS",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:574:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.setALUJAM = MFBGetStr("ALUJAM",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:575:38: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.setALUOR = MFBGetStr("ALUOR",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:576:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.setALUNOR = MFBGetStr("ALUNOR",&bufPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:577:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfb->strings.setALUEOR = MFBGetStr("ALUEOR",&bufPtr); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:489:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern MFB *MFBOpen(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:281:2: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *MFBOpen(TerminalName,DeviceName,errorcode) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:997:15: warning: call to undeclared function 'MFBDecode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] status = MFBDecode(MFBFORMAT.formatPointingDevice); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:524:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int MFBPoint(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:951:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBPoint(x,y,key,button) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1052:10: warning: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion] c[1] = NULL; ^ ~~~~ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1056:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetFillPattern(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1057:19: warning: passing arguments to 'MFBSetTextMode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetTextMode(true); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1058:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(foreground); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1081:14: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(background); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1082:9: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBBox(X+MFBCurrent->keyboardXOffset, ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1087:14: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(foreground); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1093:17: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(background); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1094:12: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBBox(x+MFBCurrent->keyboardXOffset, ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1098:17: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(foreground); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1103:10: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText(" ESCAPE",X,Y,0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1112:14: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText(c,X,Y,0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1114:14: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText("^",X,Y,0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1164:19: warning: passing arguments to 'MFBSetTextMode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetTextMode(OldTextMode); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1165:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(OldForeground); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1166:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetFillPattern(OldFillPattern); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:525:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *MFBKeyboard(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1030:2: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *MFBKeyboard(x,y,background,foreground) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:526:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *MFBError(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbio.c:1187:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBError(errnum) ^ 101 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:72:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetFillPattern(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:73:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:74:11: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBBox(Left,Bottom,Right,Top); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:75:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(oldforeground); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:100:12: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText(cbuf,Left,Top - (linecount) * MFBCurrent->fontHeight,0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:105:20: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText("-DONE-",Left,Bottom,0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:107:20: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText("-MORE- (^D to exit)",Left,Bottom,0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:112:24: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:113:15: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBBox(Left,Bottom,Right,Top); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:114:24: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(oldforeground); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:117:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetFillPattern(oldfillpattern); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:23: /Users/pbulk/build/cad/spice/work/src/include/mfb.h:533:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void MFBMore(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:38:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBMore(Left,Bottom,Right,Top,Textfile) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:157:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetFillPattern(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:158:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:159:11: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBBox(Left,Bottom,Right,Top); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:160:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(oldforeground); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:193:16: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText(cbuf,Left,Top - (j) * MFBCurrent->fontHeight,0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:201:16: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText("-DONE-",Left,Bottom,0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:203:16: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBText("-MORE- (^D to exit, ^U to scroll up)",Left,Bottom,0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:216:20: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(0); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:217:11: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBBox(Left,Bottom,Right,Top); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:218:20: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetColor(oldforeground); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:220:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBSetFillPattern(oldfillpattern); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbtext.c:122:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFBScroll(Left,Bottom,Right,Top,Textfile) ^ 26 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//paths.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/mfb//paths.c:103:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct passwd *passwd, *getpwnam(); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//paths.c:149:14: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] length = strlen(passwd->pw_dir); ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//paths.c:149:14: note: include the header or explicitly provide a declaration for 'strlen' /Users/pbulk/build/cad/spice/work/src/lib/mfb//paths.c:70:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PConvertTilde(psource, pdest, size) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//paths.c:184:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PSetPath(string) ^ /Users/pbulk/build/cad/spice/work/src/lib/mfb//paths.c:244:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] POpen(file, mode, ext, prealname) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//vmsio.c < /dev/null `recursive' not remade because of errors. Making "all" in misc gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:35:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *tmalloc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:19:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmalloc(num) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:36:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *trealloc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:40:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trealloc(str, num) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void txfree(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:66:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txfree(ptr) ^ 8 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//dos_dirs.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//dos_dirs.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//dos_dirs.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ 2 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//dup2.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//ivars.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/misc//ivars.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] env_overr(v, e) ^ /Users/pbulk/build/cad/spice/work/src/lib/misc//ivars.c:38:2: warning: call to undeclared library function 'sprintf' with type 'int (char *, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sprintf(buffer, "%s%s%s", b, DIR_PATHSEP, v); ^ /Users/pbulk/build/cad/spice/work/src/lib/misc//ivars.c:38:2: note: include the header or explicitly provide a declaration for 'sprintf' /Users/pbulk/build/cad/spice/work/src/lib/misc//ivars.c:39:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *p = tmalloc(strlen(buffer) + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/misc//ivars.c:28:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkvar(p, b, v, e) ^ /Users/pbulk/build/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"); ^~~~~~~~~~~~~ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//math.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//math.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//math.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ 2 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:58:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *smktemp(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smktemp(id) ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//printnum.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/misc//printnum.c:29:12: warning: call to undeclared library function 'sprintf' with type 'int (char *, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) sprintf(buf, "%.*le", n, num); ^ /Users/pbulk/build/cad/spice/work/src/lib/misc//printnum.c:29:12: note: include the header or explicitly provide a declaration for 'sprintf' /Users/pbulk/build/cad/spice/work/src/lib/misc//printnum.c:16:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printnum(num) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:47:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int prefix(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:15:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prefix(p, s) ^ /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:34:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (p = tmalloc(strlen(str) + 1)) ^ /Users/pbulk/build/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)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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)) ^ ( ) /Users/pbulk/build/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)) ^ == In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:43:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *copy(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:29:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy(str) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:51:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int substring(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:43:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substring(sub, str) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void appendc(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:67:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] appendc(s, c) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:46:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int scannum(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:83:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scannum(str) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int cieq(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:97:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cieq(p, s) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:48:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int ciprefix(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ciprefix(p, s) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void strtolower(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:127:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strtolower(str) ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:44:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *gettok(); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:138:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gettok(s) ^ 22 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:7: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:8: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:34:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return copy(string); ^ /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:39:23: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pw = getpwuid(getuid()); ^ /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:56:16: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return copy(buf); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:7: /Users/pbulk/build/cad/spice/work/src/include/misc.h:52:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *tilde_expand( ); ^ void /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:17:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tilde_expand(string) ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//time.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//time.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//time.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ 2 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "all" in ni gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//niaciter.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niaciter.c:18: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niaciter.c:19: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niaciter.c:18: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niaciter.c:19: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niaciter.c:20: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niaciter.c:21: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//niaciter.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIacIter(ckt) ^ 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//nicomcof.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nicomcof.c:9: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nicomcof.c:13:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIcomCof(ckt) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//niconv.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niconv.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ni//niconv.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIconvTest(ckt) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//nidest.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nidest.c:14: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ni//nidest.c:20:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIdestroy(ckt) ^ 4 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//niditer.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niditer.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niditer.c:18: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niditer.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niditer.c:18: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niditer.c:19: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niditer.c:20: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//niditer.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIdIter(ckt) ^ 10 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//niinit.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niinit.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niinit.c:18: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//niinit.c:24:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIinit(ckt) ^ 5 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//niinteg.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niinteg.c:14: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niinteg.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ni//niinteg.c:21:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIintegrate(ckt,geq,ceq,cap,qcap) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//niinteg.c:45:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(ordmsg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//niinteg.c:81:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(methodmsg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 7 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:18: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:18: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:20: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:21: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIiter(ckt,maxIter) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:118:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] message = (char *)MALLOC(1000); /* should be enough */ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:121:29: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] NODENAME(ckt,i),NODENAME(ckt,j)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:117:31: note: expanded from macro 'NODENAME' #define NODENAME(ckt,nodenum) CKTnodName(ckt,nodenum) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:121:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] NODENAME(ckt,i),NODENAME(ckt,j)); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:117:31: note: expanded from macro 'NODENAME' #define NODENAME(ckt,nodenum) CKTnodName(ckt,nodenum) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/ni//niiter.c:176:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] errMsg = MALLOC(strlen(msg)+1); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 14 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//niniter.c < /dev/null /Users/pbulk/build/cad/spice/work/src/lib/ni//niniter.c:39:15: warning: passing arguments to 'SMPcaSolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcaSolve(ckt->CKTmatrix, ckt->CKTrhs, ckt->CKTirhs, ckt->CKTrhsSpare, ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//niniter.c:23:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NInzIter(ckt, posDrive, negDrive) ^ 2 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//nipred.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nipred.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANaskQuest(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nipred.c:18: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nipred.c:17: /Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int TRANsetParm(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nipred.c:18: /Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nipred.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ 6 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:8: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:12: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:22:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern CKTpzTrapped; ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:26:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] NIpzSym(set, new) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:26:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:71:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] NIpzComplex(set, new) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:71:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] NIpzMuller(set, newtry) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:81:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:252:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] NIpzSym2(set, new) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:252:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:280:5: warning: call to undeclared function 'zaddeq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] zaddeq(&a, &a_mag, set[1]->f_def.real, set[1]->mag_def, ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nipzmeth.c:454:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERROR(E_PANIC,"Lost numerical stability"); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:54:11: note: expanded from macro 'ERROR' errMsg = MALLOC(strlen(MESSAGE) + 1); \ ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 15 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:15: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:17: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:25:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIreinit(ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:33:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTrhs,size+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:34:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTrhsOld,size+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:35:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTrhsSpare,size+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:36:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTirhs,size+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:37:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTirhsOld,size+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:38:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTirhsSpare,size+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 11 warnings generated. gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:17: /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' In file included from /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:19: /Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SPerror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:27:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NIsenReinit(ckt) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:63:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTrhsOp,size+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:64:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTsenRhs,size+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:65:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTseniRhs,size+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:66:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTsenInfo->SEN_Sap,size+1,double*); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:67:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTsenInfo->SEN_RHS,size+1,double*); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:68:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTsenInfo->SEN_iRHS,size+1,double*); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:70:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTsenInfo->SEN_Sap[i],senparms+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:71:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTsenInfo->SEN_RHS[i],senparms+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:72:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CKALLOC(CKTsenInfo->SEN_iRHS[i],senparms+1,double); ^ /Users/pbulk/build/cad/spice/work/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); ^ /Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' #define MALLOC(x) tmalloc((unsigned)(x)) ^ 14 warnings generated. ar cql /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/ni.a niaciter.o nicomcof.o niconv.o nidest.o niditer.o niinit.o niinteg.o niiter.o niniter.o nipred.o nipzmeth.o nireinit.o nisenre.o ranlib /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/ni.a > /dev/null Done with work/src/lib/ni Making "all" in sparse gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:73: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:73: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:133:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spCreate( Size, Complex, pError ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:171:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((Matrix = ALLOC(struct MatrixFrame, 1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:232:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CALLOC( Matrix->Diag, ElementPtr, SizePlusOne); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' { int i; ptr = ALLOC(type, number); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:237:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CALLOC( Matrix->FirstInCol, ElementPtr, SizePlusOne); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' { int i; ptr = ALLOC(type, number); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:242:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CALLOC( Matrix->FirstInRow, ElementPtr, SizePlusOne); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' { int i; ptr = ALLOC(type, number); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:247:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( Matrix->IntToExtColMap = ALLOC(int, SizePlusOne)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:251:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( Matrix->IntToExtRowMap = ALLOC(int, SizePlusOne)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:262:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( Matrix->ExtToIntColMap = ALLOC(int, SizePlusOne)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:266:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( Matrix->ExtToIntRowMap = ALLOC(int, SizePlusOne)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:327:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spcGetElement( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:337:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { pElement = ALLOC(struct MatrixElement, ELEMENTS_PER_ALLOCATION); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:388:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitializeElementBlocks( Matrix, InitialNumberOfElements, ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:399:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pElement = ALLOC(struct MatrixElement, InitialNumberOfElements); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:406:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pElement = ALLOC(struct MatrixElement, NumberOfFillinsExpected); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:413:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Matrix->FirstFillinListNode = ALLOC(struct FillinListNodeStruct,1); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:388:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitializeElementBlocks( Matrix, InitialNumberOfElements, ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:454:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spcGetFillin( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:531:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RecordAllocation( Matrix, AllocatedPtr ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:550:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { FREE(AllocatedPtr); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:531:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RecordAllocation( Matrix, AllocatedPtr ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:588:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocateBlockOfAllocationList( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:597:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListPtr = ALLOC(struct AllocationRecord, (ELEMENTS_PER_ALLOCATION+1)); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:588:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocateBlockOfAllocationList( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:649:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spDestroy( eMatrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:661:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->IntToExtColMap ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:662:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->IntToExtRowMap ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:663:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->ExtToIntColMap ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:664:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->ExtToIntRowMap ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:665:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->Diag ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:666:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->FirstInRow ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:667:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->FirstInCol ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:668:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->MarkowitzRow ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:669:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->MarkowitzCol ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:670:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->MarkowitzProd ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:671:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->DoCmplxDirect ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:672:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->DoRealDirect ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:673:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->Intermediate ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:682:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( ListPtr ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:686:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( ListPtr->AllocatedPtr ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:713:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spError( eMatrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:751:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spWhereSingular( eMatrix, pRow, pCol ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:791:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spGetSize( eMatrix, External ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:829:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spSetReal( eMatrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:842:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spSetComplex( eMatrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:873:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spFillinCount( eMatrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:885:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spElementCount( eMatrix ) ^ 48 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:72: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:72: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:112:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spClear( eMatrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:206:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spGetElement( eMatrix, Row, Col ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:213:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr spcFindElementInCol(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:214:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Translate(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:312:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spcFindElementInCol( Matrix, LastAddr, Row, Col, CreateIfMissing ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:321:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr spcCreateElement(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:390:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Translate( Matrix, Row, Col ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:390:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:735:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spcCreateElement( Matrix, Row, Col, LastAddr, Fillin ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:744:30: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr pCreatedElement, spcGetElement(), spcGetFillin(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:744:47: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr pCreatedElement, spcGetElement(), spcGetFillin(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:882:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spcLinkRows( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:933:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EnlargeMatrix( Matrix, NewSize ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:950:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( REALLOC(Matrix->IntToExtColMap, int, NewSize+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:954:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( REALLOC(Matrix->IntToExtRowMap, int, NewSize+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:958:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( REALLOC(Matrix->Diag, ElementPtr, NewSize+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:962:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( REALLOC(Matrix->FirstInCol, ElementPtr, NewSize+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:966:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( REALLOC(Matrix->FirstInRow, ElementPtr, NewSize+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:975:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->MarkowitzRow ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:976:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->MarkowitzCol ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:977:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->MarkowitzProd ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:978:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->DoRealDirect ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:979:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->DoCmplxDirect ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:980:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE( Matrix->Intermediate ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:933:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EnlargeMatrix( Matrix, NewSize ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:1022:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExpandTranslationArrays( Matrix, NewSize ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:1039:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( REALLOC(Matrix->ExtToIntRowMap, int, NewSize+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:1043:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (( REALLOC(Matrix->ExtToIntColMap, int, NewSize+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:1022:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExpandTranslationArrays( Matrix, NewSize ) ^ 31 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:71: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:71: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:226:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spOrderAndFactor( eMatrix, RHS, RelThreshold, AbsThreshold, DiagPivoting ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:235:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr SearchForPivot(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:236:26: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RealNumber LargestInCol, FindLargestInCol(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:368:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spFactor( eMatrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:488:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FactorComplexMatrix( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:488:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:627:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spPartition( eMatrix, Mode ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:776:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spcCreateInternalVectors( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:787:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (( Matrix->MarkowitzRow = ALLOC(int, Size+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:791:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (( Matrix->MarkowitzCol = ALLOC(int, Size+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:795:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (( Matrix->MarkowitzProd = ALLOC(long, Size+2)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:802:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (( Matrix->DoRealDirect = ALLOC(BOOLEAN, Size+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:808:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (( Matrix->DoCmplxDirect = ALLOC(BOOLEAN, Size+1)) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:816:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if ((Matrix->Intermediate = ALLOC(RealNumber,2*(Size+1))) == NULL) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:865:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CountMarkowitz( Matrix, RHS, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:865:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:975:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkowitzProducts( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:975:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1062:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchForPivot( Matrix, Step, DiagPivoting ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1068:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr SearchForSingleton(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1069:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr QuicklySearchDiagonal(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1070:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr SearchDiagonal(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1071:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr SearchEntireMatrix(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1062:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchForPivot( Matrix, Step, DiagPivoting ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1163:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchForSingleton( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1172:23: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RealNumber PivotMag, FindBiggestInColExclude(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1163:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchForSingleton( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1584:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QuicklySearchDiagonal( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1594:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RealNumber FindBiggestInColExclude(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1584:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QuicklySearchDiagonal( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1749:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchDiagonal( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1761:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RealNumber FindBiggestInColExclude(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1749:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchDiagonal( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1878:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchEntireMatrix( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1889:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RealNumber FindLargestInCol(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1878:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchEntireMatrix( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2001:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindLargestInCol( pElement ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2001:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2067:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindBiggestInColExclude( Matrix, pElement, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2067:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2144:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExchangeRowsAndCols( Matrix, pPivot, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2152:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr spcFindElementInCol(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2144:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExchangeRowsAndCols( Matrix, pPivot, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2274:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spcRowExchange( Matrix, Row1, Row2 ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2376:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spcColExchange( Matrix, Col1, Col2 ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2483:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExchangeColElements( Matrix, Row1, Element1, Row2, Element2, Column ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2483:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2625:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExchangeRowElements( Matrix, Col1, Element1, Col2, Element2, Row ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2625:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2760:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RealRowColElimination( Matrix, pPivot ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2769:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern ElementPtr CreateFillin(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2760:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RealRowColElimination( Matrix, pPivot ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2849:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComplexRowColElimination( Matrix, pPivot ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2858:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr CreateFillin(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2849:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComplexRowColElimination( Matrix, pPivot ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2933:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateMarkowitzNumbers( Matrix, pPivot ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2933:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3021:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateFillin( Matrix, Row, Col ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3028:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ElementPtr spcCreateElement(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3021:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateFillin( Matrix, Row, Col ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3083:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatrixIsSingular( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3083:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3097:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZeroPivot( Matrix, Step ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3097:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 66 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:60: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:60: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:141:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spPrint( eMatrix, PrintReordered, Data, Header ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:157:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CALLOC(pImagElements, ElementPtr, Printer_Width / 10 + 1); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' { int i; ptr = ALLOC(type, number); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:160:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(pImagElements); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:170:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CALLOC( PrintOrdToIntRowMap, int, Top + 1 ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' { int i; ptr = ALLOC(type, number); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:173:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(pImagElements); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:176:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CALLOC( PrintOrdToIntColMap, int, Top + 1 ); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' { int i; ptr = ALLOC(type, number); \ ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:179:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(pImagElements); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:180:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(PrintOrdToIntRowMap); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:363:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(PrintOrdToIntColMap); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:364:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(PrintOrdToIntRowMap); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:421:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spFileMatrix( eMatrix, File, Label, Reordered, Data, Header ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:576:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spFileVector( eMatrix, File, RHS IMAG_RHS ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:697:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spFileStats( eMatrix, File, Label ) ^ 15 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:115: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:115: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:130:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPaddElt( Matrix, Row, Col, Value ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:143:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPmakeElt( Matrix, Row, Col ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:154:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcClear( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:164:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPclear( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcLUfac( Matrix, PivTol ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:188:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPluFac( Matrix, PivTol, Gmin ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:201:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcReorder( Matrix, PivTol, PivRel, NumSwaps ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:216:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPreorder( Matrix, PivTol, PivRel, Gmin ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:230:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcaSolve( Matrix, RHS, iRHS, Spare, iSpare) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:241:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcSolve( Matrix, RHS, iRHS, Spare, iSpare) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:252:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPsolve( Matrix, RHS, Spare ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:263:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPmatSize( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:273:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPnewMatrix( pMatrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:285:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPdestroy( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:295:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPpreOrder( Matrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:307:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPprint( Matrix, File ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:318:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPgetError( Matrix, Col, Row) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:330:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcProdDiag( Matrix, pMantissa, pExponent) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:344:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcDProd( Matrix, pMantissa, pExponent) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:444:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadGmin( eMatrix, Gmin ) ^ /Users/pbulk/build/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]) ~~~~~^~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:459:15: note: place parentheses around the assignment to silence this warning if (diag = Diag[I]) ^ ( ) /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:459:15: note: use '==' to turn this assignment into an equality comparison if (diag = Diag[I]) ^ == /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:444:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadGmin( eMatrix, Gmin ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:479:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPfindElt( eMatrix, Row, Col, CreateIfMissing ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:500:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcZeroCol( Matrix, Col ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:523:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPcAddCol( Matrix, Accum_Col, Addend_Col ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:556:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SMPzeroRow( Matrix, Row ) ^ 28 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:61: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:61: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:154:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spSolve( eMatrix, RHS, Solution IMAG_VECTORS ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:165:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SolveComplexMatrix(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:301:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SolveComplexMatrix( Matrix, RHS, Solution IMAG_VECTORS ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:301:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:472:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spSolveTransposed( eMatrix, RHS, Solution IMAG_VECTORS ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:483:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SolveComplexTransposedMatrix(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:621:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SolveComplexTransposedMatrix(Matrix, RHS, Solution IMAG_VECTORS ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:621:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 10 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:74: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:74: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:203:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spMNA_Preorder( eMatrix ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:265:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CountTwins( Matrix, Col, ppTwin1, ppTwin2 ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:265:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:311:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SwapCols( Matrix, pTwin1, pTwin2 ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:311:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:626:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spMultiply( eMatrix, RHS, Solution IMAG_VECTORS ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:636:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ComplexMatrixMultiply(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:723:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComplexMatrixMultiply( Matrix, RHS, Solution IMAG_VECTORS ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:723:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:821:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spMultTransposed( eMatrix, RHS, Solution IMAG_VECTORS ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:831:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void ComplexTransposedMatrixMultiply(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:916:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComplexTransposedMatrixMultiply( Matrix, RHS, Solution IMAG_VECTORS ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:916:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:1024:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spDeterminant( eMatrix, pExponent, pDeterminant, piDeterminant ) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:2201:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spErrorMessage( eMatrix, Stream, Originator ) ^ 17 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c:28: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c:28: In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] spConstMult(matrix, constant) ^ /Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c:45:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 4 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Done with work/src/lib Making "all" in bin gcc -c -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -DSIMULATOR /Users/pbulk/build/cad/spice/work/src/bin//main.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int kill(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:126:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static started = false; ~~~~~~ ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:286:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:286:1: note: change return type to 'int' void ^~~~ int /Users/pbulk/build/cad/spice/work/src/bin//main.c:334:5: warning: call to undeclared function 'ivars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ivars( ); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:352:20: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] istty = (bool) isatty(fileno(stdin)); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:357:5: warning: call to undeclared function 'init_time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] init_time( ); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:359:11: warning: call to undeclared function 'SIMinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] err = SIMinit(&nutmeginfo,&ft_sim); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:361:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"SIMinit"); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:430:28: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset("rawfile", VT_STRING, *tv); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:535:13: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (access(".spiceinit", 0) == 0) ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:536:23: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_source(".spiceinit"); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:538:27: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pw = getpwuid(getuid()); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:542:27: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_source(buf); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:560:9: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset("term", VT_STRING, cmd_line_term); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:564:9: warning: call to undeclared function 'DevInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DevInit( ); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:565:13: warning: passing arguments to 'com_version' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_version(NULL); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:567:30: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fp = fopen(cp_tildexpand(News_File), "r"); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:612:31: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempfile = smktemp("sp"); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:631:25: warning: passing arguments to 'inp_spsource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_spsource(file, false, tempfile ? (char *) NULL : *tv); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:636:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(tempfile); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:648:28: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_loadfile(*av); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:652:24: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_loadfile(ft_rawfile); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:658:21: warning: passing arguments to 'inp_spsource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_spsource(stdin, false, (char *) NULL); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:678:25: warning: passing arguments to 'ft_dorun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ft_dorun("")) ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:689:30: warning: passing arguments to 'ft_dorun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 = ft_dorun(ft_rawfile); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:690:27: warning: passing arguments to 'ft_cktcoms' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ft_cktcoms(true) || error2) ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:694:20: warning: passing arguments to 'ft_dorun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 = ft_dorun(NULL); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:695:17: warning: passing arguments to 'ft_cktcoms' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ft_cktcoms(false) || error2) ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:709:18: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (cp_evloop((char *) NULL) == 1) ; ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:287:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(ac, av) ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:769:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SPIinit(frtEnd,description) ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:785:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int SIMinit(frontEnd,simulator) ^ 36 warnings and 2 errors generated. *** Error code 1 (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte.a (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/ckt.a (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp.a (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/hlp.a (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/inp.a (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/mfb.a (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/sparse.a (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/misc.a (continuing) Creating conf.c: /Users/pbulk/build/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 /Users/pbulk/build/cad/spice/work/src/bin//config.c >> conf.c chmod -w "conf.c" gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c conf.c < /dev/null Creating tune.c chmod -w "tune.c" gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c tune.c < /dev/null gcc -c -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ /Users/pbulk/build/cad/spice/work/src/bin//main.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:15: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11: /Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int kill(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:126:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static started = false; ~~~~~~ ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:425:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int if_run(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:178:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ int if_run(t, w, s, b) char *t, *w, *b; wordlist *s; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:426:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int if_sens_run(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:180:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ int if_sens_run(t, w, s, b) char *t, *w, *b; wordlist *s; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:431:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void if_dump(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:182:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ void if_dump(ckt, fp) char *ckt; FILE *fp; { } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:424:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *if_inpdeck(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:183:23: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ char * if_inpdeck(deck, tab) struct line *deck; char **tab; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:432:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int if_option(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:185:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ int if_option(ckt, name, type, value) char *name, *ckt, *value; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:430:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void if_cktfree(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:187:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ void if_cktfree(ckt, tab) char *ckt, *tab; { } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:433:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void if_setndnames(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:188:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ void if_setndnames(line) char *line; { } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:423:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *if_errstring(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:189:23: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ char * if_errstring(code) { return ("spice error"); } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:434:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void if_setparam(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:190:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ void if_setparam(ckt, name, param, val) ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:422:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool if_tranparams(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:194:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_tranparams(ckt, start, stop, step) struct circ *ckt; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:435:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct variable *if_getstat(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//main.c:197:33: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ struct variable *if_getstat(n, c) char *n, *c; { return (NULL);} ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:286:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:286:1: note: change return type to 'int' void ^~~~ int /Users/pbulk/build/cad/spice/work/src/bin//main.c:334:5: warning: call to undeclared function 'ivars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ivars( ); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:352:20: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] istty = (bool) isatty(fileno(stdin)); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:357:5: warning: call to undeclared function 'init_time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] init_time( ); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:359:11: warning: call to undeclared function 'SIMinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] err = SIMinit(&nutmeginfo,&ft_sim); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:361:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_sperror(err,"SIMinit"); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:430:28: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset("rawfile", VT_STRING, *tv); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:535:13: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (access(".spiceinit", 0) == 0) ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:536:23: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_source(".spiceinit"); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:538:27: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pw = getpwuid(getuid()); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:542:27: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inp_source(buf); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:560:9: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_vset("term", VT_STRING, cmd_line_term); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:564:9: warning: call to undeclared function 'DevInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DevInit( ); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:565:13: warning: passing arguments to 'com_version' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_version(NULL); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:567:30: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fp = fopen(cp_tildexpand(News_File), "r"); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:648:28: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_loadfile(*av); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:652:24: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ft_loadfile(ft_rawfile); ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:752:21: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (cp_evloop((char *) NULL) == 1) ; ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:287:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(ac, av) ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:769:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SPIinit(frtEnd,description) ^ /Users/pbulk/build/cad/spice/work/src/bin//main.c:785:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int SIMinit(frontEnd,simulator) ^ 49 warnings and 2 errors generated. Creating nconf.c: *** Error code 1 (continuing) /Users/pbulk/build/cad/spice/work/util/mkvers.sh "" "" "3f5.1" "" > nconf.c cat /Users/pbulk/build/cad/spice/work/src/bin//nconfig.c >> nconf.c chmod -w "nconf.c" gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c nconf.c < /dev/null gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:39:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:39:1: note: change return type to 'int' void ^~~~ int /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:70:34: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sf = infile = smktemp("scin"); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:71:35: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] af = outfile = smktemp("scout"); ^ /Users/pbulk/build/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)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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)) ^ ( ) /Users/pbulk/build/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)) ^ == /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:84:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sf = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:92:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] af = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:110:21: warning: passing arguments to 'oldread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl = oldread(sf); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:115:22: warning: passing arguments to 'raw_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl = raw_read(sf); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:127:17: warning: passing arguments to 'oldwrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] oldwrite(af, false, pl); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:131:18: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_write(af, pl, false, true); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:135:18: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_write(af, pl, false, false); ^ /Users/pbulk/build/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)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/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)) ^ ( ) /Users/pbulk/build/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)) ^ == /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:151:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) unlink(infile); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:40:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(ac, av) ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:185:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl = alloc(struct plot); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:191:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_title = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:195:31: warning: passing arguments to 'fixdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_date = copy(fixdate(buf)); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:195:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_date = copy(fixdate(buf)); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:204:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v = alloc(struct dvec); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:212:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_name = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:235:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] a, i); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:239:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl->pl_name = copy(buf); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:264:47: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_realdata = (double *) tmalloc(sizeof (double) ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:267:48: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] v->v_compdata = (complex *) tmalloc(sizeof (complex) ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:168:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] oldread(name) ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:292:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] oldwrite(name, app, pl) ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:419:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (copy(buf)); ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:408:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixdate(date) ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_usrvars(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:426:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ void cp_usrvars(v1, v2) struct variable **v1, **v2; { return; } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:68:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int cp_evloop(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:427:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ int cp_evloop(s) char *s; { return (0); } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_ccon(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:428:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ void cp_ccon(o) bool o; { } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:423:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *if_errstring(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:429:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ char *if_errstring(c) int c; { return ("error"); } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:126:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void out_printf(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:431:30: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* VARARGS1 ARGSUSED */ void out_printf(fmt, args) char *fmt; { } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:128:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void out_send(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:433:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ void out_send(string) char *string; {} ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:327:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct variable *cp_enqvar(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:434:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ struct variable * cp_enqvar(word) char *word; { return (NULL); } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:13: In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56: /Users/pbulk/build/cad/spice/work/src/include/fteext.h:458:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern struct dvec *vec_get(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:435:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ struct dvec *vec_get(word) char *word; { return (NULL); } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_ccom(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:436:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ void cp_ccom(w, b, e) wordlist *w; char *b; bool e; { return; } ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:183:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern int cp_usrset(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:437:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ int cp_usrset(v, i) struct variable *v; bool i;{return(US_OK); } ^ /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:440:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void XtDispatchEvent(pev) char *pev; {} ^ 53 warnings and 2 errors generated. *** Error code 1 (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte/rawfile.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte/types.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte/error.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/numparse.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/quote.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/std.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/wlist.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/input.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/lexical.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/variable.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/var2.o (continuing) bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte/dimens.o (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:9: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:9: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:54:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:54:1: note: change return type to 'int' void ^~~~ int /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:115:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *(typeline+3) = (char)NULL; ^~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:124:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *(typeline+3) = (char)NULL; ^~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:133:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *(typeline+3) = (char)NULL; ^~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:142:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *(typeline+3) = (char)NULL; ^~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:151:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *(typeline+3) = (char)NULL; ^~~~~~~~~~ /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:306:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getdata(vals,count,width) ^ 9 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include/X11/Xmu -I/opt/pkg/include/X11/Xaw -c -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ /Users/pbulk/build/cad/spice/work/src/bin//help.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:20: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/bin//help.c:49:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /Users/pbulk/build/cad/spice/work/src/bin//help.c:49:1: note: change return type to 'int' void ^~~~ int /Users/pbulk/build/cad/spice/work/src/bin//help.c:64:5: warning: call to undeclared function 'ivars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ivars( ); ^ /Users/pbulk/build/cad/spice/work/src/bin//help.c:72:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cp_getvar("display", VT_STRING, buf)) { ^ /Users/pbulk/build/cad/spice/work/src/bin//help.c:88:22: warning: passing arguments to 'wl_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wl = wl_build(av + 1); ^ /Users/pbulk/build/cad/spice/work/src/bin//help.c:89:13: warning: passing arguments to 'hlp_main' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hlp_main(Help_Path, wl); ^ /Users/pbulk/build/cad/spice/work/src/bin//help.c:50:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(ac, av) ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:184:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void fatal(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//help.c:102:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fatal(s) ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void cp_printword(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//help.c:110:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_printword(s) ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern bool cp_getvar(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//help.c:119:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_getvar(n, t, r) ^ /Users/pbulk/build/cad/spice/work/src/bin//help.c:130:21: warning: passing arguments to 'tilde_expand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return tilde_expand(s); ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118: /Users/pbulk/build/cad/spice/work/src/include/cpextern.h:78:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *cp_tildexpand(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//help.c:127:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_tildexpand(s) ^ 18 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:8: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ void /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ void In file included from /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:9: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' extern __const char *__const sys_errlist[]; ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here extern char *sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:10: In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14: /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void setenv(); ^ /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:237:6: note: previous declaration is here int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); ^ /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:18:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:18:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -c -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c < /dev/null In file included from /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:10: /Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char *sys_errlist[]; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:368:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ In file included from /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:10: /Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void clearerr(); ^ /Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void perror(); ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:24:2: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /Users/pbulk/build/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++) { ~~~^~~~~~ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:50:13: note: place parentheses around the assignment to silence this warning while (ch = *s++) { ^ ( ) /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:50:13: note: use '==' to turn this assignment into an equality comparison while (ch = *s++) { ^ == /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:107:8: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage(pname); ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:111:8: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage(pname); ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:127:6: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage(argv); ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:158:9: warning: passing arguments to 'comments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] comments(r,l,g,c,ctot,cm,lm,k,name,num,len); ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:175:21: warning: passing arguments to 'phi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] matrix[i][j] = phi(i-1,tpeigenvalues[j]); ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:229:1: warning: call to undeclared function 'spErrorMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] spErrorMessage(othermatrix,stderr,NULL); ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:24:2: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main (argc, argv) ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void usage(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:349:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage(argv) ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern void comments(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:368:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] comments(r,l,g,c,ctot,cm,lm,k,name,num,len) ^ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:22:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern double phi(); ^ void /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:407:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] phi(i,arg) ^ 17 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Done with work/src Done with work Done with build at Tue May 16 22:55:22 UTC 2023