=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/cad/spice", "stage-install", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Installing for spice-3f5.1nb6 => Generating pre-install file lists => Creating installation directories cd /var/tmp/work/cad/spice/work && env WRKSRC=/var/tmp/work/cad/spice/work USETOOLS=no GOTMPDIR=/var/tmp/work MACOSX_DEPLOYMENT_TARGET=15.5 CC=clang CFLAGS=-Wno-implicit-function-declaration\ -Wno-implicit-int\ -Wno-incompatible-pointer-types\ -Wno-int-conversion\ -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=-Wno-implicit-function-declaration\ -Wno-implicit-int\ -Wno-incompatible-pointer-types\ -Wno-int-conversion\ -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=/var/tmp/work/cad/spice/work/.cwrapper/bin:/var/tmp/work/cad/spice/work/.buildlink/bin:/var/tmp/work/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= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/pkg/etc CXXCPP=clang\ -E HOME=/var/tmp/work/cad/spice/work/.home CWRAPPERS_CONFIG_DIR=/var/tmp/work/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=/var/tmp/work/cad/spice/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/var/tmp/work/cad/spice/work/.tools/bin/itstool GDBUS_CODEGEN=/var/tmp/work/cad/spice/work/.tools/bin/gdbus-codegen PKG_CONFIG=/var/tmp/work/cad/spice/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/var/tmp/work/cad/spice/work/.buildlink/lib/pkgconfig:/var/tmp/work/cad/spice/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/var/tmp/work/cad/spice/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/var/tmp/work/cad/spice/work/.cwrapper/config DESTDIR=/var/tmp/work/cad/spice/work/.destdir util/build NetBSD install Begin build on pkgsrc-mac-0.local for NetBSD on Tue Oct 6 22:24:08 UTC 2026: Making "install" in work Creating "/var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3" Creating "/var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/helpdir" Creating "/var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts" UPDATING /var/tmp/work/cad/spice/work/NetBSD/tmp/spice Making "install" in src Making "install" in lib Making "install" in dev Making "install" in disto Done with work/src/lib/dev/disto Making "install" in asrc gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:8: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:8: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:8: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:11: /var/tmp/work/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | ASRCconvTest( inModel, ckt) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 38 | asrc_vals = NEWN(double, i); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 39 | asrc_derivs = NEWN(double, i); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 12 warnings and 4 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[5]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/lib/dev/asrc Making "install" in bjt Done with work/src/lib/dev/bjt Making "install" in bsim1 Done with work/src/lib/dev/bsim1 Making "install" in bsim2 Done with work/src/lib/dev/bsim2 Making "install" in cap Done with work/src/lib/dev/cap Making "install" in cccs Done with work/src/lib/dev/cccs Making "install" in ccvs Done with work/src/lib/dev/ccvs Making "install" in csw Done with work/src/lib/dev/csw Making "install" in dio Done with work/src/lib/dev/dio Making "install" in ind Done with work/src/lib/dev/ind Making "install" in isrc Done with work/src/lib/dev/isrc Making "install" in jfet Done with work/src/lib/dev/jfet Making "install" in ltra Done with work/src/lib/dev/ltra Making "install" in mes Done with work/src/lib/dev/mes Making "install" in mos1 Done with work/src/lib/dev/mos1 Making "install" in mos2 Done with work/src/lib/dev/mos2 Making "install" in mos3 Done with work/src/lib/dev/mos3 Making "install" in mos6 Done with work/src/lib/dev/mos6 Making "install" in res Done with work/src/lib/dev/res Making "install" in sw Done with work/src/lib/dev/sw Making "install" in tra Done with work/src/lib/dev/tra Making "install" in urc Done with work/src/lib/dev/urc Making "install" in vccs Done with work/src/lib/dev/vccs Making "install" in vcvs Done with work/src/lib/dev/vcvs Making "install" in vsrc Done with work/src/lib/dev/vsrc Done with work/src/lib/dev Making "install" in ckt gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/lib/ckt//acsetp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//acsetp.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//acsetp.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//acsetp.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//acsetp.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | ACsetParm(ckt,anal,which,value) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 27 | errMsg = copy("Frequency of 0 is invalid"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 37 | errMsg = copy("Frequency of 0 is invalid"); | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltm.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltm.c:14: /var/tmp/work/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltm.c:15: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltm.c:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltm.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltm.c:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltm.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTdltMod(cktp,modPtr) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 44 | tfree(h); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 47 | tfree(m); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ 14 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltn.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltn.c:12: /var/tmp/work/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltn.c:13: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltn.c:14: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltn.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltn.c:14: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltn.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | CKTdltNod(ckt,node) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 60 | tfree(node); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//cktdltn.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | CKTdltNNum(cktp, num) | ^ 14 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:17: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:17: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:17: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:17: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:19: /var/tmp/work/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | CKTsetup(ckt) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 64 | CKALLOC(ckt->CKTstates[i],ckt->CKTnumStates,double); | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:24:32: note: expanded from macro 'CKALLOC' 24 | if(size && (!(var =(type *)MALLOC((size)*sizeof(type))))){\ | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | tfree(ckt->CKTstates[i]); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//cktsetup.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | CKTunsetup(ckt) | ^ 13 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:6: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:6: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:8: /var/tmp/work/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:8: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:19: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:19: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:19: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:19: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | CKTtrouble(cktp, optmsg) | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:73:32: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 73 | sprintf(msg_p, " %s = %g: ", cv->TRCVvName[i], | ~~ ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:76:32: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 76 | sprintf(msg_p, " %s = %g: ", cv->TRCVvName[i], | ~~ ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:91:3: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 90 | sprintf(msg_p, "trouble with node \"%s\"\n", | ~~ 91 | CKTnodName(ckt, ckt->CKTtroubleNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:95:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 94 | sprintf(msg_p, "trouble with %s-instance %s\n", | ~~ 95 | ckt->CKTtroubleElt->GENmodPtr->GENmodName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/ckt//ckttroub.c:96:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 94 | sprintf(msg_p, "trouble with %s-instance %s\n", | ~~ 95 | ckt->CKTtroubleElt->GENmodPtr->GENmodName, 96 | ckt->CKTtroubleElt->GENname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 101 | emsg = MALLOC(strlen(msg_buf)+1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 18 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:10: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:10: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:12: /var/tmp/work/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:14: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:15: /var/tmp/work/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//dctran.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | DCtran(ckt,restart) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 72 | ckt->CKTtimePoints = NEWN(double, ckt->CKTtimeListSize); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 76 | ckt->CKTbreaks=(double *)MALLOC(2*sizeof(double)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 174 | ckt->CKTtimePoints = (double *) REALLOC( (char *) | ^ /var/tmp/work/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ 16 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/lib/ckt//dctrcurv.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctrcurv.c:7: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctrcurv.c:7: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dctrcurv.c:18: /var/tmp/work/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /var/tmp/work/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//dctrcurv.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | DCtrCurv(ckt,restart) | ^ 10 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/lib/ckt//dsetparm.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dsetparm.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dsetparm.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//dsetparm.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//dsetparm.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | DsetParm(ckt,anal,which,value) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 27 | errMsg = copy("Frequency of 0 is invalid"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 37 | errMsg = copy("Frequency of 0 is invalid"); | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/lib/ckt//nsetparm.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//nsetparm.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//nsetparm.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//nsetparm.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 54 | errMsg = copy("Frequency of 0 is invalid"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 64 | errMsg = copy("Frequency of 0 is invalid"); | ^ /var/tmp/work/cad/spice/work/src/lib/ckt//nsetparm.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | NsetParm(ckt,anal,which,value) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/ckt//nsetparm.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | extern int NsetParm(); | ^ 8 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[4]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/lib/ckt Making "install" in cp gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//alias.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 35 | realw = wl_copy(cp_lastone->hi_wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 47 | wl_free(cp_lastone->hi_wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 48 | cp_lastone->hi_wlist = wl_copy(comm); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 50 | nwl = asubst(comm); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 55 | wl_free(comm); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 59 | wl_free(comm); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 84 | wl_free(cp_lastone->hi_wlist); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | cp_doalias(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern wordlist *cp_doalias(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 112 | wl = cp_histsubst(wl_copy(al->al_text)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 112 | wl = cp_histsubst(wl_copy(al->al_text)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 116 | wl_free(cp_lastone->hi_wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 117 | cp_lastone->hi_wlist = wl_copy(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 121 | w->wl_next = wl_copy(wlist->wl_next); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | asubst(wlist) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:14:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | static wordlist *asubst(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 137 | cp_unalias(word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 138 | cp_addkword(CT_ALIASES, word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 141 | al = cp_aliases = alloc(struct alias); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 155 | al->al_next = alloc(struct alias); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 161 | cp_aliases = alloc(struct alias); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 168 | al->al_name = copy(word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 169 | al->al_text = wl_copy(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 170 | cp_striplist(al->al_text); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 175 | cp_addcomm(word, (long) 1, (long) 1, (long) 1, (long) 1); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | cp_setalias(word, wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern void cp_setalias(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 188 | cp_remkword(CT_ALIASES, word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 202 | wl_free(al->al_text); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | tfree(al->al_name); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 204 | tfree(al); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 205 | cp_remcomm(word); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | cp_unalias(word) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern void cp_unalias(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 219 | wl_print(al->al_text, cp_out); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | cp_paliases(word) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern void cp_paliases(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | com_alias(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern void com_alias(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 249 | wl_free(al->al_text); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 250 | tfree(al->al_name); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 251 | tfree(al); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | com_unalias(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void com_unalias(); | ^ 49 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//backq.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//backq.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//backq.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//backq.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//backq.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 49 | if (!(nwl = backeval(buf))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 57 | tfree(nwl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 59 | nwl->wl_word = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 61 | wl = wl_splice(wl, nwl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 65 | tfree(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 66 | wl->wl_word = copy(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//backq.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | cp_bquote(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//backq.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern wordlist *cp_bquote(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 88 | extern FILE *popen( ); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:335:7: note: conflicting prototype is here 335 | FILE *popen(const char *, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(popen)) __swift_unavailable("Use posix_spawn APIs or NSTask instead. (On iOS, process spawning is unavailable.)"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | wl = cp_lexer((char *) NULL); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//backq.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | backeval(string) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//backq.c:16:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | static wordlist *backeval(); | ^ 17 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//complete.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:16: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 99 | buf = cp_unquote(copy(buf)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 99 | buf = cp_unquote(copy(buf)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | cp_wstrip(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | cc = getccom(wlist->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 105 | arg = wl_length(wlist) - 2; | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 110 | pmatches = ccfilec(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 121 | a = ccmatch(buf, &keywords[j]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 124 | pmatches = wl_append(pmatches, a); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 129 | wl_sort(pmatches); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 131 | pmatches = ccmatch(buf, &commands); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 135 | printem(pmatches); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 136 | wl_free(pmatches); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | wl_free(pmatches); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | cp_ccom(wlist, buf, esc) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | extern void cp_ccom(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 198 | return (clookup(first, &commands, false, false)); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | getccom(first) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:60:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | static struct ccom *getccom(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 213 | buf = copy(buf); /* Don't mangle anything... */ | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:221:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 221 | while (pw = getpwent()) { | ~~~^~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:221:23: note: place parentheses around the assignment to silence this warning 221 | while (pw = getpwent()) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:221:23: note: use '==' to turn this assignment into an equality comparison 221 | while (pw = getpwent()) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 222 | if (prefix(buf, pw->pw_name)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 224 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 229 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 234 | wl->wl_word = copy(pw->pw_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | dir = cp_tildexpand(dir); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:252:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | while (de = readdir(wdir)) | ~~~^~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:252:15: note: place parentheses around the assignment to silence this warning 252 | while (de = readdir(wdir)) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:252:15: note: use '==' to turn this assignment into an equality comparison 252 | while (de = readdir(wdir)) | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 253 | if ((prefix(lcomp, de->d_name)) && (*lcomp || | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 256 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 261 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 266 | wl->wl_word = copy(de->d_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 270 | wl_sort(wl); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | ccfilec(buf) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:55:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static wordlist *ccfilec(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 287 | cc = clookup(word, dbase, true, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 290 | wl = cctowl(cc, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 292 | wl = cctowl(cc, true); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | ccmatch(word, dbase) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:56:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static wordlist *ccmatch(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | num = wl_length(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 330 | wl_nthelem(j, wl)->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | printem(wl) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void printem(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 360 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 361 | wl->wl_word = copy(cc->cc_name); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | cctowl(cc, sib) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:57:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static wordlist *cctowl(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | cp_cctowl(stuff) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | extern wordlist *cp_cctowl(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | cp_ccon(on) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | extern void cp_ccon(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 474 | if (word && *word && clookup(word, &commands, false, false)) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | cp_comlook(word) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | extern bool cp_comlook(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 489 | cc = clookup(word, &commands, false, true); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | cp_addcomm(word, bits0, bits1, bits2, bits3) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | extern void cp_addcomm(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 506 | cc = clookup(word, &commands, false, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 508 | cdelete(cc); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | cp_remcomm(word) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | extern void cp_remcomm(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 526 | word = copy(word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 527 | cc = clookup(word, &keywords[class], false, true); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | cp_addkword(class, word) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | extern void cp_addkword(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 545 | cc = clookup(word, &keywords[class], false, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 547 | cdelete(cc); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | cp_remkword(class, word) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | extern void cp_remkword(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | cp_kwswitch(class, tree) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | extern char *cp_kwswitch(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | cp_ccrestart(kwords) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern void cp_ccrestart(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 592 | tfree(dbase); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | throwaway(dbase) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static void throwaway(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 621 | *dd = place = alloc(struct ccom); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 625 | place->cc_name = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 639 | place->cc_sibling = alloc(struct ccom); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 644 | place->cc_name = tmalloc(ind + 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 655 | tmpc = alloc(struct ccom); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 668 | place->cc_name = tmalloc(ind + 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 686 | tmpc = alloc(struct ccom); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 691 | place->cc_name = tmalloc(ind + 3); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | clookup(word, dd, pref, create) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:59:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static struct ccom *clookup(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | cdelete(node) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//complete.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void cdelete(); | ^ 98 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 89 | extern char *getwd(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:568:18: note: conflicting prototype is here 568 | char *_LIBC_CSTR getwd(char *_LIBC_COUNT_OR_NULL(PATH_MAX)) __POSIX_C_DEPRECATED(200112L); /* obsoleted by getcwd() */ | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 94 | extern char *getcwd( ); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:453:18: note: conflicting prototype is here 453 | char *_LIBC_CSTR getcwd(char *_LIBC_COUNT_OR_NULL(__size), size_t __size); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 153 | extern char *sbrk(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:588:30: note: conflicting prototype is here 588 | void *_LIBC_UNSAFE_INDEXABLE sbrk(int); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:153:14: error: conflicting types for 'sbrk' 153 | extern char *sbrk(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:588:30: note: previous declaration is here 588 | void *_LIBC_UNSAFE_INDEXABLE sbrk(int); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 90 | extern int kill(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/signal.h:83:5: note: conflicting prototype is here 83 | int kill(pid_t, int) __DARWIN_ALIAS(kill); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 79 | wlist = cp_lexer(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 87 | pwlist(wlist, "Initial parse"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 89 | wlist = cp_histsubst(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 92 | pwlist(wlist, "After history substitution"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | wl_print(wlist, stdout); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | cp_addhistent(cp_event - 1, wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | wlist = cp_doalias(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 103 | pwlist(wlist, "After alias substitution"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 112 | pwlist(wlist, "Returning "); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | cp_parse(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | extern wordlist *cp_parse(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | pwlist(wlist, name) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void pwlist(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 146 | fputs(cp_unquote(wlist->wl_word), cp_out); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | com_echo(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | extern void com_echo(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 188 | tmpfp = fopen(cp_unquote(w->wl_word), "r"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 206 | wl_free(bt); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | s = cp_unquote(w->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 246 | if (cp_noclobber && fileexists(s)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 272 | wl_free(bt); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 280 | error: wl_free(wl); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | cp_redirect(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | extern wordlist *cp_redirect(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | fileexists(name) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static bool fileexists(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 347 | cp_ccon(false); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:352:15: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 352 | pid = vfork(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 359 | com = wl_flatten(wl); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | com_shell(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | extern void com_shell(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 427 | cp_rehash(s, true); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | com_rehash(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | extern void com_rehash(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 440 | extern struct passwd *getpwuid( ); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/pwd.h:100:16: note: conflicting prototype is here 100 | struct passwd *getpwuid(uid_t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 463 | s = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 480 | tfree(s); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:483:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 483 | if (s = getcwd(localbuf, sizeof(localbuf))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:483:11: note: place parentheses around the assignment to silence this warning 483 | if (s = getcwd(localbuf, sizeof(localbuf))) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:483:11: note: use '==' to turn this assignment into an equality comparison 483 | if (s = getcwd(localbuf, sizeof(localbuf))) | ^ | == /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | com_chdir(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | extern void com_chdir(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 515 | s1 = cp_unquote(wl->wl_next->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 516 | s2 = cp_unquote(wl->wl_next->wl_next->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 520 | cp_vset(var, VT_NUM, (char *) &i); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | com_strcmp(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | extern void com_strcmp(); | ^ 54 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//front.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//front.c:11: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 113 | wlist = getcommand(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 145 | cend[stackp]->co_next = alloc(struct control); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 152 | control[stackp] = cend[stackp] = alloc(struct control); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 163 | newblock; | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 171 | newblock; | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | cp_doglob(wl_copy(wlist)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | cp_doglob(wl_copy(wlist)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 179 | wlist = cp_variablesubst(cp_bquote( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 179 | wlist = cp_variablesubst(cp_bquote( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 183 | dd = ft_numparse(&s, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 196 | newblock; | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 204 | newblock; | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 210 | copy(wlist->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 215 | wlist = cp_doglob(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 216 | cend[stackp]->co_text = wl_copy(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 217 | newblock; | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 221 | cend[stackp]->co_text = wl_copy(wlist->wl_next); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 223 | cp_addkword(CT_LABEL, wlist->wl_next->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 236 | cend[stackp]->co_text = wl_copy(wlist->wl_next); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | cend[stackp]->co_numtimes = scannum(wlist-> | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 256 | cend[stackp]->co_numtimes = scannum(wlist-> | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 273 | tfree(x); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 278 | tfree(x); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 306 | i = doblock(x, &nn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 319 | x = findlabel(i, | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | cp_evloop(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | extern int cp_evloop(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 362 | while (bl->co_cond && cp_istrue(bl->co_cond)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 389 | cn = findlabel(i, bl->co_children); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 425 | cn = findlabel(i, bl->co_children); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 430 | } while (bl->co_cond && cp_istrue(bl->co_cond)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 464 | cn = findlabel(i, bl->co_children); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 473 | if (bl->co_cond && cp_istrue(bl->co_cond)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 478 | cn = findlabel(i, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 492 | cn = findlabel(i, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 505 | for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 505 | for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 505 | for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 505 | for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 507 | cp_vset(bl->co_foreachvar, VT_STRING, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 535 | cn = findlabel(i, bl->co_children); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 565 | wl_copy(bl->co_text)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 564 | wl = cp_variablesubst(cp_bquote(cp_doglob( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 564 | wl = cp_variablesubst(cp_bquote(cp_doglob( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 564 | wl = cp_variablesubst(cp_bquote(cp_doglob( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 573 | docommand(wl_copy(bl->co_text)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 573 | docommand(wl_copy(bl->co_text)); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | doblock(bl, num) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:15:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static char *doblock(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | findlabel(s, ct) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:18:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static struct control *findlabel(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 613 | (void) cp_kwswitch(CT_LABEL, (char *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 676 | wl_print(wlist, stdout); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 683 | wlist = cp_variablesubst(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 684 | pwlist(wlist, "After variable substitution"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 686 | wlist = cp_bquote(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 687 | pwlist(wlist, "After backquote substitution"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 689 | wlist = cp_doglob(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 690 | pwlist(wlist, "After globbing"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 720 | if (!(wlist = cp_redirect(wlist))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 727 | cp_striplist(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 743 | if (!cp_coms[i].co_func && cp_oddcomm(s, wlist->wl_next)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 748 | if (cp_dounixcom && cp_unixcom(wlist)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 768 | lcom = wl_flatten(wlist->wl_next); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 769 | (*command->co_func) (lcom); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 773 | (*command->co_argfn) (wlist->wl_next, command); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 780 | (*command->co_func) (wlist->wl_next); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 792 | wl_free(rwlist); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | docommand(wlist) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:16:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | static void docommand(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 832 | wlist = cp_parse(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 836 | wl_print(wlist, stdout); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | getcommand(string) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:19:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static wordlist *getcommand(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | pwlist(wlist, name) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static void pwlist(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 871 | dodump(c); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | com_cdump(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | extern void com_cdump(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 891 | wl_print(cc->co_text, cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 897 | wl_print(cc->co_cond, cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 923 | wl_print(cc->co_cond, cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 935 | wl_print(cc->co_cond, cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 947 | wl_print(cc->co_text, cp_out); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | dodump(cc) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//front.c:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | static void dodump(); | ^ 97 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//glob.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 66 | w = bracexpand(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | nwl = wl_splice(wl, w); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | s = cp_tildexpand(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 97 | if (noglobs(wl->wl_word)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 99 | w = globexpand(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | nwl = wl_splice(wl, w); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | cp_doglob(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | extern wordlist *cp_doglob(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 119 | wl = brac1(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 124 | w->wl_word = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 125 | tfree(s); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | bracexpand(string) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:37:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static wordlist *bracexpand(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 143 | words = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 144 | words->wl_word = tmalloc(BSIZE_SP); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 150 | nwl = brac2(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 169 | nw = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 172 | nw->wl_word = tmalloc(BSIZE_SP); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 175 | newwl = wl_append(newwl, nw); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 177 | wl_free(words); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 181 | appendc(wl->wl_word, *s); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | brac1(string) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:35:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static wordlist *brac1(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 223 | wlist = wl_append(wlist, nwl); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | brac2(string) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:36:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static wordlist *brac2(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 253 | string = pcanon(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 257 | poss[0] = copy(DIR_PATHSEP); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 259 | poss[0] = copy(DIR_CWD); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 273 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 274 | wl->wl_word = copy(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 284 | if (cp_globmatch(buf, de->d_name)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 294 | poss[j] = tmalloc(BSIZE_SP); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 299 | tfree(poss[i]); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 304 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 305 | wl->wl_word = copy(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 350 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 353 | wl->wl_word = copy(pcanon(poss[i])); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 353 | wl->wl_word = copy(pcanon(poss[i])); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:354:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 354 | if (((int) poss[i]) % 2) | ^~~~~~~~~~~~~ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 356 | tfree(poss[i]); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 369 | tfree(poss[i]); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | globexpand(string) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:38:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | static wordlist *globexpand(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 389 | s = p = tmalloc(strlen(string) + 1); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | pcanon(string) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:40:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | static char *pcanon(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | sortcmp(s1, s2) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:41:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static int sortcmp(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 441 | result = tilde_expand(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 445 | return copy(string); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | cp_tildexpand(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | extern char *cp_tildexpand(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:488:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 488 | while (bc = *p++) { | ~~~^~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:488:23: note: place parentheses around the assignment to silence this warning 488 | while (bc = *p++) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:488:23: note: use '==' to turn this assignment into an equality comparison 488 | while (bc = *p++) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | cp_globmatch(p, s) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | extern bool cp_globmatch(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | noglobs(string) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//glob.c:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | static bool noglobs(); | ^ 63 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//history.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 61 | tfree(wlist->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 62 | wlist->wl_word = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 69 | n = dohsubst(s + 1); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:75:44: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 75 | (void) sprintf(buf, "%.*s%s", s - b, b, | ~~^~ ~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 77 | tfree(n->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | n->wl_word = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 80 | nwl = wl_splice(w, n); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | cp_histsubst(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | extern wordlist *cp_histsubst(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 114 | wl = getevent(cp_event - scannum(++string)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 114 | wl = getevent(cp_event - scannum(++string)); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:123:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 123 | if (s = index(buf, '?')) | ~~^~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:123:19: note: place parentheses around the assignment to silence this warning 123 | if (s = index(buf, '?')) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//history.c:123:19: note: use '==' to turn this assignment into an equality comparison 123 | if (s = index(buf, '?')) | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 125 | wl = hpattern(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 129 | return (wl_copy(wl)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 133 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 134 | wl->wl_word = copy("!"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 142 | wl = getevent(scannum(string)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 142 | wl = getevent(scannum(string)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 164 | wl = hprefix(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 174 | nwl = dohmod(&string, wl_copy(wl)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 174 | nwl = dohmod(&string, wl_copy(wl)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 181 | tfree(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 182 | wl->wl_word = copy(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | dohsubst(string) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:25:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static wordlist *dohsubst(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 199 | numwords = wl_length(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 231 | eventhi = scannum(*string + 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 240 | wl_print(wl, cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | s = dohs(*string + 1, w->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 247 | tfree(w->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 266 | i = scannum(*string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 281 | eventhi = scannum(++*string); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:280:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 280 | else { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 290 | wl = wl_range(wl, eventlo, eventhi); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 291 | numwords = wl_length(wl); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | dohmod(string, wl) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:24:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static wordlist *dohmod(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 312 | if (substring(buf, wl->wl_word)) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | hpattern(buf) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:27:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static wordlist *hpattern(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 329 | if (hi->hi_wlist && prefix(buf, hi->hi_wlist->wl_word)) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | hprefix(buf) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:28:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static wordlist *hprefix(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 347 | cp_lastone = histlist = alloc(struct histent); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 350 | cp_lastone->hi_next = alloc(struct histent); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 356 | cp_lastone->hi_wlist = wl_copy(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 358 | freehist(histlength - cp_maxhistlength); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | cp_addhistent(event, wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | extern void cp_addhistent(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 380 | return (wl_copy(hi->hi_wlist)); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | getevent(num) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:26:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static wordlist *getevent(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 401 | wl_print(hi->hi_wlist, cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 410 | wl_print(hi->hi_wlist, cp_out); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | cp_hprint(eventhi, eventlo, rev) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | extern void cp_hprint(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 438 | wl_free(hi->hi_wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 440 | tfree(hi->hi_prev); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 442 | wl_free(hi->hi_wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 443 | tfree(hi); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | freehist(num) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static void freehist(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 457 | pat = copy(pat); /* Don't want to mangle anything. */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 470 | if ((*str == *pat) && prefix(pat, str) && (ok == false)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 480 | return (copy(buf)); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | dohs(pat, str) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static char *dohs(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//history.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | com_history(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | extern void com_history(); | ^ 74 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//input.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//input.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//input.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//input.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//input.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//input.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 24 | response->reply.ch = inchar(request->fp); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//input.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | Input(request, response) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 86 | cp_ccon(true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | wlist = cw = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 104 | c = input(cp_inp_cur); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 125 | c = quote(string ? *string++ : input(cp_inp_cur)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 135 | while (((c = input(cp_inp_cur)) != '\n') && | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 149 | newword; | ^ /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' 64 | #define newword cw->wl_word = copy(buf); \ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' 65 | cw->wl_next = alloc(struct wordlist); \ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 156 | cw->wl_word = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 159 | tfree(cw); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 167 | input(cp_inp_cur))) != '\'') | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 183 | while (((c = (string ? *string++ : input(cp_inp_cur))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 190 | input(cp_inp_cur)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 218 | cp_ccom(wlist, buf, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 219 | wl_free(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 248 | cp_ccom(wlist, buf, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 249 | wl_free(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 254 | newword; | ^ /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' 64 | #define newword cw->wl_word = copy(buf); \ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' 65 | cw->wl_next = alloc(struct wordlist); \ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 263 | newword; | ^ /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' 64 | #define newword cw->wl_word = copy(buf); \ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' 65 | cw->wl_next = alloc(struct wordlist); \ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 270 | newword; | ^ /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' 64 | #define newword cw->wl_word = copy(buf); \ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' 65 | cw->wl_next = alloc(struct wordlist); \ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | cp_lexer(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | extern wordlist *cp_lexer(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | inchar(fp) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | extern int inchar(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 358 | Input(&request, &response); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:349:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | static int input(fp) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//lexical.c:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static int input(); | ^ 34 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//modify.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//modify.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//modify.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//modify.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//modify.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | char *s, *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 27 | cp_vset("history", VT_NUM, (char *) &cp_maxhistlength); | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//output.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//output.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//output.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//output.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//output.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 55 | if (cp_getvar("nomoremode", VT_BOOL, (char *) &moremode)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 80 | (void) cp_getvar("width", VT_NUM, (char *) &xsize); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 82 | (void) cp_getvar("height", VT_NUM, (char *) &ysize); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//output.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | fbufputc(c) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//output.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | out_send(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//output.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | extern void out_send(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//output.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | out_printf(fmt, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//output.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | extern void out_printf(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//output.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | outfn(c) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//output.c:36:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static int outfn( ); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//output.c:292:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 292 | clear_chars = (char *) tgetstr("cl", &charbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//output.c:293:21: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 293 | motion_chars = (char *) tgetstr("cm", &charbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//output.c:294:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 294 | home_chars = (char *) tgetstr("ho", &charbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//output.c:295:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 295 | cleol_chars = (char *) tgetstr("ce", &charbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//quote.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:26:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 26 | while (c = *str) { | ~~^~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:26:11: note: place parentheses around the assignment to silence this warning 26 | while (c = *str) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:26:11: note: use '==' to turn this assignment into an equality comparison 26 | while (c = *str) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | cp_wstrip(str) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | extern void cp_wstrip(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | cp_quoteword(str) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | extern void cp_quoteword(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | cp_printword(string, fp) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | extern void cp_printword(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | cp_striplist(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | extern void cp_striplist(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 86 | s = copy(string); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | cp_unquote(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | extern char *cp_unquote(); | ^ 17 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//std.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//std.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//std.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//std.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//std.c:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ 5 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 89 | extern char *getwd(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:568:18: note: conflicting prototype is here 568 | char *_LIBC_CSTR getwd(char *_LIBC_COUNT_OR_NULL(PATH_MAX)) __POSIX_C_DEPRECATED(200112L); /* obsoleted by getcwd() */ | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 94 | extern char *getcwd( ); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:453:18: note: conflicting prototype is here 453 | char *_LIBC_CSTR getcwd(char *_LIBC_COUNT_OR_NULL(__size), size_t __size); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 153 | extern char *sbrk(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:588:30: note: conflicting prototype is here 588 | void *_LIBC_UNSAFE_INDEXABLE sbrk(int); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:153:14: error: conflicting types for 'sbrk' 153 | extern char *sbrk(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:588:30: note: previous declaration is here 588 | void *_LIBC_UNSAFE_INDEXABLE sbrk(int); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 90 | extern int kill(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/signal.h:83:5: note: conflicting prototype is here 83 | int kill(pid_t, int) __DARWIN_ALIAS(kill); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 77 | tfree(hh); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 106 | curpath = copy(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:109:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | while (entry = readdir(pdir)) { | ~~~~~~^~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:109:22: note: place parentheses around the assignment to silence this warning 109 | while (entry = readdir(pdir)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:109:22: note: use '==' to turn this assignment into an equality comparison 109 | while (entry = readdir(pdir)) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 117 | hh = alloc(struct hashent); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 118 | hh->h_name = copy(entry->d_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 120 | i = hash(entry->d_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 133 | cp_addcomm(entry->d_name, (long) 0, (long) 0, (long) 0, | ^ /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | cp_rehash(pathlist, docc) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | extern void cp_rehash(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 157 | argv = wl_mkvec(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 160 | wl_print(wl, stdout); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 164 | return (tryexec(name, argv)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 165 | i = hash(name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 169 | if (tryexec(buf, argv)) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | cp_unixcom(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | extern bool cp_unixcom(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:189:11: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 189 | pid = vfork( ); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | tryexec(name, argv) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | static bool tryexec(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | hash(str) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//unixcom.c:40:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | static int hash(); | ^ 30 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//variable.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:7: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:8: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:8: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:9: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:9: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 45 | (void) strcpy(buf, cp_unquote(var->va_string)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 65 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 67 | wl->wl_word = copy(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | cp_varwl(var) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:9: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | extern wordlist *cp_varwl(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 85 | varname = cp_unquote(varname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 95 | v = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 96 | v->va_name = copy(varname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | cp_remvar(varname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 117 | v->va_string = copy(value); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 149 | cp_promptstring = copy(v->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 160 | switch (i = cp_usrset(v, true)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 216 | tfree(v); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | cp_vset(varname, type, value) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:9: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | extern void cp_vset(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 238 | name = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 242 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 243 | vv->va_name = copy(name); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:261:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 261 | } else if (s = index(name, '=')) { | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:261:22: note: place parentheses around the assignment to silence this warning 261 | } else if (s = index(name, '=')) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:261:22: note: use '==' to turn this assignment into an equality comparison 261 | } else if (s = index(name, '=')) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 279 | val = cp_unquote(val); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 293 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 295 | ss = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 296 | td = ft_numparse(&ss, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 302 | vv->va_string = copy(ss); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 316 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 317 | vv->va_name = copy(name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 327 | ss = cp_unquote(val); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 328 | td = ft_numparse(&ss, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 329 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 330 | vv->va_name = copy(name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 339 | vv->va_string = copy(val); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | cp_setparse(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:9: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | extern struct variable *cp_setparse(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 360 | v = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 384 | switch (i = cp_usrset(v, false)) { | ^ /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:400:48: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 400 | "cp_remvar: Internal Error: var %d\n", varname); | ~~ ^~~~~~~ | %s /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:409:48: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 409 | "cp_remvar: Internal Error: var %d\n", varname); | ~~ ^~~~~~~ | %s /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 426 | tfree(u); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 436 | tfree(v); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | cp_remvar(varname) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//variable.c:9: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | extern void cp_remvar(); | ^ 53 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//var2.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:11: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:52:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 52 | while(s = index(t, cp_dol)) { | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:52:17: note: place parentheses around the assignment to silence this warning 52 | while(s = index(t, cp_dol)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:52:17: note: use '==' to turn this assignment into an equality comparison 52 | while(s = index(t, cp_dol)) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 66 | nwl = vareval(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | tfree(nwl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 73 | nwl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 76 | nwl->wl_word = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | if (!(wl = wl_splice(wl, nwl))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 86 | tfree(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 87 | wl->wl_word = copy(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | cp_variablesubst(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | extern wordlist *cp_variablesubst(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 106 | char *oldstring = copy(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 110 | cp_wstrip(string); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 111 | if (s = index(string, '[')) { | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:111:11: note: place parentheses around the assignment to silence this warning 111 | if (s = index(string, '[')) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:111:11: note: use '==' to turn this assignment into an equality comparison 111 | if (s = index(string, '[')) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 119 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 126 | wl->wl_word = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 138 | wl = cp_lexer(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 141 | wl->wl_word = copy(""); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 145 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 152 | v = cp_enqvar(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 153 | wl->wl_word = copy(v ? "1" : "0"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 157 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 164 | v = cp_enqvar(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 176 | wl->wl_word = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 182 | wl->wl_word = copy("$"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 202 | v = cp_enqvar(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 205 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 207 | wl->wl_word = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | wl = cp_varwl(v); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 224 | up = wl_length(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 228 | wl = wl_range(wl, low, up); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | vareval(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | wordlist *vareval(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 251 | cp_usrvars(&uv1, &uv2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 260 | vars = (struct xxx *) tmalloc(sizeof (struct xxx) * i); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 285 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 287 | out_printf("%c %s\t", vars[j].x_char, v->va_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 289 | s = wl_flatten(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 291 | out_printf("( %s )\n", s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 293 | out_printf("%s\n", s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 297 | tfree(vars); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:307:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 307 | if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:307:11: note: place parentheses around the assignment to silence this warning 307 | if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name)) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:307:11: note: use '==' to turn this assignment into an equality comparison 307 | if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name)) | ^ | == /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | vcmp(v1, v2) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | static int vcmp(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 330 | vars = cp_setparse(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 351 | cp_vset(vars->va_name, vars->va_type, s); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | com_set(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 157 | extern void com_set(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 367 | cp_remvar(var->va_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 373 | cp_remvar(name); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | com_unset(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | extern void com_unset(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 396 | num = scannum(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | com_shift(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | extern void com_shift(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 458 | s = cp_unquote(v->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 459 | cp_wstrip(s); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | cp_getvar(name, type, retval) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//var2.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | extern bool cp_getvar(); | ^ 70 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | wl_length(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | extern int wl_length(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 41 | tfree(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 42 | tfree(wl); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | wl_free(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | extern void wl_free(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 57 | nwl = w = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 61 | w->wl_next = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 66 | w->wl_word = copy(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | wl_copy(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | extern wordlist *wl_copy(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 90 | tfree(elt->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 91 | tfree(elt); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | wl_splice(elt, list) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | extern wordlist *wl_splice(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 105 | cp_printword(wl->wl_word, fp); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | wl_print(wlist, fp) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | extern void wl_print(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 121 | cwl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 129 | cwl->wl_word = copy(*v); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | wl_build(v) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | extern wordlist *wl_build(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 144 | v = (char **) tmalloc((len + 1) * sizeof (char **)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 146 | v[i] = copy(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | wl_mkvec(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | extern char **wl_mkvec(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | wl_append(wlist, nwl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | extern wordlist *wl_append(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | wl_reverse(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | extern wordlist *wl_reverse(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 200 | buf = tmalloc(i + 1); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | wl_flatten(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | extern char *wl_flatten(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | wl_nthelem(i, wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | extern wordlist *wl_nthelem(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 240 | stuff = (char **) tmalloc(i * sizeof (char *)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 246 | tfree(stuff); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | wl_sort(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | extern void wl_sort(); | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | wlcomp(s, t) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static int wlcomp(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 277 | tfree(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 278 | tfree(wl); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | wl_range(wl, low, up) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//wlist.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | extern wordlist *wl_range(); | ^ 50 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/cp//numparse.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/cp//numparse.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//numparse.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//numparse.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//numparse.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//numparse.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/cp//numparse.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | pow10(num) | ^ /var/tmp/work/cad/spice/work/src/lib/cp//numparse.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | ft_numparse(s, whole) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/cp//numparse.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 313 | extern double *ft_numparse(); | ^ 9 warnings and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[4]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp Making "install" in fte gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//agraf.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//agraf.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//agraf.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//agraf.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//agraf.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//agraf.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 61 | if (!cp_getvar("noasciiplotvalue", VT_BOOL, (char *) &novalue) && | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 62 | !vec_eq(xscale, vecs)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 69 | if (!cp_getvar("width", VT_NUM, (char *) &maxy)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 72 | if (!cp_getvar("height", VT_NUM, (char *) &height)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 77 | cp_getvar("nobreak", VT_BOOL, (char *) &nobreakp); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | field = tmalloc((maxy + 1) * (maxx + 1)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 101 | line1 = tmalloc(maxy + margin + FUDGE + 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | line2 = tmalloc(maxy + margin + FUDGE + 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 104 | values = (double *) tmalloc(maxx * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 239 | ypt = ft_findpoint(y, yrange, maxy, 0, ylogscale); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 250 | out_send("-"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 251 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 254 | out_send(" "); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 257 | out_send(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 258 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 263 | out_send(" "); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 264 | out_send(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 265 | out_send("\n\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 267 | out_send("Legend: "); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 276 | out_printf("%s = %-17s", out_pbuf, v->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 278 | out_send("\n "); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 282 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 284 | out_send("-"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 285 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 287 | out_printf("%s\n%s\n", line2, line1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 300 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 304 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 310 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 314 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 320 | out_send(&field[i * omaxy]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 322 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 325 | out_printf("%s\n%s\n\014\n%s\n%s\n", line1, line2, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 330 | out_printf("%s\n%s\n", line1, line2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 332 | tfree(field); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 333 | tfree(line1); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 334 | tfree(line2); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 336 | tfree(values); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//agraf.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | ft_agraf(xlims, ylims, xscale, plot, vecs, xdel, ydel, xlog, ylog, nointerp) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//agraf.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern void ft_agraf(); | ^ 45 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//arg.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:14: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 36 | p = (char *) tmalloc(n + 1); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:25:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | char *prompt(fp) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | countargs(wl) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 59 | wlist = cp_variablesubst(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 60 | wlist = cp_bquote(wlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 61 | wlist = cp_doglob(wlist); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:55:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | wordlist *process(wlist) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | common("which variable", wl, command); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | arg_print(wl, command) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | extern int arg_print(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 80 | common("which variable", wl, command); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | arg_plot(wl, command) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern int arg_plot(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 89 | (*command->co_func) (wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | arg_load(wl, command) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | extern int arg_load(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 98 | common("which vector", wl, command); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | arg_let(wl, command) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | extern int arg_let(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | common("which variable", wl, command); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | arg_set(wl, command) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | extern int arg_set(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 130 | outmenuprompt(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 134 | w = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 140 | (*command->co_func) (w); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | common(string, wl, command) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static void common( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//arg.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | outmenuprompt(string) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void outmenuprompt( ); | ^ 35 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 90 | extern int kill(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/signal.h:83:5: note: conflicting prototype is here 83 | int kill(pid_t, int) __DARWIN_ALIAS(kill); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 68 | if (!cp_getvar("spicepath", VT_STRING, spicepath)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | output = smktemp("spout"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 98 | raw = smktemp("raw"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 120 | p = alloc(struct proc); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 122 | p->pr_name = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 123 | p->pr_rawfile = copy(raw); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 124 | p->pr_inpfile = copy(deck); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 125 | p->pr_outfile = copy(output); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | com_aspice(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | extern void com_aspice(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | com_jobs(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern void com_jobs(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 219 | ft_loadfile(p->pr_rawfile); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 228 | out_send(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 266 | if (!cp_getvar("rhost", VT_STRING, rhost)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 268 | if (!cp_getvar("rprogram", VT_STRING, program)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 270 | if (!cp_getvar("remote_shell", VT_STRING, remote_shell)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 358 | inp_list(srv_input, ft_curckt->ci_deck, ft_curckt->ci_options, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 369 | outfile = smktemp("rsp"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:377:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 377 | while (i = fread(buf, 1, BSIZE_SP, serv)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:377:14: note: place parentheses around the assignment to silence this warning 377 | while (i = fread(buf, 1, BSIZE_SP, serv)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:377:14: note: use '==' to turn this assignment into an equality comparison 377 | while (i = fread(buf, 1, BSIZE_SP, serv)) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:394:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 393 | "Error adjusting rawfile: write \"%d\" at %d\n", | ~~ | %ld 394 | num, pos); | ^~~ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 405 | pl = raw_read(outfile); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 407 | plot_add(pl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | com_rspice(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//aspice.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | extern void com_rspice(); | ^ 32 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 44 | thisone = d = alloc(struct dbcomm); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 46 | d->db_also = alloc(struct dbcomm); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 77 | val = ft_numparse(&s, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | d->db_nodename1 = copy(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 103 | val = ft_numparse(&s, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | d->db_nodename2 = copy(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 119 | cp_addkword(CT_DBNUMS, buf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | com_stop(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | extern void com_stop(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | com_trce(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | extern void com_trce(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 155 | s = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 156 | d = alloc(struct dbcomm); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 163 | d->db_nodename1 = copy(s); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | com_iplot(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | extern void com_iplot(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 190 | com_resume((wordlist *) NULL); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | com_step(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | extern void com_step(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 252 | printcond(d, cp_out); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:253:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 253 | } else if ((d->db_type == DB_DEADIPLOT)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:253:32: note: remove extraneous parentheses around the comparison to silence this warning 253 | } else if ((d->db_type == DB_DEADIPLOT)) { | ~ ^ ~ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:253:32: note: use '=' to turn this equality comparison into an assignment 253 | } else if ((d->db_type == DB_DEADIPLOT)) { | ^~ | = /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | com_sttus(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | extern void com_sttus(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 279 | tfree(dd->db_nodename1); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 280 | tfree(dd->db_nodename2); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 281 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | dbfree(db) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void dbfree(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 332 | cp_remkword(CT_DBNUMS, buf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | com_delete(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | extern void com_delete(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 378 | if (satisfied(dt, runplot)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 391 | printcond(d, cp_err); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | ft_bpcheck(runplot, iteration) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | extern bool ft_bpcheck(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 411 | if ((v1 = vec_fromplot(d->db_nodename1, plot)) == NULL) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 424 | if ((v2 = vec_fromplot(d->db_nodename2, plot)) == NULL) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | satisfied(d, plot) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | static bool satisfied(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:480:21: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 479 | fprintf(fp, " after %ld", | ~~~ | %d 480 | dt->db_iteration); | ^~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | printcond(d, fp) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp.c:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static void printcond(); | ^ 48 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | ft_setccirc(name) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | extern void ft_setccirc(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | ft_newcirc(ckt) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | extern void ft_newcirc(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | ft_newsubcirc(sckt) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//circuits.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | extern void ft_newsubcirc(); | ^ 12 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//clip.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//clip.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//clip.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//clip.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//clip.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//clip.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/fte//clip.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | clip_line(pX1,pY1,pX2,pY2,l,b,r,t) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//clip.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | extern bool clip_line(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//clip.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | clip_to_circle(x1, y1, x2, y2, cx, cy, rad) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//clip.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | extern bool clip_to_circle(); | ^ 10 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 40 | double *d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | cx_mag(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | extern char *cx_mag(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 64 | double *d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | cx_ph(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | extern char *cx_ph(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 88 | complex *c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | cx_j(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | extern char *cx_j(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 116 | double *d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | cx_real(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | extern char *cx_real(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 140 | double *d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | cx_imag(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | extern char *cx_imag(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | double *d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | cx_pos(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | extern char *cx_pos(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 190 | double *d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | cx_db(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | extern char *cx_db(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 237 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 240 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | cx_log(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | extern char *cx_log(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 288 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 291 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | cx_ln(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | extern char *cx_ln(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 336 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 339 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | cx_exp(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | extern char *cx_exp(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 376 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 379 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | cx_sqrt(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | extern char *cx_sqrt(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 461 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 464 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | cx_sin(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | extern char *cx_sin(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 498 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 501 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | cx_cos(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | extern char *cx_cos(); | ^ 51 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 40 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 43 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | cx_tan(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | extern char *cx_tan(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 85 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | cx_atan(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | extern char *cx_atan(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 115 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 118 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | cx_norm(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | extern char *cx_norm(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 163 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | cx_uminus(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | extern char *cx_uminus(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 198 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 201 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | cx_rnd(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | extern char *cx_rnd(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 241 | d = alloc_d(1); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 248 | c = alloc_c(1); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | cx_mean(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | extern char *cx_mean(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 273 | d = alloc_d(1); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | cx_length(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | extern char *cx_length(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 302 | d = alloc_d(len); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cx_vector(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | extern char *cx_vector(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 332 | d = alloc_d(len); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:343:1: warning: '/*' within block comment [-Wcomment] 343 | /* Calling methods for these functions are: | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | cx_unitvec(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | extern char *cx_unitvec(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 364 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 369 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | cx_plus(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | extern char *cx_plus(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 406 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 411 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | cx_minus(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | extern char *cx_minus(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 448 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 453 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | cx_times(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | extern char *cx_times(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 492 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 503 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | cx_mod(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | extern char *cx_mod(); | ^ 55 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 43 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 50 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | cx_divide(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | extern char *cx_divide(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 92 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | cx_comma(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | extern char *cx_comma(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 129 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 136 | c = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 158 | t = cexp(ctimes(&c2, cln(&c1))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 158 | t = cexp(ctimes(&c2, cln(&c1))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 158 | t = cexp(ctimes(&c2, cln(&c1))); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | cx_power(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | extern char *cx_power(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | cexp(c) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:25:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static complex *cexp(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | cln(c) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:26:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static complex *cln(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | ctimes(c1, c2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:27:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static complex *ctimes(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 271 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | cx_eq(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | extern char *cx_eq(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 314 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | cx_gt(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | extern char *cx_gt(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 357 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | cx_lt(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | extern char *cx_lt(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 400 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | cx_ge(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | extern char *cx_ge(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 443 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | cx_le(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | extern char *cx_le(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 486 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | cx_ne(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | extern char *cx_ne(); | ^ 44 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 38 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | cx_and(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | extern char *cx_and(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | cx_or(data1, data2, datatype1, datatype2, length) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | extern char *cx_or(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 118 | d = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | cx_not(data, type, length, newlength, newtype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | extern char *cx_not(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 232 | d = alloc_d(ns->v_length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 234 | if (!cp_getvar("polydegree", VT_NUM, (char *) °ree)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 238 | if (!ft_interpolate((double *) data + base, d + base, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 242 | tfree(d); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | cx_interpolate(data, type, length, newlength, newtype, pl, newpl, grouping) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | extern char *cx_interpolate(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 275 | if (!cp_getvar("dpolydegree", VT_NUM, (char *) °ree)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 280 | spare = alloc_d(n); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 281 | scratch = alloc_d(n * (n + 1)); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 291 | r_coefs = alloc_d(n); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 292 | i_coefs = alloc_d(n); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 294 | c_outdata = alloc_c(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 295 | scale = alloc_d(length); /* XXX */ | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 310 | if (!ft_polyfit(scale + i + base - degree, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 315 | ft_polyderiv(r_coefs, degree); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 321 | ft_peval(x, r_coefs, degree - 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 327 | if (!ft_polyfit(scale + i - degree + base, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 332 | ft_polyderiv(i_coefs, degree); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 338 | ft_peval(x, i_coefs, degree - 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 347 | c_outdata[j + base].cx_real = ft_peval(x, r_coefs, degree - 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 349 | c_outdata[j + base].cx_imag = ft_peval(x, i_coefs, degree - 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 353 | tfree(r_coefs); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 354 | tfree(i_coefs); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 355 | tfree(scale); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 365 | coefs = alloc_d(n); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 367 | outdata = alloc_d(length); | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 368 | scale = alloc_d(length); /* XXX */ | ^ /var/tmp/work/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 374 | if (!ft_polyfit(scale + i - degree + base, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 379 | ft_polyderiv(coefs, degree); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 384 | outdata[j + base] = ft_peval(x, coefs, degree - 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 391 | outdata[j + base] = ft_peval(x, coefs, degree - 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 396 | tfree(coefs); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 397 | tfree(scale); /* XXX */ | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | cx_deriv(data, type, length, newlength, newtype, pl, newpl, grouping) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | extern char *cx_deriv(); | ^ 50 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//compose.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:12: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:13: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:13: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 80 | resname = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | vec_remove(resname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 86 | if (!(pn = ft_getpnames(wl, true))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 90 | if (!(v = ft_evaluate(pn))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | free_pnode(first_pn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 140 | data = (double *) tmalloc(sizeof (double) * length * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 143 | cdata = (complex *) tmalloc(sizeof (complex) * length * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | dimxpand(v, dims, (realflag ? (data + i * blocksize) : | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 220 | if (cieq(var, "start")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 222 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 229 | } else if (cieq(var, "stop")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 231 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 238 | } else if (cieq(var, "step")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 240 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 247 | } else if (cieq(var, "center")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 249 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 256 | } else if (cieq(var, "span")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 258 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 265 | } else if (cieq(var, "mean")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 267 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 274 | } else if (cieq(var, "sd")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 276 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 283 | } else if (cieq(var, "lin")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 285 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 292 | } else if (cieq(var, "log")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 294 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 301 | } else if (cieq(var, "dec")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 303 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 310 | } else if (cieq(var, "gauss")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 312 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 319 | } else if (cieq(var, "random")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 321 | if (!(td = ft_numparse(&val, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 328 | } else if (cieq(var, "pool")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 376 | data = (double *) tmalloc(sizeof (double) * (int) lin); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 424 | result = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 426 | result->v_name = copy(resname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 436 | vec_new(result); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 437 | cp_addkword(CT_VECTOR, result->v_name); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | com_compose(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | extern void com_compose(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | dimxpand(v, newdims, data) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//compose.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static void dimxpand(); | ^ 54 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 54 | cp_ccon(true); /* So the user can type ahead... */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 62 | cp_addcomm(c->co_comname, c->co_cctypes[0], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 65 | cp_addkword(CT_COMMANDS, c->co_comname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 69 | cp_addkword(CT_LISTINGARGS, "deck"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 70 | cp_addkword(CT_LISTINGARGS, "logical"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | cp_addkword(CT_LISTINGARGS, "physical"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 72 | cp_addkword(CT_LISTINGARGS, "expand"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 74 | cp_addkword(CT_STOPARGS, "when"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 75 | cp_addkword(CT_STOPARGS, "after"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | cp_addkword(CT_PLOT, "new"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 80 | cp_addkword(CT_PLOTKEYWORDS, "xlimit"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | cp_addkword(CT_PLOTKEYWORDS, "ylimit"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 82 | cp_addkword(CT_PLOTKEYWORDS, "vs"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 83 | cp_addkword(CT_PLOTKEYWORDS, "xindices"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 84 | cp_addkword(CT_PLOTKEYWORDS, "xcompress"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 85 | cp_addkword(CT_PLOTKEYWORDS, "xdelta"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 86 | cp_addkword(CT_PLOTKEYWORDS, "ydelta"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 87 | cp_addkword(CT_PLOTKEYWORDS, "lingrid"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 88 | cp_addkword(CT_PLOTKEYWORDS, "loglog"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 89 | cp_addkword(CT_PLOTKEYWORDS, "linear"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 90 | cp_addkword(CT_PLOTKEYWORDS, "xlog"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 91 | cp_addkword(CT_PLOTKEYWORDS, "ylog"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 92 | cp_addkword(CT_PLOTKEYWORDS, "polar"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 93 | cp_addkword(CT_PLOTKEYWORDS, "smith"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | cp_addkword(CT_PLOTKEYWORDS, "smithgrid"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 95 | cp_addkword(CT_PLOTKEYWORDS, "nointerp"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 96 | cp_addkword(CT_PLOTKEYWORDS, "title"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 97 | cp_addkword(CT_PLOTKEYWORDS, "xlabel"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 98 | cp_addkword(CT_PLOTKEYWORDS, "ylabel"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 99 | cp_addkword(CT_PLOTKEYWORDS, "linplot"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | cp_addkword(CT_PLOTKEYWORDS, "combplot"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 101 | cp_addkword(CT_PLOTKEYWORDS, "pointplot"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 103 | cp_addkword(CT_RUSEARGS, "time"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 104 | cp_addkword(CT_RUSEARGS, "space"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 105 | cp_addkword(CT_RUSEARGS, "faults"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 106 | cp_addkword(CT_RUSEARGS, "elapsed"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | cp_addkword(CT_RUSEARGS, "totiter"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 108 | cp_addkword(CT_RUSEARGS, "traniter"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 109 | cp_addkword(CT_RUSEARGS, "tranpoints"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 110 | cp_addkword(CT_RUSEARGS, "accept"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 111 | cp_addkword(CT_RUSEARGS, "rejected"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 112 | cp_addkword(CT_RUSEARGS, "time"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 113 | cp_addkword(CT_RUSEARGS, "trantime"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 114 | cp_addkword(CT_RUSEARGS, "lutime"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 115 | cp_addkword(CT_RUSEARGS, "solvetime"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 116 | cp_addkword(CT_RUSEARGS, "transolvetime"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 117 | cp_addkword(CT_RUSEARGS, "loadtime"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 118 | cp_addkword(CT_RUSEARGS, "all"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 120 | cp_addkword(CT_VECTOR, "all"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 123 | cp_addkword(CT_VARIABLES, *x); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 125 | if (!(s = ft_typenames(i))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 127 | cp_addkword(CT_TYPENAMES, s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 131 | cp_vset("program", VT_STRING, cp_program); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 151 | cp_vset("prompt", VT_STRING, buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 152 | cp_vset("noglob", VT_BOOL, (char *) &t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 163 | cp_setalias("begin", &wl1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | cp_setalias("endif", &wl1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 167 | cp_setalias("endwhile", &wl1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 168 | cp_setalias("endforeach", &wl1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 169 | cp_setalias("endrepeat", &wl1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 170 | cp_setalias("enddowhile", &wl1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 172 | cp_setalias("?", &wl1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 183 | com_let(&wl1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 190 | com_define(&wl1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 198 | wl = cp_doglob(cp_lexer(buf)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 198 | wl = cp_doglob(cp_lexer(buf)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 199 | cp_striplist(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 200 | com_set(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 204 | for (s = cp_tildexpand(Lib_Path); s && *s; ) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:211:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 211 | if (fp = fopen(buf, "r")) { | ~~~^~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:211:13: note: place parentheses around the assignment to silence this warning 211 | if (fp = fopen(buf, "r")) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:211:13: note: use '==' to turn this assignment into an equality comparison 211 | if (fp = fopen(buf, "r")) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 213 | inp_spsource(fp, true, buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 242 | wl = wl_copy(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 243 | wl = cp_variablesubst(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 244 | wl = cp_bquote(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | cp_striplist(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 247 | pn = ft_getpnames(wl, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 248 | v = ft_evaluate(pn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 249 | free_pnode(pn); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | cp_istrue(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 172 | extern bool cp_istrue(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 283 | com_quit((wordlist *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 301 | if (fp = inp_pathopen(s, "r")) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:301:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 301 | if (fp = inp_pathopen(s, "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:301:12: note: place parentheses around the assignment to silence this warning 301 | if (fp = inp_pathopen(s, "r")) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:301:12: note: use '==' to turn this assignment into an equality comparison 301 | if (fp = inp_pathopen(s, "r")) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 303 | (void) sprintf(buf, "argc = %d argv = ( ", wl_length(wl)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 310 | com_set(cp_lexer(buf)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 310 | com_set(cp_lexer(buf)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 311 | inp_source(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 312 | cp_remvar("argc"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | cp_remvar("argv"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 320 | com_let(&ww); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | cp_oddcomm(s, wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 173 | extern bool cp_oddcomm(); | ^ 98 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | com_state(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | extern void com_state(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 48 | if_dump(ft_curckt->ci_ckt, cp_out); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | com_dump(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//debugcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | extern void com_dump(); | ^ 11 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//define.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:18: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:19: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:19: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 49 | prdefs((char *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 69 | wl->wl_word = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 76 | prdefs(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 99 | if (!(pn = ft_getpnames(wl, false))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | savetree(pn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 110 | b = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 124 | if (prefix(b, udf->ud_name) && (arity == udf->ud_arity)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 127 | udf = alloc(struct udfunc); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 139 | cp_addkword(CT_UDFUNCS, b); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | com_define(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | extern void com_define(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 157 | pn->pn_value = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 159 | pn->pn_value->v_name = copy(d->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | tmalloc(sizeof (double) * d->v_length); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 172 | tmalloc(sizeof (complex) * d->v_length); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | savetree(pn) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | static void savetree(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 205 | prtree(udf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 208 | prtree(udf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | prdefs(name) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static void prdefs(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 236 | prtree1(ud->ud_text, cp_out); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | prtree(ud) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static void prtree(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | prtree1(pn, fp) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:30:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static void prtree1(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 306 | return (trcopy(udf->ud_text, s, args)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | ft_substdef(name, args) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | extern struct pnode *ft_substdef(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 343 | return (ntharg(i, nn)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 351 | func = alloc(struct func); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 352 | func->fu_name = copy(tree->pn_func->fu_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 355 | pn = alloc(struct pnode); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 366 | op = alloc(struct op); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 370 | op->op_name = copy(tree->pn_op->op_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 372 | pn = alloc(struct pnode); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | trcopy(tree, args, nn) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:27:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static struct pnode *trcopy(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:408:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 408 | else | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | ntharg(num, args) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:26:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static struct pnode *ntharg(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 437 | cp_remkword(CT_UDFUNCS, wlist->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | com_undefine(wlist) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | extern void com_undefine(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:454:12: warning: declaration of 'struct pn' will not be visible outside of this function [-Wvisibility] 454 | struct pn *pn; | ^ /var/tmp/work/cad/spice/work/src/lib/fte//define.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | ft_pnode(pn) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//define.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 146 | extern void ft_pnode(); | ^ 59 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//device.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//device.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//device.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//device.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//device.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//device.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//device.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 44 | all_show(wl, 1); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | com_showmod(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//device.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | extern void com_showmod(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 51 | all_show(wl, 0); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | com_show(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//device.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | extern void com_show(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 73 | old_show(wl->wl_next); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 77 | if (!cp_getvar("width", VT_NUM, (char *) &screen_width)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 126 | tfree(w->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 127 | tfree(w); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 130 | tfree(w->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 131 | tfree(w); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 147 | tfree(w->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 148 | tfree(w); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 158 | for (dg = dgen_init(ft_curckt->ci_ckt, thisgroup, 1, dev_flag, mode); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | all_show(wl, mode) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static void all_show( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:241:16: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 241 | printf(" % 9.9s", dg->instance->GENname); | ~^~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:241:24: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 241 | printf(" % 9.9s", dg->instance->GENname); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:243:21: warning: trigraph ignored [-Wtrigraphs] 243 | printf(" "); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:246:16: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 246 | printf(" % 9.9s", dg->model->GENmodName); | ~^~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:246:24: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 246 | printf(" % 9.9s", dg->model->GENmodName); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:248:21: warning: trigraph ignored [-Wtrigraphs] 248 | printf(" "); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | printstr(dg, name) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | int printstr( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | param_forall(dg, flags) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 316 | if (eqc(p->wl_word, plist[i].keyword) && (plist[i].dataType & IF_ASK)) | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:27:24: note: expanded from macro 'eqc' 27 | #define eqc(a,b) (cieq((a), (b))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | listparam(p, dg) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | int listparam( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | bogus1(dg) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | int bogus1( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | bogus2(dg) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | int bogus2( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:428:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 428 | printf(" % 9.9s", val.v.vec.sVec[i]); | ~^~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:431:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 431 | printf(" % 9.9s", val.v.vec.uVec[i]); | ~^~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:431:25: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 431 | printf(" % 9.9s", val.v.vec.uVec[i]); | ~~~~~~ ^~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:454:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 454 | printf(" % 9.9s", val.sValue); | ~^~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:457:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 457 | printf(" % 9.9s ", val.uValue); | ~^~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:457:26: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 457 | printf(" % 9.9s ", val.uValue); | ~~~~~~ ^~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | printvals(dg, p, i) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | int printvals( ); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 500 | inp_casefix(devs->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 501 | tw = wl_append(tw, devexpand(devs->wl_word)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 501 | tw = wl_append(tw, devexpand(devs->wl_word)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 513 | devs = cp_cctowl(ft_curckt->ci_devices); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 518 | out_printf("%s:\n", devs->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 521 | nn = copy(devs->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 522 | v = (*if_getparam)(ft_curckt->ci_ckt, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 525 | v = (*if_getparam)(ft_curckt->ci_ckt, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 528 | out_printf("\t%s =", tw->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 529 | for (ww = cp_varwl(v); ww; ww = | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 531 | out_printf(" %s", ww->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 532 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 536 | nn = copy(devs->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 537 | v = (*if_getparam)(ft_curckt->ci_ckt, &nn, "all", 0, 0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 539 | v = (*if_getparam)(ft_curckt->ci_ckt, &nn, "all", 0, 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 541 | out_printf("\t%s =", v->va_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 542 | for (ww = cp_varwl(v); ww; ww = ww->wl_next) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 543 | out_printf(" %s", ww->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 544 | out_send("\n"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | old_show(wl) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | void old_show( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | com_alter(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//device.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | extern void com_alter(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | com_altermod(wl) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 596 | names = ft_getpnames(wl, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 615 | free_pnode(names); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 626 | free_pnode(names); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 636 | free_pnode(names); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 662 | dv = ft_evaluate(n2->pn_right); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 663 | free_pnode(names); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 671 | if_setparam(ft_curckt->ci_ckt, &dev, param, dv, do_model); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 673 | free_pnode(names); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 761 | devices = cp_cctowl(ft_curckt->ci_devices); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 763 | if (cp_globmatch(name, devices->wl_word)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 764 | tw = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 774 | wl = cp_cctowl(ft_curckt->ci_devices); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 776 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 779 | wl_sort(wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | devexpand(name) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//device.c:18:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static wordlist *devexpand(); | ^ 87 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//diff.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:15: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:15: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:15: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:15: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | nameeq(n1, n2) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 58 | if (!cp_getvar("diff_vntol", VT_REAL, (char *) &vntol)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 60 | if (!cp_getvar("diff_abstol", VT_REAL, (char *) &abstol)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 62 | if (!cp_getvar("diff_reltol", VT_REAL, (char *) &reltol)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 211 | printnum(d1)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 215 | printnum(d2)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 231 | copy(printnum(realpart(&c1))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 231 | copy(printnum(realpart(&c1))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 232 | copy(printnum(imagpart(&c1))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 232 | copy(printnum(imagpart(&c1))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 234 | copy(printnum(realpart(&c2))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 234 | copy(printnum(realpart(&c2))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 235 | copy(printnum(imagpart(&c2)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 235 | copy(printnum(imagpart(&c2)))); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | com_diff(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//diff.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | extern void com_diff(); | ^ 26 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//display.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//display.c:6: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//display.c:6: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//display.c:6: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//display.c:6: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//display.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/fte//display.c:141:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | DISPDEVICE *FindDev(name) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 173 | if (getenv("DISPLAY") || cp_getvar("display", VT_STRING, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 213 | return (*(dispdev->NewViewport))(pgraph); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | NewViewport(pgraph) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 234 | (*(dispdev->DrawLine))(x1, y1, x2, y2); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | DrawLine(x1, y1, x2, y2) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 243 | (*(dispdev->Arc))(x0, y0, radius, theta1, theta2); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | Arc(x0, y0, radius, theta1, theta2) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 252 | (*(dispdev->Text))(text, x, y); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | Text(text, x, y) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 261 | (*(dispdev->DefineColor))(colorid, red, green, blue); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | DefineColor(colorid, red, green, blue) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 270 | (*(dispdev->DefineLinestyle))(linestyleid, mask); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | DefineLinestyle(linestyleid, mask) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 278 | (*(dispdev->SetLinestyle))(linestyleid); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | SetLinestyle(linestyleid) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 286 | (*(dispdev->SetColor))(colorid); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | SetColor(colorid) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | gen_DatatoScreen(graph, x, y, screenx, screeny) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:13:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | static int nodev(), nop(), gen_DatatoScreen(), gen_Input(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 348 | (*(dispdev->DatatoScreen))(graph, x, y, screenx, screeny); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | DatatoScreen(graph, x, y, screenx, screeny) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 370 | (*(dispdev->Input))(request, response); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | Input(request, response) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 382 | response->reply.ch = inchar(request->fp); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | gen_Input(request, response) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:13:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | static int nodev(), nop(), gen_DatatoScreen(), gen_Input(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 428 | keyed->text = tmalloc(strlen(text) + 1); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | SaveText(graph, text, x, y) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//display.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | DevSwitch(devname) | ^ 36 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteinput.h:25: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 43 | (void) plotit(wl, (char *) NULL, "lpr"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | com_asciiplot(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | extern void com_asciiplot(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 67 | if (cieq(fname, "temp") || cieq(fname, "tmp")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 67 | if (cieq(fname, "temp") || cieq(fname, "tmp")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 68 | fname = smktemp("xg"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 72 | (void) plotit(wl, fname, "xgraph"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | com_xgraph(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | extern void com_xgraph(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 106 | if (!cp_getvar("hcopydev", VT_STRING, device)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 115 | fname = smktemp("hc"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 119 | if (!cp_getvar("hcopydevtype", VT_STRING, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 144 | tempgraph = CopyGraph(response.reply.graph); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 164 | outmenuprompt("which variable ? "); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 165 | if ((buf2 = prompt(cp_in)) == (char *) -1) /* XXXX Sick */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 167 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 170 | wl = process(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 179 | if (!wl || !plotit(wl, fname, (char *) NULL)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 195 | if (!cp_getvar("lprplot5", VT_STRING, format)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 206 | if (!cp_getvar("lprps", VT_STRING, format)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | com_hardcopy(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | extern void com_hardcopy(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 248 | (void) plotit(wl, (char *) NULL, (char *) NULL); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | com_plot(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | extern void com_plot(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 293 | wwl = wl_copy(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 294 | (void) getlims(wwl, "xl", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 295 | (void) getlims(wwl, "xlimit", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 296 | (void) getlims(wwl, "yl", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 297 | (void) getlims(wwl, "ylimit", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 298 | (void) sprintf(cline, "plot %s", wl_flatten(wwl)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 300 | wl_free(wwl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 307 | tw = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | sameflag = getflag(wl, "samep"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 316 | xlim = getlims(wl, "xl", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 318 | xlim = getlims(wl, "xlimit", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 320 | (void) getlims(wl, "xl", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 321 | (void) getlims(wl, "xlimit", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 325 | ylim = getlims(wl, "yl", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 327 | ylim = getlims(wl, "ylimit", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 329 | (void) getlims(wl, "yl", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 330 | (void) getlims(wl, "ylimit", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 334 | xcompress = getlims(wl, "xcompress", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 336 | xcompress = getlims(wl, "xcomp", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 338 | (void) getlims(wl, "xcompress", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 339 | (void) getlims(wl, "xcomp", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 343 | xindices = getlims(wl, "xindices", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 345 | xindices = getlims(wl, "xind", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 347 | (void) getlims(wl, "xindices", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 348 | (void) getlims(wl, "xind", 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 352 | xdelta = getlims(wl, "xdelta", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 354 | xdelta = getlims(wl, "xdel", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 356 | (void) getlims(wl, "xdelta", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 357 | (void) getlims(wl, "xdel", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 360 | ydelta = getlims(wl, "ydelta", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 362 | ydelta = getlims(wl, "ydel", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 364 | (void) getlims(wl, "ydelta", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 365 | (void) getlims(wl, "ydel", 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 371 | if (getflag(wl, "lingrid")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 380 | if (getflag(wl, "loglog")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 389 | if (getflag(wl, "nogrid")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 398 | if (getflag(wl, "linear")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 407 | if (getflag(wl, "xlog")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 416 | if (getflag(wl, "ylog")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 425 | if (getflag(wl, "polar")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 434 | if (getflag(wl, "smith")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 443 | if (getflag(wl, "smithgrid")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 454 | if (cp_getvar("gridstyle", VT_STRING, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 484 | if (getflag(wl, "linplot")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 493 | if (getflag(wl, "combplot")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 502 | if (getflag(wl, "pointplot")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 513 | if (cp_getvar("plotstyle", VT_STRING, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 532 | xlabel = getword(wl, "xlabel"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 534 | (void) getword(wl, "xlabel"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 536 | ylabel = getword(wl, "ylabel"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 538 | (void) getword(wl, "ylabel"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 540 | title = getword(wl, "title"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 542 | (void) getword(wl, "title"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 545 | nointerp = getflag(wl, "nointerp"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 546 | else if (getflag(wl, "nointerp")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 566 | names = ft_getpnames(wl, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 583 | dv = ft_evaluate(n); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 598 | dv = ft_evaluate(n); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 609 | free_pnode(names); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 626 | lv->v_link2 = vec_mkfamily(d); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 628 | vecs = lv = vec_mkfamily(d); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 707 | xtend(d, d->v_scale->v_length); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 714 | compress(d, xcompress, xindices); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 715 | d->v_scale = vec_copy(d->v_scale); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 716 | compress(d->v_scale, xcompress, xindices); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 730 | n = vec_copy(d); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 803 | dd = ft_minmax(d, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 813 | dd = ft_minmax(d, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 863 | dd = ft_minmax(d, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 874 | dd = ft_minmax(d->v_scale, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 992 | !if_tranparams(ft_curckt, &tstart, &tstop, &tstep) || | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 998 | !ciprefix("tran", plot_cur->pl_typename))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1002 | newscale = (double *) tmalloc(newlen * sizeof(double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1004 | newv_scale = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1009 | newv_scale->v_name = copy(vecs->v_scale->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1016 | newdata = (double *) tmalloc(newlen * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1018 | if (!ft_interpolate(v->v_realdata, newdata, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1026 | tfree(v->v_realdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1036 | ft_agraf(xlims, ylims, vecs->v_scale, vecs->v_plot, vecs, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1055 | xlabel ? xlabel : ft_typabbrev(vecs->v_scale->v_type), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1056 | ylabel ? ylabel : ft_typabbrev(j), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1053 | ft_xgraph(xlims, ylims, hcopy, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1069 | if (!gr_init(xlims, ylims, (oneval ? (char *) NULL : xn), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1077 | ft_graf(d, oneval ? (struct dvec *) NULL : d->v_scale, false); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | plotit(wl, hcopy, devname) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static bool plotit(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1112 | d = (double *) tmalloc(sizeof (double) * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1123 | td = ft_numparse(&ss, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1139 | wl_free(beg); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | getlims(wl, name, number) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:24:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static double *getlims(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1167 | s = copy(beg->wl_next->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1172 | wl_free(beg); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | getword(wl, name) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static char *getword(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | getflag(wl, name) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static bool getflag(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1220 | v->v_realdata = (double *) tmalloc(length * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1226 | tfree(od); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1229 | v->v_compdata = (complex *) tmalloc(length * sizeof (complex)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1239 | tfree(oc); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | xtend(v, length) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static void xtend(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1266 | dd = (double *) tmalloc(newlen * sz); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1271 | tfree(d->v_realdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1276 | tfree(d->v_compdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | compress(d, xcomp, xind) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//doplot.c:25:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static void compress(); | ^ 139 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 36 | if (ciprefix(".save", iline->wl_word)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 38 | (void) gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 39 | wl = wl_append(wl, gettoks(s)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 39 | wl = wl_append(wl, gettoks(s)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 43 | com_save(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 75 | if (ciprefix(".plot", s)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 80 | if (isaplot || ciprefix(".print", s)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | (void) gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 82 | name = gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 84 | if (!(w = gettoks(s))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 96 | tfree(wl); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | } else if (ciprefix(".four", s)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 108 | (void) gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 109 | (void) gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 110 | if (!(w = gettoks(s))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 117 | } else if (ciprefix(".op", s)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 120 | } else if (ciprefix(".tf", s)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | inp_list(cp_out, ft_curckt->ci_deck, ft_curckt->ci_options, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:165:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 165 | else | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 170 | if (setcplot("op")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 186 | printnum(v->v_realdata[0])); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 193 | printnum(v->v_realdata[0])); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 197 | com_showmod(&all); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 198 | com_show(&all); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | if (ciprefix("tf", pl->pl_typename)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 210 | com_print(&all); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 217 | command = cp_lexer(coms->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 223 | } while (command && !ciprefix("out", command->wl_word)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 232 | cp_vset("width", VT_NUM, (char *) &i); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 247 | fixdotprint(command); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 251 | if (ciprefix(plottype, pl->pl_typename)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 253 | com_print(&twl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 276 | fixdotplot(command); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 279 | if (ciprefix(plottype, pl->pl_typename)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 281 | com_asciiplot(command); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 290 | } else if (ciprefix(".four", command->wl_word)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 294 | } else if (setcplot("tran")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 295 | com_fourier(command->wl_next); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 324 | com_rusage(&ww); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 326 | com_rusage((wordlist *) NULL); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | ft_cktcoms(terse) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 173 | extern int ft_cktcoms(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 352 | wl->wl_word = fixem(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 359 | d = ft_numparse(&s, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 367 | d = ft_numparse(&s, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 374 | tfree(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 375 | wl->wl_word = copy("xlimit"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 376 | wl->wl_next = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 379 | (void) strcpy(buf, printnum(d1)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 380 | wl->wl_word = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 381 | wl->wl_next = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 384 | (void) strcpy(buf, printnum(d2)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 385 | wl->wl_word = copy(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | fixdotplot(wl) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static void fixdotplot(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 397 | wl->wl_word = fixem(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | fixdotprint(wl) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static void fixdotprint(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 409 | if (ciprefix("v(", string) && index(string, ',')) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 422 | tfree(ss); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 423 | string = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 424 | } else if (ciprefix("vm(", string)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 429 | tfree(ss); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 430 | string = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 431 | } else if (ciprefix("vp(", string)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 436 | tfree(ss); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 437 | string = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 438 | } else if (ciprefix("vi(", string)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 443 | tfree(ss); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 444 | string = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 445 | } else if (ciprefix("vr(", string)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 450 | tfree(ss); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 451 | string = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 452 | } else if (ciprefix("vdb(", string)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 457 | tfree(ss); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 458 | string = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 459 | } else if (ciprefix("i(", string)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 465 | tfree(ss); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 466 | string = copy(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | fixem(string) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static char *fixem(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 480 | if (ciprefix(name, pl->pl_typename)) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | setcplot(name) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:22:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static bool setcplot(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 572 | while (t = gettok(&s)) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:572:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 572 | while (t = gettok(&s)) { | ~~^~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:572:14: note: place parentheses around the assignment to silence this warning 572 | while (t = gettok(&s)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:572:14: note: use '==' to turn this assignment into an equality comparison 572 | while (t = gettok(&s)) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 577 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 578 | wl->wl_word = copy(t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 593 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 598 | wl->wl_word = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 601 | wl->wl_word = copy(l + 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 608 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 609 | wl->wl_word = copy(c + 1); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | gettoks(s) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dotcards.c:18:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static wordlist *gettoks(); | ^ 101 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//error.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//error.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//error.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//error.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//error.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//error.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//error.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 90 | extern int kill(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/signal.h:83:5: note: conflicting prototype is here 83 | int kill(pid_t, int) __DARWIN_ALIAS(kill); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//error.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | fperror(mess, code) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//error.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | extern void fperror(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | fprintf(cp_err, "%s: %s\n", mess, if_errstring(code)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//error.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | ft_sperror(code, mess) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//error.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 181 | extern void ft_sperror(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | cp_ccon(false); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//error.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | internalerror(message) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//error.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | externalerror(message) | ^ 15 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:11: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 90 | extern int kill(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/signal.h:83:5: note: conflicting prototype is here 83 | int kill(pid_t, int) __DARWIN_ALIAS(kill); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 63 | d = apply_func(node->pn_func, node->pn_left); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 67 | ((*node->pn_op->op_func) (node->pn_left)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 70 | (node->pn_left, node->pn_right)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | d->v_name = copy(node->pn_name); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | ft_evaluate(node) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 190 | extern struct dvec *ft_evaluate(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 96 | return (doop('+', cx_plus, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | op_plus(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 201 | extern struct dvec *op_plus(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 103 | return (doop('-', cx_minus, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | op_minus(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | extern struct dvec *op_minus(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 110 | return (doop(',', cx_comma, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | op_comma(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | extern struct dvec *op_comma(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 117 | return (doop('*', cx_times, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | op_times(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | extern struct dvec *op_times(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 124 | return (doop('%', cx_mod, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | op_mod(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | extern struct dvec *op_mod(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 131 | return (doop('/', cx_divide, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | op_divide(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | extern struct dvec *op_divide(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 138 | return (doop('^', cx_power, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | op_power(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 202 | extern struct dvec *op_power(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 145 | return (doop('=', cx_eq, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | op_eq(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | extern struct dvec *op_eq(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 152 | return (doop('>', cx_gt, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | op_gt(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | extern struct dvec *op_gt(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 159 | return (doop('<', cx_lt, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | op_lt(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 194 | extern struct dvec *op_lt(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | return (doop('G', cx_ge, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | op_ge(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | extern struct dvec *op_ge(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 173 | return (doop('L', cx_le, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | op_le(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 193 | extern struct dvec *op_le(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | return (doop('N', cx_ne, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | op_ne(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | extern struct dvec *op_ne(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 187 | return (doop('&', cx_and, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | op_and(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | extern struct dvec *op_and(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 194 | return (doop('|', cx_or, arg1, arg2)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | op_or(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | extern struct dvec *op_or(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 249 | res = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 251 | res->v_name = mkcname('R', v->v_name, ind->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 269 | res->v_realdata = (double *) tmalloc(sizeof (double) * len); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 271 | res->v_compdata = (complex *) tmalloc(sizeof (complex) * len); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 300 | vec_new(res); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | op_range(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 205 | extern struct dvec *op_range(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 396 | res = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 398 | res->v_name = mkcname('[', v->v_name, ind->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 417 | res->v_realdata = (double *) tmalloc(sizeof (double) * length); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 419 | res->v_compdata = (complex *) tmalloc(sizeof (complex) * length); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 450 | vec_new(res); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | op_ind(arg1, arg2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | extern struct dvec *op_ind(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 479 | t = vec_fromplot(buf, plot_cur); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 484 | t = vec_copy(t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 485 | vec_new(t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 508 | data = (char *) ((*func->fu_func) ((isreal(v) ? (char *) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 514 | data = (char *) ((*func->fu_func) ((isreal(v) ? (char *) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 527 | t = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 544 | t->v_name = mkcname('a', func->fu_name, v->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 546 | t->v_name = mkcname('c', func->fu_name, v->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 548 | t->v_name = mkcname('b', v->v_name, (char *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 561 | vec_new(t); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | apply_func(func, arg) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:26:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static struct dvec *apply_func(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | op_uminus(arg) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | extern struct dvec *op_uminus(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | op_not(arg) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 198 | extern struct dvec *op_not(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 613 | s = copy(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | mkcname(what, v1, v2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static char *mkcname(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 698 | d1 = (double *) tmalloc(length * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 708 | c1 = (complex *) tmalloc(length * sizeof (complex)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 725 | d2 = (double *) tmalloc(length * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 735 | c2 = (complex *) tmalloc(length * sizeof (complex)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 760 | data = (char *) ((*func) ((isreal(v1) ? (char *) d1 : (char *) c1), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 773 | res = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 814 | vec_new(res); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 819 | tfree(d1); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 821 | tfree(c1); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 826 | tfree(d2); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 828 | tfree(c2); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | doop(what, func, arg1, arg2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//evaluate.c:27:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static struct dvec *doop(); | ^ 110 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:19: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:19: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:19: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:19: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 53 | if ((!cp_getvar("nfreqs", VT_NUM, (char *) &nfreqs)) || (nfreqs < 1)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 55 | if ((!cp_getvar("polydegree", VT_NUM, (char *) &polydegree)) || | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 58 | if ((!cp_getvar("fourgridsize", VT_NUM, (char *) &fourgridsize)) || | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 68 | if (!(ff = ft_numparse(&s, false)) || (*ff <= 0.0)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 74 | freq = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 75 | mag = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 76 | phase = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 77 | nmag = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | nphase = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | names = ft_getpnames(wl, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 84 | vec = ft_evaluate(names); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 101 | grid = (double *) tmalloc(fourgridsize * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 103 | stuff = (double *) tmalloc(fourgridsize * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 105 | dp = ft_minmax(time, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 122 | if (!ft_interpolate(vec->v_realdata, stuff, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 137 | err = CKTfour(fourgridsize, nfreqs, &thd, timescale, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 141 | ft_sperror(err, "fourier"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 167 | fw, pn(freq[i]), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 168 | fw, pn(mag[i]), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 169 | fw, pn(phase[i]), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 170 | fw, pn(nmag[i]), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 171 | fw, pn(nphase[i])); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 176 | free_pnode(first_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 177 | tfree(freq); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 178 | tfree(mag); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 179 | tfree(phase); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | tfree(nmag); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 181 | tfree(nphase); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | com_fourier(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | extern void com_fourier(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 199 | return (copy(buf)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | pn(num) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static char *pn(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | CKTfour(ndata,numFreq,thd,Time,Value,FundFreq,Freq,Mag,Phase,nMag,nPhase) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//fourier.c:23:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static int CKTfour(); | ^ 45 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//graf.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 111 | if (!cp_getvar("pointchars", VT_STRING, pointchars)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 114 | if (!cp_getvar("ticmarks", VT_NUM, (char *) &graph->ticmarks)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 115 | if (cp_getvar("ticmarks", VT_BOOL, (char *) &b)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 121 | if (cp_getvar("ticlist", VT_LIST, ticlist)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 122 | wl = (wordlist *)vareval("ticlist"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 123 | ticlist = (char *)wl_flatten(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 124 | graph->ticdata = (double *) readtics(ticlist); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | comb_title = tmalloc(strlen(plotname) + strlen(pname) + 3); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 207 | gr_resize_internal(graph); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 223 | graph->commandline = copy(commandline); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | gr_init(xlims, ylims, xname, plotname, hcopy, nplots, xdelta, ydelta, gridtype, | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 238 | extern bool gr_init(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 259 | if (clip_line(&fromx, &fromy, &tox, &toy, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 265 | if (clip_to_circle(&fromx, &fromy, &tox, &toy, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:290:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 290 | if (tics = (double *) currentgraph->ticdata) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:290:11: note: place parentheses around the assignment to silence this warning 290 | if (tics = (double *) currentgraph->ticdata) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:290:11: note: use '==' to turn this assignment into an equality comparison 290 | if (tics = (double *) currentgraph->ticdata) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | gr_point(dv, newx, newy, oldx, oldy, np) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 244 | extern void gr_point(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 346 | s = ft_typenames(dv->v_type); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 385 | link->vector = vec_copy(dv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 397 | drawlegend(currentgraph, plotno, dv); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | gr_start_internal(dv, copyvec) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | gr_start(dv) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 245 | extern void gr_start(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | gr_relinestyle(graph) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | drawlegend(graph, plotno, dv) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static void drawlegend(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | gr_end(dv) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 240 | extern void gr_end(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 491 | if (cp_getvar("device", VT_STRING, buf) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | gr_pmsg(text) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 243 | extern void gr_pmsg(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 526 | gr_resize_internal(graph); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | gr_resize(graph) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 564 | gr_fixgrid(graph, graph->grid.xdelta, graph->grid.ydelta, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | gr_resize_internal(graph) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static void gr_resize_internal(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 605 | ft_graf(link->vector, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | gr_redraw(graph) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | gr_restoretext(graph) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 679 | lims = ft_minmax(xs, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 686 | lims = ft_minmax(v, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 726 | ft_graf(v, xs, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 736 | if (!if_tranparams(ft_curckt, &start, &stop, &step) || | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 737 | !ciprefix("tran", pl->pl_typename)) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:818:45: warning: too many arguments in call to 'gr_pmsg' 818 | gr_pmsg("Resizing screen", false); | ~~~~~~~ ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | iplot(pl, id) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 866 | v = vec_fromplot(dc->db_nodename1, plot); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | set(plot, db, unset, mode) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | getitright(buf, num) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 926 | if (db->db_graphid) PushGraphContext(FindGraph(db->db_graphid)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | gr_iplot(plot) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:21: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 241 | extern void gr_iplot(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1028 | dbfree(db); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1034 | graph = FindGraph(db->db_graphid); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1040 | link->vector = vec_copy(dv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1072 | tics = (double *) tmalloc(MAXTICS * sizeof(double)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graf.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | readtics(string) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | double *readtics(); | ^ 64 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:13: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:84:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | GRAPH *FindGraph(id) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 126 | newlink->vector = vec_copy(link->vector); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 134 | ret->commandline = copy(graph->commandline); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 135 | ret->plotname = copy(graph->plotname); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:103:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | GRAPH *CopyGraph(graph) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 188 | tfree(d->vector->v_name); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 190 | tfree(d->vector->v_realdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 192 | tfree(d->vector->v_compdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | DestroyGraph(id) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | SetGraphContext(graphid) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//graphdb.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | PushGraphContext(graph) | ^ 17 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//grid.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:11: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 65 | polargrid(graph); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | smithgrid(graph); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | dd = loggrid(graph, graph->data.ymin, graph->data.ymax, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | dd = lingrid(graph, graph->data.ymin, graph->data.ymax, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 89 | dd = loggrid(graph, graph->data.xmin, graph->data.xmax, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 92 | dd = lingrid(graph, graph->data.xmin, graph->data.xmax, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | gr_fixgrid(graph, xdelta, ydelta, xtype, ytype) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 257 | extern void gr_fixgrid(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 141 | drawpolargrid(graph); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 144 | drawsmithgrid(graph); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 147 | drawsmithgrid(graph); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 153 | drawloggrid(graph, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 162 | drawlingrid(graph, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 186 | drawloggrid(graph, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 195 | drawlingrid(graph, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | gr_redrawgrid(graph) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 355 | if (s = ft_typabbrev(type)) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:355:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 355 | if (s = ft_typabbrev(type)) { | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:355:11: note: place parentheses around the assignment to silence this warning 355 | if (s = ft_typabbrev(type)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:355:11: note: use '==' to turn this assignment into an equality comparison 355 | if (s = ft_typabbrev(type)) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | lingrid(graph, lo, hi, delta, type, axis) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:22:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static double *lingrid(), *loggrid(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | drawlingrid(graph, units, spacing, nsp, dst, lmt, hmt, onedec, mult, mag, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static void drawlingrid( ); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 637 | if (s = ft_typabbrev(type)) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 637 | if (s = ft_typabbrev(type)) { | ~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:637:11: note: place parentheses around the assignment to silence this warning 637 | if (s = ft_typabbrev(type)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:637:11: note: use '==' to turn this assignment into an equality comparison 637 | if (s = ft_typabbrev(type)) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | loggrid(graph, lo, hi, type, axis) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:22:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static double *lingrid(), *loggrid(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | drawloggrid(graph, units, hmt, lmt, decsp, subs, pp, axis) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static void drawloggrid( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | polargrid(graph) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static void polargrid(), smithgrid(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 933 | cliparc((double) graph->grid.xaxis.circular.center + relcx, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 945 | addradlabel(graph, i, theta, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 967 | if (!clip_to_circle(&x1, &y1, &x2, &y2, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 975 | adddeglabel(graph, i * 30, x2, y2, x1, y1, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1004 | if (!clip_to_circle(&x1, &y1, &x2, &y2, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1010 | adddeglabel(graph, i, x2, y2, x1, y1, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | drawpolargrid(graph) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static void drawpolargrid( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | adddeglabel(graph, deg, x, y, cx, cy, lx, ly) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | static void adddeglabel(), addradlabel(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | addradlabel(graph, lab, theta, x, y) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:31:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | static void adddeglabel(), addradlabel(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | smithgrid(graph) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:23:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static void polargrid(), smithgrid(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1341 | arcset(graph, rr[k], kr[k], ir[k], ki[k], pixperunit, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | drawsmithgrid(graph) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:25:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static void drawsmithgrid( ); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1417 | cliparc((double) (centx + xoffset + radoff - rad), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1425 | cliparc((double) (centx + xoffset + radoff + rad), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1431 | aclip = cliparc((double) (centx + xoffset + radoff), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1450 | aclip = cliparc((double) (centx + xoffset + radoff), | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | arcset(graph, rad, prevrad, irad, iprevrad, radoff, maxrad, centx, centy, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static void arcset(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | cliparc(cx, cy, rad, start, end, iclipx, iclipy, icliprad, flag) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//grid.c:30:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static double cliparc(); | ^ 67 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//inp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 60 | inp_list(cp_out, expand ? ft_curckt->ci_deck : | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | com_listing(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | extern void com_listing(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 79 | inp_casefix(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | upper(string) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 108 | (void) cp_getvar("renumber", VT_BOOL, (char *) &renumber); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 114 | if (ciprefix(".end", here->li_line) && | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 122 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 132 | out_printf("%s\n", | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:136:45: warning: data argument not used by format string [-Wformat-extra-args] 135 | fprintf(file, "%s\n", | ~~~~~~ 136 | here->li_error, file); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 148 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 157 | if (ciprefix(".end", here->li_line) && | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 165 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 172 | out_printf("%s\n", | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | out_printf("%s\n", | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 190 | if (ciprefix(".end", here->li_line) && | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 198 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 205 | out_printf("%s\n", | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | out_printf("%s\n", | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 232 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 237 | out_printf(".end\n"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | inp_list(file, deck, extras, type) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 268 | extern void inp_list(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 268 | inp_readall(fp, &deck); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 273 | options = inp_getopts(deck); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 275 | realdeck = inp_deckcopy(deck); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 279 | tt = copy(deck->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | if (!ciprefix(".control", dd->li_line) && | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 314 | !ciprefix(".endc", dd->li_line)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 316 | (void) cp_evloop(dd->li_line + 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 318 | (void) cp_evloop(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:317:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 317 | else | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 319 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 320 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 337 | if (ciprefix(".control", dd->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 339 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 340 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 346 | } else if (ciprefix(".endc", dd->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 348 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 349 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 355 | } else if (commands || prefix("*#", dd->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 356 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 363 | if (prefix("*#", dd->li_line)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 364 | wl->wl_word = copy(dd->li_line + 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 368 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 374 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 375 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 377 | inp_casefix(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 378 | inp_casefix(dd->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 379 | if (eq(s, ".width") || ciprefix(".four", s) || eq(s, ".plot") | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 384 | end->wl_next = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 388 | wl_first = end = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 389 | end->wl_word = copy(dd->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 393 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 394 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 409 | if (!cp_getvar("nosubckt", VT_BOOL, (char *) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 411 | deck->li_next = inp_subcktexpand(deck-> | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 414 | inp_dodeck(deck, tt, wl_first, false, options, filename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 419 | for (end = wl = wl_reverse(controls); wl; | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 421 | (void) cp_evloop(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | inp_spsource(fp, comfile, filename) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 266 | extern void inp_spsource(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 465 | tfree(dd->li_error); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 473 | ft_curckt->ci_devices = cp_kwswitch(CT_DEVNAMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 475 | ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 478 | ft_curckt = ct = alloc(struct circ); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 480 | (void) cp_getvar("noparse", VT_BOOL, (char *) &noparse); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 482 | ckt = if_inpdeck(deck, &tab); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 497 | out_printf("Error on line %d : %s\n\t%s\n", | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 500 | out_printf("\t%s\n", p); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 520 | ft_curckt->ci_devices = cp_kwswitch(CT_DEVNAMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 522 | (void) cp_kwswitch(CT_DEVNAMES, ft_curckt->ci_devices); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 523 | ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, (char *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 524 | (void) cp_kwswitch(CT_NODENAMES, ft_curckt->ci_nodes); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 525 | ft_newcirc(ct); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 541 | ct->ci_filename = copy(filename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 551 | wl = cp_lexer(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 556 | eev->va_next = cp_setparse(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 558 | ct->ci_vars = eev = cp_setparse(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 566 | if_option(ct->ci_ckt, eev->va_name, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 570 | if_option(ct->ci_ckt, eev->va_name, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 574 | if_option(ct->ci_ckt, eev->va_name, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 578 | if_option(ct->ci_ckt, eev->va_name, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 585 | cp_addkword(CT_CKTNAMES, tt); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | inp_dodeck(deck, tt, end, reuse, options, filename) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 264 | extern void inp_dodeck(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 606 | if (!doedit(wl->wl_word)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 610 | if (!(fp = inp_pathopen(wl->wl_word, "r"))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 622 | filename = smktemp("sp"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 645 | if (!doedit(filename)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 672 | com_run(NULL); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | com_edit(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 261 | extern void com_edit(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 685 | if (cp_getvar("editor", VT_STRING, buf2)) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | doedit(filename) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static bool doedit(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 718 | tempfile = smktemp("sp"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 719 | if (!(fp = inp_pathopen(tempfile, "w+"))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 725 | if (!(tp = inp_pathopen(wl->wl_word, "r"))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 741 | fp = inp_pathopen(wl->wl_word, "r"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 749 | if (ft_nutmeg || substring(".spiceinit", owl->wl_word) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 750 | || substring("spice.rc", owl->wl_word)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | com_source(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 263 | extern void com_source(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | inp_source(file) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inp.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 265 | extern void inp_source(); | ^ 112 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 38 | strptr = tmalloc(memlen); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 47 | if( !(strptr = trealloc(strptr, memlen + 1))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 61 | strptr = trealloc(strptr, strlen + 1); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | readline(fd) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | || !cp_getvar("sourcepath", VT_LIST, (char *) &v)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 87 | cp_wstrip(v->va_string); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:97:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 97 | if (fp = fopen(buf, mode)) | ~~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:97:16: note: place parentheses around the assignment to silence this warning 97 | if (fp = fopen(buf, mode)) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:97:16: note: use '==' to turn this assignment into an equality comparison 97 | if (fp = fopen(buf, mode)) | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | inp_pathopen(name, mode) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 270 | extern FILE *inp_pathopen(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:118:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 118 | while (buffer = readline(fp)) { | ~~~~~~~^~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:118:19: note: place parentheses around the assignment to silence this warning 118 | while (buffer = readline(fp)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:118:19: note: use '==' to turn this assignment into an equality comparison 118 | while (buffer = readline(fp)) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 128 | if (ciprefix(".include", buffer)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 142 | s = cp_tildexpand(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 153 | end->li_next = alloc(struct line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 156 | end = cc = alloc(struct line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 161 | end->li_line = copy(buffer); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 174 | end->li_next = alloc(struct line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 177 | end = cc = alloc(struct line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 208 | working->li_error = copy( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 213 | buffer = tmalloc(strlen(prev->li_line) + strlen(s) + 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 224 | tfree(s); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 226 | newcard = alloc(struct line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | inp_readall(fp, data) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 269 | extern void inp_readall(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | inp_casefix(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//inpcom.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 267 | extern void inp_casefix(); | ^ 31 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//interp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 48 | scratch = (double *) tmalloc((degree + 1) * (degree + 2) * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 50 | result = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 51 | xdata = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 52 | ydata = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 58 | while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | lastone = putinterval(result, degree, ndata, lastone, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 95 | while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | lastone = putinterval(result, degree, ndata, lastone, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | tfree(scratch); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 108 | tfree(xdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 109 | tfree(ydata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 110 | tfree(result); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 280 | extern bool ft_interpolate(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 231 | d = ft_peval(xdata[i], result, degree); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | ft_polyfit(xdata, ydata, result, degree, scratch) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 281 | extern bool ft_polyfit(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 276 | nvec[i] = ft_peval(nscale[i], poly, degree); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static int putinterval(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | printmat(name, mat, m, n) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static void printmat(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | ft_peval(x, coeffs, degree) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 282 | extern double ft_peval(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 366 | v = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 367 | v->v_name = copy(ov->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 373 | nd = (double *) tmalloc(newlen * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 380 | vec_new(v); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | lincopy(ov, newscale, newlen, oldscale) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | void lincopy(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | ft_polyderiv(coeffs, degree) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//interp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 283 | extern void ft_polyderiv( ); | ^ 38 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//linear.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//linear.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//linear.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//linear.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//linear.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//linear.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 28 | !if_tranparams(ft_curckt, &tstart, &tstop, &tstep)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 48 | if (!ciprefix("tran", plot_cur->pl_typename)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 54 | new = plot_alloc("transient"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 56 | new->pl_name = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 57 | new->pl_title = copy(old->pl_title); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 58 | new->pl_date = copy(old->pl_date); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 60 | plot_new(new); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 61 | plot_setcur(new->pl_typename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 64 | newtime = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 65 | newtime->v_name = copy(oldtime->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | newtime->v_realdata = (double *) tmalloc(len * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | v = vec_fromplot(wl->wl_word, old); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//linear.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | com_linearize(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//linear.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 284 | extern void com_linearize(); | ^ 20 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 43 | out_printf( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 47 | out_printf( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 49 | out_printf( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 63 | out_printf("%s ", ccc[i]->co_comname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 64 | out_printf(ccc[i]->co_help, cp_program); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 65 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | out_printf("%s ", c->co_comname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 72 | out_printf(c->co_help, cp_program); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 74 | out_send( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 76 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 91 | out_printf("%s is aliased to ", | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | wl_print(al->al_text, cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 95 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 101 | out_send("\n"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | com_help(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 304 | extern void com_help(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 133 | if (cp_getvar("level", VT_STRING, slevel)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 148 | out_printf( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 150 | out_printf( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 152 | out_printf( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 170 | out_printf("%s ", com->co_comname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 171 | out_printf(com->co_help, cp_program); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 172 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 176 | out_send("\n"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | com_ahelp(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 302 | extern void com_ahelp(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 189 | if (cp_getvar("helppath", VT_STRING, buf)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 190 | path = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 196 | if (!(npath = cp_tildexpand(path))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | if (cp_getvar("helpregfont", VT_STRING, buf)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 204 | hlp_regfontname = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 205 | if (cp_getvar("helpboldfont", VT_STRING, buf)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 206 | hlp_boldfontname = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 207 | if (cp_getvar("helpitalicfont", VT_STRING, buf)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 208 | hlp_italicfontname = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 209 | if (cp_getvar("helptitlefont", VT_STRING, buf)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 210 | hlp_titlefontname = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 211 | if (cp_getvar("helpbuttonfont", VT_STRING, buf)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 212 | hlp_buttonfontname = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 213 | if (cp_getvar("helpinitxpos", VT_NUM, (char *) &i)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 215 | if (cp_getvar("helpinitypos", VT_NUM, (char *) &i)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 217 | if (cp_getvar("helpbuttonstyle", VT_STRING, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 218 | if (cieq(buf, "left")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 220 | else if (cieq(buf, "center")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 222 | else if (cieq(buf, "unif")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 228 | if (cp_getvar("width", VT_NUM, (char *) &i)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 230 | if (cp_getvar("display", VT_STRING, buf)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 231 | hlp_displayname = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 232 | else if (cp_getvar("device", VT_STRING, buf)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 233 | hlp_displayname = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 236 | hlp_main(path, wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | com_ghelp(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 303 | extern void com_ghelp(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | hcomp(c1, c2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 307 | extern int hcomp(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 258 | (void) cp_getvar("noaskquit", VT_BOOL, (char *) &noask); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 260 | cp_ccon(false); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | com_quit(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 305 | extern void com_quit(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | com_bug(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 301 | extern void com_bug(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:383:6: warning: address of array 'Spice_Notice' will always evaluate to 'true' [-Wpointer-bool-conversion] 383 | if (Spice_Notice && *Spice_Notice) | ^~~~~~~~~~~~ ~~ /var/tmp/work/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] 385 | if (Spice_Build_Date && *Spice_Build_Date) | ^~~~~~~~~~~~~~~~ ~~ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 388 | s = wl_flatten(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 396 | tfree(s); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | com_version(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 306 | extern void com_version(); | ^ 73 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//miscvars.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//miscvars.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//miscvars.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//miscvars.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//miscvars.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//miscvars.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int 6 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//nutctab.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutctab.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutctab.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutctab.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutctab.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutctab.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int 6 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 37 | inp_readall(fp, &deck); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 41 | realdeck = inp_deckcopy(deck); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 45 | tt = copy(deck->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 79 | if (!ciprefix(".control", dd->li_line) && | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 80 | !ciprefix(".endc", dd->li_line)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 82 | (void) cp_evloop(dd->li_line + 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 84 | (void) cp_evloop(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:83:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 83 | else | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 85 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 86 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | if (ciprefix(".control", dd->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 104 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 105 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 111 | } else if (ciprefix(".endc", dd->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 113 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 114 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 120 | } else if (commands || prefix("*#", dd->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 121 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 128 | if (prefix("*#", dd->li_line)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 129 | wl->wl_word = copy(dd->li_line + 2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 133 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 139 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 140 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 142 | inp_casefix(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 143 | inp_casefix(dd->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 144 | if (eq(s, ".width") || ciprefix(".four", s) || | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 149 | end->wl_next = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 153 | wl = end = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 154 | end->wl_word = copy(dd->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 156 | tfree(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 157 | tfree(dd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 170 | if (!cp_getvar("nosubckt", VT_BOOL, (char *) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 172 | deck->li_next = inp_subcktexpand(deck-> | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 175 | nutinp_dodeck(deck, tt, wl, false, options, filename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | for (end = wl = wl_reverse(controls); wl; | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 182 | (void) cp_evloop(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 183 | wl_free(end); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | inp_nutsource(fp, comfile, filename) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 274 | extern void inp_nutsource(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 213 | tempfile = smktemp("sp"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | if (!(fp = inp_pathopen(tempfile, "w+"))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 220 | if (!(tp = inp_pathopen(wl->wl_word, "r"))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 236 | fp = inp_pathopen(wl->wl_word, "r"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 244 | if (ft_nutmeg || substring(".spiceinit", owl->wl_word) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | || substring("spice.rc", owl->wl_word)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | nutcom_source(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 276 | extern void nutcom_source(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | nutinp_source(file) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | nutinp_dodeck(deck, tt, end, reuse, options, filename) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutinp.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 275 | extern void nutinp_dodeck(); | ^ 56 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:13: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:13: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:13: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:13: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:16:34: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | /* ARGSUSED */ struct variable * nutif_getparam(ckt, name, param, ind, do_model) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//nutmegif.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 428 | extern struct variable *nutif_getparam(); | ^ 12 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//options.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//options.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//options.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//options.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//options.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//options.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 38 | d = vec_get(word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 41 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 42 | vv->va_name = copy(word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 52 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 54 | vv->va_name = copy(word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 58 | tv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 84 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 88 | vv->va_string = copy(plot_cur->pl_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 90 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | vv->va_string = copy(plot_cur->pl_title); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 96 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | vv->va_string = copy(plot_cur->pl_date); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 106 | vv->va_string = copy(plot_cur->pl_typename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 108 | vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 115 | tv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 117 | tv->va_string = copy(pl->pl_typename); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | cp_enqvar(word) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//options.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 327 | extern struct variable *cp_enqvar(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:148:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | if (tv = cp_enqvar("plots")) { | ~~~^~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:148:12: note: place parentheses around the assignment to silence this warning 148 | if (tv = cp_enqvar("plots")) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//options.c:148:12: note: use '==' to turn this assignment into an equality comparison 148 | if (tv = cp_enqvar("plots")) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//options.c:152:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 152 | if (tv = cp_enqvar("curplot")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:152:12: note: place parentheses around the assignment to silence this warning 152 | if (tv = cp_enqvar("curplot")) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//options.c:152:12: note: use '==' to turn this assignment into an equality comparison 152 | if (tv = cp_enqvar("curplot")) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//options.c:156:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 156 | if (tv = cp_enqvar("curplottitle")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:156:12: note: place parentheses around the assignment to silence this warning 156 | if (tv = cp_enqvar("curplottitle")) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//options.c:156:12: note: use '==' to turn this assignment into an equality comparison 156 | if (tv = cp_enqvar("curplottitle")) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//options.c:160:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 160 | if (tv = cp_enqvar("curplotname")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:160:12: note: place parentheses around the assignment to silence this warning 160 | if (tv = cp_enqvar("curplotname")) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//options.c:160:12: note: use '==' to turn this assignment into an equality comparison 160 | if (tv = cp_enqvar("curplotname")) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//options.c:164:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 164 | if (tv = cp_enqvar("curplotdate")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:164:12: note: place parentheses around the assignment to silence this warning 164 | if (tv = cp_enqvar("curplotdate")) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//options.c:164:12: note: use '==' to turn this assignment into an equality comparison 164 | if (tv = cp_enqvar("curplotdate")) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//options.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | cp_usrvars(v1, v2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//options.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | extern void cp_usrvars(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 187 | if (ciprefix(".opt", dd->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 188 | inp_casefix(dd->li_line); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | inp_getopts(deck) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//options.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 326 | extern struct line *inp_getopts(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 230 | setdb(tv->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 232 | setdb(var->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 240 | cp_program = copy(var->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 242 | ft_rawfile = copy(var->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 281 | cp_rehash(s, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 296 | plot_setcur(var->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 302 | plot_cur->pl_name = copy(var->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 308 | plot_cur->pl_title = copy(var->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 314 | plot_cur->pl_date = copy(var->va_string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 375 | if (if_option(ft_curckt->ci_ckt, var->va_name, var->va_type, vv)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 377 | } else if (if_option(NULL, var->va_name, var->va_type, vv)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | cp_usrset(var, isset) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//options.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | extern int cp_usrset(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | setdb(str) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//options.c:201:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 201 | static void setdb(); | ^ 51 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:14: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 108 | return (beginPlot(analysisPtr, circuitPtr, name, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | OUTpBeginPlot(circuitPtr, analysisPtr, analName, refName, refType, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 127 | return (beginPlot(analysisPtr, circuitPtr, "circuit name", | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | OUTwBeginPlot(circuitPtr, analysisPtr, analName, refName, refType, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 158 | if (cp_getvar("printinfo", VT_BOOL, (char *) &printinfo)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 161 | *runp = run = alloc(struct runDesc); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | run->name = copy(cktName); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 167 | run->type = copy(analName); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | savesused = (bool *) tmalloc(sizeof (bool) * numsaves); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 183 | if (saves[i].analysis && !cieq(saves[i].analysis, an_name)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 188 | if (cieq(saves[i].name, "all")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 199 | addDataDesc(run, refName, refType, -1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 201 | if (!savesused[i] && name_eq(saves[i].name, refName)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 215 | if (name_eq(saves[i].name, dataNames[j])) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 216 | addDataDesc(run, dataNames[j], dataType, j); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 226 | if (!refName || !name_eq(dataNames[i], refName)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 227 | addDataDesc(run, dataNames[i], dataType, i); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 235 | if (!parseSpecial(saves[i].name, namebuf, parambuf, depbuf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 244 | if (name_eq(depbuf, run->data[j].name)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 249 | if (name_eq(depbuf, dataNames[j])) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 257 | addDataDesc(run, dataNames[j], dataType, j); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 264 | addSpecialDesc(run, saves[i].name, namebuf, parambuf, depind); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 269 | tfree(saves[i].analysis); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 270 | tfree(saves[i].name); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 272 | tfree(savesused); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 290 | fileInit(run); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 292 | plotInit(run); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | beginPlot(analysisPtr, circuitPtr, cktName, analName, refName, refType, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:64:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | static int beginPlot(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 310 | run->data = (dataDesc *) tmalloc(sizeof (dataDesc)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 312 | run->data = (dataDesc *) trealloc((char *) run->data, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 318 | data->name = copy(name); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | addDataDesc(run, name, type, ind) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:65:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static int addDataDesc(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 346 | run->data = (dataDesc *) tmalloc(sizeof (dataDesc)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 348 | run->data = (dataDesc *) trealloc((char *) run->data, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 354 | data->name = copy(name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 360 | data->specParamName = copy(param); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | addSpecialDesc(run, name, devname, param, depind) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static int addSpecialDesc(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 388 | fileInit_pass2(plotPtr); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 389 | fileStartPoint(run->fp, run->binary, run->pointCount); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 393 | fileAddComplexValue(run->fp, run->binary, refValue->cValue); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 395 | fileAddRealValue(run->fp, run->binary, refValue->rValue); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 404 | fileAddRealValue(run->fp, run->binary, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 408 | fileAddComplexValue(run->fp, run->binary, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 415 | if (!getSpecial(&run->data[i], run, &val)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 418 | fileAddRealValue(run->fp, run->binary, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 421 | fileAddComplexValue(run->fp, run->binary, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 427 | fileEndPoint(run->fp, run->binary); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 432 | plotAddRealValue(&run->data[i], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 435 | plotAddComplexValue(&run->data[i], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 439 | plotAddRealValue(&run->data[i], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 443 | plotAddComplexValue(&run->data[i], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 448 | if (!getSpecial(&run->data[i], run, &val)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 451 | plotAddRealValue(&run->data[i], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 454 | plotAddComplexValue(&run->data[i], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 460 | gr_iplot(run->runPlot); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 463 | if (ft_bpcheck(run->runPlot, run->pointCount) == false) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | OUTpData(plotPtr, refValue, valuePtr) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | OUTwReference(plotPtr, valuePtr, refPtr) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | OUTwData(plotPtr, dataIndex, valuePtr, refPtr) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | OUTwEnd(plotPtr) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 509 | fileEnd(run); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 512 | plotEnd(run); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 515 | freeRun(run); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | OUTendPlot(plotPtr) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | OUTbeginDomain(plotPtr, refName, refType, outerRefValue) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | OUTendDomain(plotPtr) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | OUTattributes(plotPtr, varName, param, value) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | fileInit(run) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void fileInit(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 647 | if (substring("#branch", name)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 649 | else if (cieq(name, "time")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 651 | else if (cieq(name, "frequency")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 657 | ft_typenames(type)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | fileInit_pass2(run) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static void fileInit_pass2( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | fileStartPoint(fp, bin, num) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static void fileStartPoint(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | fileAddRealValue(fp, bin, value) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static void fileAddRealValue(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | fileAddComplexValue(fp, bin, value) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static void fileAddComplexValue(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | fileEndPoint(fp, bin) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void fileEndPoint(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | fileEnd(run) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void fileEnd(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 751 | struct plot *pl = plot_alloc(run->type); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 757 | pl->pl_title = copy(run->name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 758 | pl->pl_name = copy(run->type); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 759 | pl->pl_date = copy(datestring( )); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 761 | plot_new(pl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 762 | plot_setcur(pl->pl_typename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 774 | v = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 777 | v->v_name = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 779 | v->v_name = copy(dd->name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 780 | if (substring("#branch", v->v_name)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 782 | else if (cieq(v->v_name, "time")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 784 | else if (cieq(v->v_name, "frequency")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 800 | vec_new(v); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | plotInit(run) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static void plotInit(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 813 | v->v_realdata = (double *) trealloc((char *) v->v_realdata, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 818 | v->v_compdata = (complex *) trealloc((char *) v->v_compdata, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | plotAddRealValue(desc, value) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:75:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | static void plotAddRealValue(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 835 | v->v_compdata = (complex *) trealloc((char *) v->v_compdata, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | plotAddComplexValue(desc, value) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static void plotAddComplexValue(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | plotEnd(run) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static void plotEnd(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | parseSpecial(name, dev, param, ind) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:78:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static bool parseSpecial(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:910:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 910 | if (s = index(n1, '(')) { | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:910:11: note: place parentheses around the assignment to silence this warning 910 | if (s = index(n1, '(')) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:910:11: note: use '==' to turn this assignment into an equality comparison 910 | if (s = index(n1, '(')) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:917:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 917 | if (s = index(n2, '(')) { | ~~^~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:917:11: note: place parentheses around the assignment to silence this warning 917 | if (s = index(n2, '(')) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:917:11: note: use '==' to turn this assignment into an equality comparison 917 | if (s = index(n2, '(')) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | name_eq(n1, n2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static bool name_eq(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 943 | } else if (vv = if_getstat(run->circuit, &desc->name[1])) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:943:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 943 | } else if (vv = if_getstat(run->circuit, &desc->name[1])) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:943:19: note: place parentheses around the assignment to silence this warning 943 | } else if (vv = if_getstat(run->circuit, &desc->name[1])) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:943:19: note: use '==' to turn this assignment into an equality comparison 943 | } else if (vv = if_getstat(run->circuit, &desc->name[1])) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 955 | tfree(vv); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | getSpecial(desc, run, val) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static bool getSpecial(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 971 | tfree(run->data[i].name); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 972 | tfree(run->data[i].specParamName); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 974 | tfree(run->data); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | freeRun(run) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void freeRun(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1020 | if ((flags == ERR_INFO) && cp_getvar("printinfo", VT_BOOL, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//outitf.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | OUTerror(flags,format,names) | ^ 136 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//parse.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:12: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 48 | xsbuf = sbuf = wl_flatten(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 52 | tfree(xsbuf); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 62 | p->pn_name = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 70 | tfree(xsbuf); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 72 | if (!checkvalid(pn)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | ft_getpnames(wl, check) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 336 | extern struct pnode *ft_getpnames(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | checkvalid(pn) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static bool checkvalid(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 270 | el.e_string = copy(++sbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 282 | td = ft_numparse(&ss, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 338 | el.e_string = copy(sbuf); /* XXXX !!!! */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 472 | pn = makepnode(&stack[st]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 478 | lpn = makepnode(&stack[st]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 481 | pn = mkunode(stack[sp].e_token, lpn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 484 | pn = makepnode(&stack[sp + 1]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 489 | lpn = makepnode(&stack[sp + 2]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 493 | if (!(pn = mkfnode(stack[sp].e_string, lpn))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 496 | lpn = makepnode(&stack[sp]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 497 | rpn = makepnode(&stack[st]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 500 | pn = mkbnode(stack[sp + 1].e_token, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 509 | pn = makepnode(&stack[1]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 530 | return (mksnode(elem->e_string)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 532 | return (mknnode(elem->e_double)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | makepnode(elem) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:28:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static struct pnode *makepnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 628 | p = alloc(struct pnode); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | mkbnode(opnum, arg1, arg2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:26:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static struct pnode *mkbnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 647 | p = alloc(struct pnode); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | mkunode(op, arg) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:27:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static struct pnode *mkunode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 692 | q = ft_substdef(func, arg); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 699 | d = vec_get(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 707 | return (mksnode(buf)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 717 | tfree(arg); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 721 | p = alloc(struct pnode); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | mkfnode(func, arg) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:25:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static struct pnode *mkfnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 742 | p = alloc(struct pnode); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 743 | v = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 760 | v->v_name = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 763 | v->v_realdata = (double *) tmalloc(sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 767 | vec_new(v); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | mknnode(number) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:24:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static struct pnode *mknnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 780 | p = alloc(struct pnode); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 786 | v = vec_get(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 788 | nv = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 791 | nv->v_name = copy(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 798 | nv = vec_copy(vs); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 799 | vec_new(nv); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | mksnode(string) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:23:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static struct pnode *mksnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 820 | tfree(t); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | free_pnode(t) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//parse.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 337 | extern void free_pnode(); | ^ 69 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:6: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:6: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:6: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:6: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | Plt5_NewViewport(graph) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | Plt5_DrawLine(x1, y1, x2, y2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | Plt5_Arc(x0, y0, radius, theta1, theta2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | Plt5_Text(text, x, y) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | Plt5_SetLinestyle(linestyleid) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//plot5.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | Plt5_SetColor(colorid) | ^ 11 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 41 | if (!cp_getvar("polydegree", VT_NUM, (char *) °ree)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 53 | if (!cp_getvar("gridsize", VT_NUM, (char *) &gridsize)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 85 | gr_start(v); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | gr_point(v, v->v_realdata[i], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 112 | gr_point(v, realpart(&v->v_compdata[i]), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 118 | gr_end(v); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 137 | gr_point(v, dx, dy, lx, ly, 0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 139 | gr_point(v, dx, dy, lx, ly, i); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 147 | gr_point(v, dx, dy, lx, ly, 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 148 | gr_end(v); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 157 | gridbuf = (double *) tmalloc(gridsize * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 158 | result = (double *) tmalloc(gridsize * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 162 | ydata = (double *) tmalloc(v->v_length * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 170 | xdata = (double *) tmalloc(xs->v_length * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 176 | mm = ft_minmax(xs, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 184 | if (!ft_interpolate(ydata, result, xdata, v->v_length, gridbuf, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 195 | gr_point(v, gridbuf[i], result[i], gridbuf[i ? (i - 1) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 197 | gr_end(v); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 198 | tfree(gridbuf); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 199 | tfree(result); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 201 | tfree(ydata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | tfree(xdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 210 | scratch = (double *) tmalloc((degree + 1) * (degree + 2) * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 212 | result = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 213 | xdata = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | ydata = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 232 | while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 237 | if (ft_polyfit(ydata, xdata, result, degree, scratch)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 250 | plotinterval(v, ydata[i], ydata[i + 1], result, degree, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 253 | plotinterval(v, xdata[i], xdata[i + 1], result, degree, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 277 | while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 278 | if (ft_polyfit(ydata, xdata, result, degree, scratch)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 289 | plotinterval(v, ydata[degree - 1], ydata[degree], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 292 | plotinterval(v, xdata[degree - 1], xdata[degree], | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 295 | tfree(scratch); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 296 | tfree(xdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 297 | tfree(ydata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 298 | tfree(result); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 299 | gr_end(v); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | ft_graf(v, xs, nostart) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 343 | extern void ft_graf(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 326 | if (!cp_getvar("polysteps", VT_NUM, (char *) &steps)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 332 | ly = ft_peval(lo, coeffs, degree); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 334 | dy = ft_peval(dx, coeffs, degree); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 336 | gr_point(v, dy, dx, ly, lx, -1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 338 | gr_point(v, dx, dy, lx, ly, -1); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | plotinterval(v, lo, hi, coeffs, degree, rotated) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//plotcurv.c:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static void plotinterval(); | ^ 54 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//points.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//points.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//points.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//points.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//points.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//points.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/fte//points.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | ft_minmax(v, real) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//points.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 342 | extern double *ft_minmax(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//points.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | ft_findpoint(pt, lims, maxp, minp, islog) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//points.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 341 | extern int ft_findpoint(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//points.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | ft_SMITHminmax(v, yval) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//points.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | SMITH_tfm(re, im, x, y) | ^ 12 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:11: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 43 | com_display((wordlist *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 47 | p = wl_flatten(wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:51:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 51 | if (rhs = index(p, '=')) { | ~~~~^~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:51:13: note: place parentheses around the assignment to silence this warning 51 | if (rhs = index(p, '=')) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:51:13: note: use '==' to turn this assignment into an equality comparison 51 | if (rhs = index(p, '=')) { | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:57:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 57 | if (s = index(p, '[')) { | ~~^~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:57:11: note: place parentheses around the assignment to silence this warning 57 | if (s = index(p, '[')) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:57:11: note: use '==' to turn this assignment into an equality comparison 57 | if (s = index(p, '[')) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 89 | nn = ft_getpnames(&fake_wl, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 90 | t = ft_evaluate(nn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 92 | free_pnode(nn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 97 | tfree(p); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 104 | tfree(p); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 130 | nn = ft_getpnames(&fake_wl, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 133 | tfree(p); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 136 | t = ft_evaluate(nn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 139 | tfree(p); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 146 | n = vec_get(p); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 155 | tfree(p); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 160 | n = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 162 | n->v_name = copy(p); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 177 | n->v_realdata = (double *) tmalloc(n->v_length * sizeof(double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 179 | n->v_compdata = (complex *) tmalloc(n->v_length * sizeof(complex)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 181 | vec_new(n); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | tfree(p); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 222 | tfree(p); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 238 | cp_addkword(CT_VECTOR, n->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 241 | tfree(p); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | com_let(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 362 | extern void com_let(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 252 | vec_remove(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | com_unlet(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 363 | extern void com_unlet(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 266 | ft_loadfile(ft_rawfile); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 269 | ft_loadfile(cp_unquote(wl->wl_word)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 269 | ft_loadfile(cp_unquote(wl->wl_word)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 274 | com_display(NULL); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | com_load(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 364 | extern void com_load(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 311 | for (nn = ft_getpnames(wl, true); nn; nn = nn->pn_next) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 312 | if (!(v = ft_evaluate(nn))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 348 | vec_basename(v)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 350 | (void) strcpy(buf, vec_basename(v)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 363 | printnum(*v->v_realdata)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 362 | out_printf("%s = %s\n", buf, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 366 | copy(printnum(realpart(v->v_compdata))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 366 | copy(printnum(realpart(v->v_compdata))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 367 | copy(printnum(imagpart(v->v_compdata)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 367 | copy(printnum(imagpart(v->v_compdata)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 365 | out_printf("%s = %s,%s\n", buf, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 370 | out_printf("%s = ( ", buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 374 | printnum(v->v_realdata[i])); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 375 | out_send(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 380 | out_send("\n\t"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 383 | out_send("\t"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 386 | copy(printnum(realpart(&v->v_compdata[i]))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 386 | copy(printnum(realpart(&v->v_compdata[i]))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 387 | copy(printnum(imagpart(&v->v_compdata[i])))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 387 | copy(printnum(imagpart(&v->v_compdata[i])))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 388 | out_send(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 393 | out_send("\n\t"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 396 | out_send("\t"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 398 | out_send(")\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 402 | if (cp_getvar("width", VT_NUM, (char *) &i)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 406 | if (cp_getvar("height", VT_NUM, (char *) &i)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 410 | if (!cp_getvar("nobreak", VT_BOOL, (char *) &nobreak) && !ft_nopage) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 414 | (void) cp_getvar("noprintscale", VT_BOOL, (char *) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 421 | if (bv->v_plot->pl_scale && !vec_eq(bv, bv->v_plot->pl_scale)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 422 | nv = vec_copy(bv->v_plot->pl_scale); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 423 | vec_new(nv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 447 | out_send(buf2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 448 | out_send(p->pl_title); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 449 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 450 | out_send(buf2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 453 | out_send(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 454 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 459 | out_send(buf2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 475 | out_send(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 476 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 481 | out_send(buf2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 487 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 491 | out_send("\t\t"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 493 | out_send("\t\t\t\t"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 498 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 503 | out_send(out_pbuf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 507 | out_send("\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 515 | out_send("\f\n"); /* Form feed. */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 524 | out_send("\f\n"); /* Form feed. */ | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | com_print(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 365 | extern void com_print(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 557 | if (cp_getvar("filetype", VT_STRING, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 565 | (void) cp_getvar("appendwrite", VT_BOOL, (char *) &appendwrite); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 568 | names = ft_getpnames(wl, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 570 | names = ft_getpnames(&all, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 574 | d = ft_evaluate(n); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 600 | vv = vec_copy(d); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 604 | vv->v_name = vec_basename(vv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 612 | if (vec_eq(d, tpl->pl_scale)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 624 | newplot.pl_scale = vec_copy(tpl->pl_scale); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 638 | if (vec_eq(vv, d->v_scale)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 641 | vv = vec_copy(d->v_scale); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 653 | raw_write(file, &newplot, appendwrite, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 655 | raw_write(file, &newplot, appendwrite, true); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | com_write(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 366 | extern void com_write(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 685 | s = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 686 | d = vec_get(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 692 | vec_transpose(d); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | com_transpose(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 370 | extern void com_transpose(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 714 | s = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 715 | d = vec_get(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 722 | pvec(plot_cur->pl_scale); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | com_setscale(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 369 | extern void com_setscale(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 748 | s = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 749 | d = vec_get(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 755 | pvec(d); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 769 | out_printf("Here are the vectors currently active:\n\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 770 | dvs = (struct dvec **) tmalloc(len * (sizeof (struct dvec *))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 773 | if (!cp_getvar("nosort", VT_BOOL, (char *) &b)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 776 | out_printf("Title: %s\n", plot_cur->pl_title); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 777 | out_printf("Name: %s (%s)\nDate: %s\n\n", | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 782 | pvec(d); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | com_display(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 361 | extern void com_display(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 795 | ft_typenames(d->v_type), isreal(d) ? "real" : | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:805:13: warning: enumeration values 'GRID_NONE' and 'GRID_LIN' not handled in switch [-Wswitch] 805 | switch (d->v_gridtype) { | ^~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:805:13: note: add missing switch cases 805 | switch (d->v_gridtype) { | ^ 806 | 807 | case GRID_LOGLOG: /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:831:13: warning: enumeration value 'PLOT_LIN' not handled in switch [-Wswitch] 831 | switch (d->v_plottype) { | ^~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:831:13: note: add missing switch cases 831 | switch (d->v_plottype) { | ^ 832 | 833 | case PLOT_COMB: /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 851 | sprintf(buf2, ", dims = [%s]", dimstring(d->v_dims, d->v_numdims)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 859 | out_send(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | pvec(d) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static void pvec(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | dcomp(v1, v2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static int dcomp(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 973 | if (!(d = ft_numparse(&s, false))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 982 | pn = ft_getpnames(wl, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 984 | if (!(n = ft_evaluate(pn))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1000 | vec_remove(newvec); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1001 | v = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1002 | v->v_name = copy(newvec); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1008 | v->v_compdata = (complex *) tmalloc(i * sizeof (complex)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1010 | v->v_realdata = (double *) tmalloc(i * sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1029 | vec_new(v); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1031 | cp_addkword(CT_VECTOR, v->v_name); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | com_cross(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 360 | extern void com_cross(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1042 | killplot(plot_cur); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1047 | killplot(pl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1055 | killplot(pl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | com_destroy(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 367 | extern void com_destroy(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1078 | vec_free(v); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1095 | tfree(pl->pl_title); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1096 | tfree(pl->pl_name); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1097 | tfree(pl->pl_typename); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1098 | wl_free(pl->pl_commands); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | killplot(pl) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static void killplot( ); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1113 | plot_setcur(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1129 | if (!(s = gettok(&t))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1132 | plot_setcur(s); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | com_splot(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 368 | extern void com_splot(); | ^ 172 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:11: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | if (!cp_getvar("hcopyscale", VT_STRING, psscale)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 95 | if (!cp_getvar("hcopyfont", VT_STRING, psfont)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 97 | if (!cp_getvar("hcopyfontsize", VT_STRING, psfontsize)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | graph->devdep = tmalloc(sizeof(PSdevdep)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | PS_NewViewport(graph) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 244 | currentgraph = FindGraph(1); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | PS_DrawLine(x1, y1, x2, y2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | PS_Arc(x0, y0, r, theta1, theta2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | PS_Text(text, x, y) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | PS_SetLinestyle(linestyleid) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//postsc.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | PS_SetColor(colorid) | ^ 22 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:12: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 42 | if (!cp_getvar("nopadding", VT_BOOL, (char *) &raw_padding)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | fprintf(fp, "Dimensions: %s\n", dimstring(dims, numdims)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 101 | wl = cp_varwl(vv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 108 | wl_print(wl, fp); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 129 | ft_typenames(v->v_type)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 150 | fprintf(fp, " dims=%s", dimstring(v->v_dims, v->v_numdims)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | raw_write(name, pl, app, binary) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 375 | extern void raw_write(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 272 | if (ciprefix("title:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 276 | title = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 277 | } else if (ciprefix("date:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 281 | date = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 282 | } else if (ciprefix("plotname:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 295 | curpl = alloc(struct plot); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 298 | curpl->pl_name = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 300 | date = copy(datestring( )); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 302 | curpl->pl_title = copy(title); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 305 | } else if (ciprefix("flags:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 308 | while (t = gettok(&s)) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:308:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 308 | while (t = gettok(&s)) { | ~~^~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:308:22: note: place parentheses around the assignment to silence this warning 308 | while (t = gettok(&s)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:308:22: note: use '==' to turn this assignment into an equality comparison 308 | while (t = gettok(&s)) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 309 | if (cieq(t, "real")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 311 | else if (cieq(t, "complex")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | else if (cieq(t, "unpadded")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 315 | else if (cieq(t, "padded")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 322 | } else if (ciprefix("no. variables:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 326 | nvars = scannum(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 327 | } else if (ciprefix("no. points:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 331 | npoints = scannum(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 332 | } else if (ciprefix("dimensions:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 340 | if (atodims(s, dims, &numdims)) { /* Something's wrong. */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 362 | } else if (ciprefix("command:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 368 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 369 | wl->wl_word = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 378 | (void) cp_evloop(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 379 | } else if (ciprefix("option:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 384 | wl = cp_lexer(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 389 | vv->va_next = cp_setparse(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 391 | curpl->pl_env = cp_setparse(wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 395 | } else if (ciprefix("variables:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 414 | v = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 432 | (void) gettok(&s); /* The index field. */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 433 | if (t = gettok(&s)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:433:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 433 | if (t = gettok(&s)) | ~~^~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:433:23: note: place parentheses around the assignment to silence this warning 433 | if (t = gettok(&s)) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:433:23: note: use '==' to turn this assignment into an equality comparison 433 | if (t = gettok(&s)) | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 439 | t = gettok(&s); /* The type name. */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 441 | v->v_type = ft_typnum(t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 448 | if (isdigit(*v->v_name) && (r = ft_typabbrev(v | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 452 | v->v_name = copy(buf2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 455 | while (t = gettok(&s)) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:455:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 455 | while (t = gettok(&s)) { | ~~^~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:455:26: note: place parentheses around the assignment to silence this warning 455 | while (t = gettok(&s)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:455:26: note: use '==' to turn this assignment into an equality comparison 455 | while (t = gettok(&s)) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 456 | if (ciprefix("min=", t)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 463 | } else if (ciprefix("max=", t)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 470 | } else if (ciprefix("color=", t)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 471 | v->v_defcolor = copy(t + 6); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 472 | } else if (ciprefix("scale=", t)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 475 | copy(t + 6); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 476 | } else if (ciprefix("grid=", t)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 478 | scannum(t + 5); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 479 | } else if (ciprefix("plot=", t)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 481 | scannum(t + 5); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 482 | } else if (ciprefix("dims=", t)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 483 | fixdims(v, t + 5); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 501 | v->v_realdata = (double *) tmalloc( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 504 | v->v_compdata = (complex *) tmalloc( | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 507 | } else if (ciprefix("values:", buf) || | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 508 | ciprefix("binary:", buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 528 | if (cieq((char *) v->v_scale, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | raw_read(name) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 376 | extern struct plot *raw_read(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 651 | if (atodims(s, v->v_dims, &(v->v_numdims))) { /* Something's wrong. */ | ^ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | fixdims(v, s) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//rawfile.c:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static void fixdims(); | ^ 83 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//resource.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 94 | extern char *getcwd( ); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:453:18: note: conflicting prototype is here 453 | char *_LIBC_CSTR getcwd(char *_LIBC_COUNT_OR_NULL(__size), size_t __size); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 89 | extern char *getwd(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:568:18: note: conflicting prototype is here 568 | char *_LIBC_CSTR getwd(char *_LIBC_COUNT_OR_NULL(PATH_MAX)) __POSIX_C_DEPRECATED(200112L); /* obsoleted by getcwd() */ | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 153 | extern char *sbrk(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:588:30: note: conflicting prototype is here 588 | void *_LIBC_UNSAFE_INDEXABLE sbrk(int); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:588:30: error: conflicting types for 'sbrk' 588 | void *_LIBC_UNSAFE_INDEXABLE sbrk(int); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:153:14: note: previous declaration is here 153 | extern char *sbrk(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 66 | enddata = sbrk(0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 95 | printres((char *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 98 | printres(cp_unquote(wl->wl_word)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 98 | printres(cp_unquote(wl->wl_word)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 103 | printres("cputime"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 105 | printres("totalcputime"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | printres("space"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | com_rusage(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 380 | extern void com_rusage(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 148 | usage = (char *)sbrk(0) - enddata; | ^ /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:222:16: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 221 | fprintf(cp_out, "Total %s time: %lu.%03lu seconds.\n", | ~~~ | %d 222 | cpu_elapsed, total, totalu); | ^~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:222:23: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 221 | fprintf(cp_out, "Total %s time: %lu.%03lu seconds.\n", | ~~~~~ | %03d 222 | cpu_elapsed, total, totalu); | ^~~~~~ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 269 | hi = sbrk(0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 311 | v = if_getstat(ft_curckt->ci_ckt, NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | v = if_getstat(ft_curckt->ci_ckt, name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 316 | wl_print(cp_varwl(v), cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 316 | wl_print(cp_varwl(v), cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 323 | wl_print(cp_varwl(v), cp_out); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 323 | wl_print(cp_varwl(v), cp_out); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | printres(name) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void printres(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 90 | extern int kill(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/signal.h:83:5: note: conflicting prototype is here 83 | int kill(pid_t, int) __DARWIN_ALIAS(kill); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 378 | high = (char *) ((unsigned long) sbrk(0) & ~((1 << LOG2_PAGESIZE) - 1)); | ^ 32 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 61 | if (ciprefix(wl->wl_word, p->ci_name)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 73 | cp_kwswitch(CT_DEVNAMES, p->ci_devices); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 74 | ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, p->ci_nodes); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | com_scirc(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 396 | extern void com_scirc(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 84 | dosim("pz", wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | com_pz(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 389 | extern void com_pz(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 92 | dosim("op", wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | com_op(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 388 | extern void com_op(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | dosim("dc", wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | com_dc(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 387 | extern void com_dc(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 108 | dosim("ac", wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | com_ac(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 386 | extern void com_ac(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 116 | dosim("tf", wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | com_tf(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 395 | extern void com_tf(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 124 | dosim("tran", wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | com_tran(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 394 | extern void com_tran(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 132 | dosim("sens", wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | com_sens(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 390 | extern void com_sens(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 140 | dosim("disto", wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | com_disto(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 397 | extern void com_disto(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 148 | dosim("noise", wl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | com_noise(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 398 | extern void com_noise(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 167 | ww = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 171 | ww->wl_word = copy(what); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 174 | if (cp_getvar("filetype", VT_STRING, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | com_resume((wordlist *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 238 | if (if_sens_run(ft_curckt->ci_ckt, ww, ft_curckt->ci_symtab) == 1) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 248 | err = if_run(ft_curckt->ci_ckt, what, ww, ft_curckt->ci_symtab); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | dosim(what, wl) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static int dosim(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | com_run(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 393 | extern void com_run(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | ft_dorun(file) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 399 | extern int ft_dorun(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | ft_getOutReq(fpp, plotp, binp, name, title) | ^ 51 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:22: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:22: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:22: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:22: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 55 | (void) sprintf(buf, ".%s", wl_flatten(args)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 69 | ft_sperror(err,"deleteTask"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 76 | ft_sperror(err,"newTask"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 89 | ft_sperror(err,"createOptions"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 109 | ft_sperror(err,"createSense"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 132 | ft_sperror(err,"createAC"); /* or similar error message */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 176 | ft_sperror(err,"createOP"); /* or similar error message */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 198 | ft_sperror(err,"createOP"); /* or similar error message */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | ft_sperror(err,"createTRAN"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 337 | ft_sperror(err, "doAnalyses"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | if_sens_run(t,args,tab) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//shyu.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 426 | extern int if_sens_run(); | ^ 22 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//signal.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//signal.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//signal.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//signal.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//signal.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//signal.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//signal.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 90 | extern int kill(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/signal.h:83:5: note: conflicting prototype is here 83 | int kill(pid_t, int) __DARWIN_ALIAS(kill); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 70 | fperror("Error", code); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//signal.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | sigfloat(sig, code) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//signal.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 411 | extern SIGNAL_TYPE sigfloat(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 84 | cp_ccon(false); | ^ 11 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//spcmdtab.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spcmdtab.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spcmdtab.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spcmdtab.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spcmdtab.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spcmdtab.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int 6 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:22: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:22: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:22: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:22: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 51 | ft_sperror(err, "CKTinit"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 56 | ft_sperror(err,"newUid"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 61 | ft_sperror(err,"newTask"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 74 | ft_sperror(err,"newUid"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 81 | ft_sperror(err,"createOptions"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | if_inpdeck(deck, tab) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 424 | extern char *if_inpdeck(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 122 | (void) sprintf(buf, ".%s", wl_flatten(args)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 131 | ft_sperror(err,"deleteTask"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 138 | ft_sperror(err,"newUid"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 144 | ft_sperror(err,"newTask"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 157 | ft_sperror(err,"newUid"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 164 | ft_sperror(err,"createOptions"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 191 | ft_sperror(err, "doAnalyses"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 200 | ft_sperror(err, "doAnalyses"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | if_run(t, what, args, tab) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 425 | extern int if_run(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 319 | pval.sValue = copy(value); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 344 | ft_sperror(err, "setAnalysisParm(options)"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | if_option(ckt, name, type, value) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 432 | extern int if_option(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | if_dump(ckt, file) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 431 | extern void if_dump(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | if_cktfree(ckt, tab) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 430 | extern void if_cktfree(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | if_errstring(code) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 423 | extern char *if_errstring(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 431 | typecode = finddev(ckt, *name,(GENERIC**) &dev,(GENERIC**) &mod); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 444 | pv = doask(ckt, typecode, dev, mod, opt, ind); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 446 | tv = parmtovar(pv, opt); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 459 | typecode = finddev(ckt, *name, (GENERIC**)&dev, (GENERIC**)&mod); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 467 | opt = parmlookup(device, &dev, param, do_model, 0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 473 | pv = doask(ckt, typecode, dev, mod, opt, ind); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 475 | vv = parmtovar(pv, opt); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 478 | return (if_getstat(ckt, *name)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | spif_getparam(ckt, name, param, ind, do_model) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 429 | extern struct variable *spif_getparam(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 496 | typecode = finddev(ckt, *name, (GENERIC**)&dev, (GENERIC**)&mod); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 502 | opt = parmlookup(device, &dev, param, do_model, 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 510 | doset(ckt, typecode, dev, mod, opt, val); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | if_setparam(ckt, name, param, val, do_model) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 434 | extern void if_setparam(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 518 | struct variable *vv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 543 | nv = alloc(struct variable); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 558 | vv->va_name = copy(opt->description); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | parmtovar(pv, opt) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:29:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static struct variable *parmtovar(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | parmlookup(dev, inptr, param, do_model, inout) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:28:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static IFparm * parmlookup(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 639 | ft_sperror(err, "if_getparam"); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | doask(ckt, typecode, dev, mod, opt, ind) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:25:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static IFvalue *doask(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 676 | iptr = nval.v.vec.iVec = NEWN(int, n); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | doset(ckt, typecode, dev, mod, opt, val) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static int doset( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | finddev(ck, name, devptr, modptr) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:27:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static int finddev(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:791:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | int if_analQbyName(ckt,which,anal,name,parm) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | if_tranparams(ci, start, stop, step) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 422 | extern bool if_tranparams(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | if_getstat(ckt, name) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 435 | extern struct variable *if_getstat(); | ^ 72 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 62 | if(!cp_getvar("substart", VT_STRING, start)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 64 | if(!cp_getvar("subend", VT_STRING, sbend)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 66 | if(!cp_getvar("subinvoke", VT_STRING, invoke)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 68 | if(!cp_getvar("modelcard", VT_STRING, model)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 70 | if(!cp_getvar("modelline", VT_STRING, model)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 72 | (void) cp_getvar("nobjthack", VT_BOOL, (char *) &nobjthack); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | if (prefix(start, c->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 109 | ll = doit(deck); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | inp_subcktexpand(deck) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 440 | extern struct line *inp_subcktexpand(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 138 | if (prefix(sbend, last->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 142 | } else if (prefix(start, last->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 148 | wl_free(submod); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 152 | if (prefix(sbend, c->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 160 | } else if (prefix(start, c->li_line)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 168 | sss = alloc(struct subs); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 178 | (void) gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 179 | sss->su_name = gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | sss->su_args = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 211 | if (prefix(model, c->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 213 | (void) gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 219 | wl->wl_word = gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 227 | if (ciprefix(invoke, c->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 229 | t = s = copy(c->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 230 | scname = gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 257 | subname = copy(sss->su_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 258 | lcc = inp_deckcopy(sss->su_def); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 261 | if (modtranslate(lcc, scname)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 262 | devmodtranslate(lcc, scname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 265 | (void) gettok(&t); /* Throw out the name. */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 267 | if (!translate(lcc, s, t, scname, subname)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 294 | if (ciprefix(invoke, c->li_line)) { | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | doit(deck) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:17:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | static struct line *doit(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 320 | d->li_next = alloc(struct line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 323 | nd = d = alloc(struct line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 325 | d->li_line = copy(deck->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 327 | d->li_error = copy(deck->li_error); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | inp_deckcopy(deck) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 439 | extern struct line *inp_deckcopy(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 350 | i = settrans(formal, actual, subname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 374 | name = gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 378 | tfree(name); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 382 | buffer = tmalloc(10000); /* XXXXX */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 392 | nnodes = numnodes(c->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 394 | name = gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 400 | t = gettrans(name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 408 | nnodes = numdevs(c->li_line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 410 | name = gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 430 | finishLine(buffer + strlen(buffer), s, scname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 434 | tfree(c->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 435 | c->li_line = copy(buffer); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 436 | tfree(buffer); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | translate(deck, formal, actual, scname, subname) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static int translate(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 485 | s = gettrans(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 521 | s = gettrans(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | finishLine(dst, src, scname) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static void finishLine(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 552 | table[i].t_old = gettok(&formal); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 553 | table[i].t_new = gettok(&actual); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | settrans(formal, actual, subname) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static int settrans(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | gettrans(name) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static char *gettrans(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 616 | n = inp_numnodes(c); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 620 | (void) gettok(&s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 628 | t = gettok(&s); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | numnodes(name) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static int numnodes(), numdevs(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | numdevs(s) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:22:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static int numnodes(), numdevs(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 671 | if (prefix(model, c->li_line)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 674 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 675 | buffer = tmalloc(strlen(name) + strlen(t) + | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 678 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 679 | wlsub = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 688 | tfree(c->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 691 | (void) gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 692 | wl = alloc(struct wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 697 | wl->wl_word = gettok(&t); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | modtranslate(deck, subname) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static bool modtranslate(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 719 | buffer = tmalloc(strlen(t) + strlen(subname) + 4); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 725 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 727 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 729 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 733 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 749 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 764 | tfree(s->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 769 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 771 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 773 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 775 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 790 | tfree(s->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 798 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 800 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 802 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 804 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 806 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 821 | tfree(s->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 828 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 830 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 832 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 834 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 836 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 838 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 853 | tfree(s->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 858 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 860 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 862 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 864 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 866 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 882 | name = gettok(&t); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 897 | tfree(s->li_line); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 902 | tfree(buffer); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | devmodtranslate(deck, subname) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static void devmodtranslate(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | inp_numnodes(c) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//subckt.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 441 | extern int inp_numnodes(); | ^ 127 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//types.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 105 | name = copy(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | abb = copy(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 109 | if (cieq(types[i].t_name, name)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 125 | name = copy(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 129 | if (cieq(plotabs[i].p_pattern, wl->wl_word)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 141 | plotabs[noplotabs].p_pattern = copy(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//types.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | com_dftype(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 445 | extern void com_dftype(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//types.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | ft_typabbrev(typenum) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 447 | extern char *ft_typabbrev(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//types.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | ft_typenames(typenum) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 448 | extern char *ft_typenames(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 189 | if (cieq(name, types[i].t_name)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//types.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | ft_typnum(name) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 450 | extern int ft_typnum(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 210 | if (substring(plotabs[i].p_pattern, buf)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//types.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | ft_plotabbrev(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 449 | extern char *ft_plotabbrev(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 236 | v = vec_get(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//types.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | com_stype(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//types.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 446 | extern void com_stype(); | ^ 27 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:12: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 53 | pl = raw_read(file); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 69 | plot_add(pl); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | ft_loadfile(file) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 467 | extern void ft_loadfile(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 90 | plot_cur->pl_ccom = cp_kwswitch(CT_VECTOR, pl->pl_ccom); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 93 | cp_addkword(CT_VECTOR, v->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | cp_addkword(CT_VECTOR, "all"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 96 | if (!(s = ft_plotabbrev(pl->pl_name))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 101 | if (cieq(tp->pl_typename, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | pl->pl_typename = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 108 | plot_new(pl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 109 | cp_addkword(CT_PLOT, buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 110 | pl->pl_ccom = cp_kwswitch(CT_VECTOR, (char *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 111 | plot_setcur(pl->pl_typename); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | plot_add(pl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 464 | extern void plot_add(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 125 | if (cieq(name, ov->v_name) && (ov->v_flags & VF_PERMANENT)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 134 | cp_remkword(CT_VECTOR, name); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | vec_remove(name) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 470 | extern void vec_remove(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 150 | d = findvec(word, plot); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 156 | d = findvec(buf, plot); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 163 | d = findvec(buf, plot); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 171 | if (prefix("i(", /* ) */ word)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 176 | d = findvec(buf, plot); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | vec_fromplot(word, plot) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 456 | extern struct dvec *vec_fromplot(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 207 | wd = word = copy(word); /* Gets mangled below... */ | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | if (cieq(buf, "all")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 218 | for (pl = plot_list; pl && !plot_prefix(buf, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 237 | if (cieq(pl->pl_typename, "const")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 276 | vv = (*if_getparam)(ft_curckt->ci_ckt, &name, param, 0, 0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 285 | tfree(wd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 286 | d = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 288 | d->v_name = copy(word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 291 | d->v_realdata = (double *) tmalloc(sizeof (double)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 294 | vec_new(d); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 298 | tfree(wd); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 299 | return (sortvecs(d)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | vec_get(word) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 458 | extern struct dvec *vec_get(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 317 | if (cieq(word, "all")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 321 | v = vec_copy(d); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 322 | vec_new(v); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 336 | if (cieq(word, d->v_name) && (d->v_flags & VF_PERMANENT)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 341 | if (cieq(buf, d->v_name) && (d->v_flags & VF_PERMANENT)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 345 | d = vec_copy(d); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 346 | vec_new(d); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | findvec(word, pl) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:28:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static struct dvec *findvec(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 365 | (void) cp_evloop(wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | plot_docoms(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 469 | extern void plot_docoms(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 385 | nv = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 386 | nv->v_name = copy(v->v_name); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 391 | nv->v_realdata = (double *) tmalloc(sizeof (double) * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 398 | nv->v_compdata = (complex *) tmalloc(sizeof (complex) * | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | vec_copy(v) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 457 | extern struct dvec *vec_copy(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 433 | struct plot *pl = alloc(struct plot), *tp; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 438 | if (!(s = ft_plotabbrev(name))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 443 | if (cieq(tp->pl_typename, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 448 | pl->pl_typename = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 449 | cp_addkword(CT_PLOT, buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 450 | s = cp_kwswitch(CT_VECTOR, (char *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 451 | cp_addkword(CT_VECTOR, "all"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 452 | pl->pl_ccom = cp_kwswitch(CT_VECTOR, s); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | plot_alloc(name) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 461 | extern struct plot *plot_alloc(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | vec_new(d) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 468 | extern void vec_new(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 504 | vec_free(d); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 555 | tfree(v->v_name); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 557 | tfree(v->v_realdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 559 | tfree(v->v_compdata); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 561 | tfree(v); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | vec_free(v) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 465 | extern void vec_free(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 578 | s1 = vec_basename(v1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 579 | s2 = vec_basename(v2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 581 | if (cieq(s1, s2)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | vec_eq(v1, v2) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 454 | extern bool vec_eq(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 602 | if (cieq(v->v_plot->pl_typename, buf)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 619 | return (copy(s)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | vec_basename(v) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 474 | extern char *vec_basename(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 637 | array = (struct dvec **) tmalloc(i * sizeof (struct dvec *)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 648 | tfree(array); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | sortvecs(d) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:29:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static struct dvec *sortvecs(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 658 | if ((i = namecmp((*d1)->v_plot->pl_typename, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 661 | return (namecmp((*d1)->v_name, (*d2)->v_name)); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | veccmp(d1, d2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:27:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static int veccmp(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | namecmp(s, t) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static int namecmp(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 706 | if (cieq(name, "new")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 708 | pl->pl_title = copy("Anonymous"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 709 | pl->pl_name = copy("unknown"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 710 | pl->pl_date = copy(datestring( )); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 711 | plot_new(pl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 716 | if (plot_prefix(name, pl->pl_typename)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 723 | plot_cur->pl_ccom = cp_kwswitch(CT_VECTOR, pl->pl_ccom); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | plot_setcur(name) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 472 | extern void plot_setcur(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | plot_new(pl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 473 | extern void plot_new(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 783 | newreal = (double *) tmalloc(sizeof (double) * v->v_length); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 797 | tfree(oldreal); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 800 | newcomp = (complex *) tmalloc(sizeof (complex) * v->v_length); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 816 | tfree(oldcomp); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | vec_transpose(v) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 476 | extern void vec_transpose(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 843 | d = d->v_link2 = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 846 | d = vecs = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 854 | indexstring(count, v->v_numdims - 1)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 855 | d->v_name = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 871 | d->v_realdata = (double *) tmalloc(totalsize); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 876 | d->v_realdata = (double *) tmalloc(totalsize); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 881 | (void) incindex(count, v->v_numdims - 1, v->v_dims, v->v_numdims); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | vec_mkfamily(v) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 459 | extern struct dvec *vec_mkfamily(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | plot_prefix(pre, str) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 475 | extern bool plot_prefix(); | ^ 135 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//where.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//where.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//where.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//where.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//where.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//where.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int 6 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//x11.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:17: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:19: In file included from /var/tmp/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:24: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | if (cp_getvar("display", VT_STRING, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 207 | graph->devdep = calloc(1, sizeof(X11devdep)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 250 | if (!cp_getvar("font", VT_STRING, fontname)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 301 | initcolors(graph); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | X11_NewViewport(graph) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 360 | if (!cp_getvar(buf, VT_STRING, colorstring)) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | initcolors(graph) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void initcolors( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | X11_DrawLine(x1, y1, x2, y2) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 418 | if (!cp_getvar("x11lineararcs", VT_BOOL, (char *) &t1)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 419 | linear_arc(x0, y0, radius, theta1, theta2); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | X11_Text(text, x, y) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | X11_DefineColor(colorid, red, green, blue) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | X11_DefineLinestyle(linestyleid, mask) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | X11_SetLinestyle(linestyleid) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | X11_SetColor(colorid) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | handlekeypressed(w, clientdata, calldata) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | handlebuttonev(w, clientdata, calldata) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 652 | X_ScreentoData(graph, x0, y0, &fx0, &fy0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 653 | X_ScreentoData(graph, x1, y1, &fx1, &fy1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 750 | X_ScreentoData(graph, x0, y0, &fx0, &fy0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 751 | X_ScreentoData(graph, x1, y1, &fx1, &fy1); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:765:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 765 | if (t = index(buf2, ':')) | ~~^~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:765:8: note: place parentheses around the assignment to silence this warning 765 | if (t = index(buf2, ':')) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:765:8: note: use '==' to turn this assignment into an equality comparison 765 | if (t = index(buf2, ':')) | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:770:26: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] 770 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:770:33: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] 770 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:770:47: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] 770 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:770:54: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] 770 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:771:31: warning: data argument not used by format string [-Wformat-extra-args] 770 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 771 | buf2, graph->commandline, fx0, fx1, fy0, fy1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 781 | if (cp_getvar("plothistory", VT_BOOL, (char *) &dummy)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 782 | wl = cp_parse(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 783 | (void) cp_addhistent(cp_event++, wl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 787 | (void) cp_evloop(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | zoomin(graph) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 798 | com_hardcopy(NULL); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | hardcopy(w, client_data, call_data) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | killwin(w, client_data, call_data) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | redraw(w, client_data, call_data) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | redraw(), resize(); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | resize(w, client_data, call_data) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | redraw(), resize(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 961 | response->reply.ch = inchar(request->fp); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | X_ScreentoData(graph, x, y, fx, fy) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static void X_ScreentoData( ); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | linear_arc(x0,y0,radius,theta1,theta2) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//x11.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static void linear_arc( ); | ^ 61 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//gens.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:2: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:3: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:3: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:7: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:7: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 21 | (*fn)(wl, data); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | wl_forall(wl, fn, data) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 37 | dg = NEW(dgen); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:59:29: note: expanded from macro 'NEW' 59 | #define NEW(TYPE) ((TYPE *) MALLOC(sizeof(TYPE))) | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | dgen_next(&dg); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | dgen_init(ckt, wl, nomix, flag, model) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern dgen *dgen_init( ); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | j = (*fn)(dgxp, data, subindex); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 105 | dgen_next(&dgxp); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | dgen_for_n(dg, n, fn, data, subindex) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 120 | dgen_next(dg); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | dgen_nth_next(dg, n) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 317 | || !ciprefix(subckt, dev_name + 1))) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | dgen_next(dgx) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//gens.c:13:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | static void dgen_next( ); | ^ 26 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:10: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:49:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | if (p = index(w->wl_word, '[')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:49:12: note: place parentheses around the assignment to silence this warning 49 | if (p = index(w->wl_word, '[')) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:49:12: note: use '==' to turn this assignment into an equality comparison 49 | if (p = index(w->wl_word, '[')) | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 152 | vname = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 153 | dv = vec_get(vname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 166 | vname = cp_unquote(w2->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 168 | dv = vec_get(vname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 208 | tfree(vname); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:210:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 210 | } while (wl = wlast); | ~~~^~~~~~~ /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:210:17: note: place parentheses around the assignment to silence this warning 210 | } while (wl = wlast); | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:210:17: note: use '==' to turn this assignment into an equality comparison 210 | } while (wl = wlast); | ^ | == /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | com_reshape(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//newcoms.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 517 | extern void com_reshape(); | ^ 21 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:11: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 24 | if ( (buf = (char *) malloc(BSIZE_SP*sizeof(char))) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | dimstring( data, length ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 60 | if ( (buf = (char *) malloc(BSIZE_SP*sizeof(char))) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | indexstring( data, length ) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | incindex(counts, numcounts, dims, numdims) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | emptydims( data, length ) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | atodims( p, data, outlength ) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//dimens.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | skipdims( p ) | ^ 19 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//xgraph.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//xgraph.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//xgraph.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//xgraph.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//xgraph.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//xgraph.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 46 | if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 50 | if (!cp_getvar("pointstyle", VT_STRING, pointstyle)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 53 | if (cieq(pointstyle,"markers")) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 95 | text = cp_unquote(title); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 97 | tfree(text); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | text = cp_unquote(xlabel); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 102 | tfree(text); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 105 | text = cp_unquote(ylabel); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | tfree(text); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/fte//xgraph.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | ft_xgraph(xlims, ylims, filename, title, xlabel, ylabel, | ^ 16 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 43 | com_run((wordlist *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 54 | err = if_run(ft_curckt->ci_ckt, "resume", (wordlist *) NULL, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | com_resume(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 392 | extern void com_resume(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 91 | if_cktfree(ft_curckt->ci_ckt, ft_curckt->ci_symtab); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | tfree(v); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 98 | inp_dodeck(ft_curckt->ci_deck, ft_curckt->ci_name, (wordlist *) NULL, | ^ /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | com_rset(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//runcoms2.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 391 | extern void com_rset(); | ^ 15 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 34 | settrace(wl, VF_ACCUM, NULL); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | com_save(wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | extern void com_save(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 43 | settrace(wl, VF_ACCUM, name); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | com_save2(wl, name) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 57 | s = cp_unquote(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 58 | d = alloc(struct dbcomm); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | d->db_nodename1 = copy(s); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 88 | d->db_nodename1 = copy(s); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | settrace(wl, what, name) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | void settrace( ); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 118 | tmalloc(sizeof (struct save_info) * count); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 124 | array[i].analysis = (IFuid *) copy(d->db_analysis); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 127 | array[i++].name = copy(d->db_nodename1); | ^ /var/tmp/work/cad/spice/work/src/lib/fte//breakp2.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | ft_getSaves(savesp) | ^ 21 warnings and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[4]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/lib/fte Making "install" in hlp gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/hlp//help.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:11: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 31 | if (!(place = findglobalsubject(wl->wl_word))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 37 | if (!(top = hlp_read(place))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 42 | hlp_provide(top); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 46 | if (!(place = findglobalsubject("main"))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 50 | if (!(top = hlp_read(place))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 54 | hlp_provide(top); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | hlp_main(path, wl) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | extern void hlp_main(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 75 | fpos = findsubject(*dict, subject); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 77 | place = (fplace *) tmalloc(sizeof(fplace)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 79 | place->filename = copy(*dict); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 80 | place->fp = hlp_fopen(*dict); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | findglobalsubject(subject) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | extern fplace *findglobalsubject(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 95 | if (cieq(*s, filename)) return(true); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | hlp_approvedfile(filename) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | extern bool hlp_approvedfile(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 113 | if (cieq(filename, hlp_ftable[i].filename)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 123 | hlp_pathfix(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:102:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | FILE *hlp_fopen(filename) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | extern FILE *hlp_fopen(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 150 | s = cp_tildexpand(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 173 | tfree(s); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | hlp_pathfix(buf) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//help.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | extern void hlp_pathfix(); | ^ 30 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:15: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:15: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 38 | if (!hlp_xdisplay(top)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 43 | if (!hlp_tdisplay(top)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 55 | res = hlp_xhandle(&parent); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 57 | res = hlp_thandle(&parent); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 60 | hlp_killfamily(top); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 68 | hlp_xwait(parent, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 69 | if (!(newtop = hlp_read(res->place))) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | hlp_xwait(parent, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 75 | hlp_xwait(parent, false); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 82 | if (!hlp_xdisplay(newtop)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 87 | if (!hlp_tdisplay(newtop)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 94 | hlp_killfamily(parent); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 95 | hlp_fixchildren(parent); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | hlp_provide(top) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | extern void hlp_provide(); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | hlp_fixchildren(parent) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 146 | extern void hlp_fixchildren(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 140 | hlp_xkillwin(top); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 142 | hlp_tkillwin(top); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | hlp_killfamily(top) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//provide.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | extern void hlp_killfamily(); | ^ 26 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:13: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:13: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 56 | topic *top = alloc(topic); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 67 | top->place = copy_fplace(place); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 70 | if (!place->fp) place->fp = hlp_fopen(place->filename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 78 | top->title = copy(&buf[7]); /* don't copy "TITLE: " */ | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:84:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 84 | if (*buf = '\0' || | ~~~~~^~~~~~~~~ 85 | !strncmp("SEEALSO: ", buf, 9) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | !strncmp("SUBTOPIC: ", buf, 10)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:84:16: note: place parentheses around the assignment to silence this warning 84 | if (*buf = '\0' || | ^ | ( 85 | !strncmp("SEEALSO: ", buf, 9) || 86 | !strncmp("SUBTOPIC: ", buf, 10)) { | | ) /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:84:16: note: use '==' to turn this assignment into an equality comparison 84 | if (*buf = '\0' || | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 99 | wl = alloc(wordlist); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 100 | wl->wl_word = copy(&buf[6]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 119 | if (topiclink = getsubtoplink(&s)) { | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:119:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 119 | if (topiclink = getsubtoplink(&s)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:119:25: note: place parentheses around the assignment to silence this warning 119 | if (topiclink = getsubtoplink(&s)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:119:25: note: use '==' to turn this assignment into an equality comparison 119 | if (topiclink = getsubtoplink(&s)) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 136 | if (topiclink = getsubtoplink(&s)) { | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:136:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | if (topiclink = getsubtoplink(&s)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:136:25: note: place parentheses around the assignment to silence this warning 136 | if (topiclink = getsubtoplink(&s)) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:136:25: note: use '==' to turn this assignment into an equality comparison 136 | if (topiclink = getsubtoplink(&s)) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 150 | tl->description = getsubject(tl->place); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 152 | tl->description = getsubject(tl->place); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 154 | sortlist(&top->seealso); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | hlp_read(place) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:15: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | extern topic *hlp_read(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 176 | tl = alloc(toplink); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:177:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 177 | if (tmp = index(s, ':')) { | ~~~~^~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:177:13: note: place parentheses around the assignment to silence this warning 177 | if (tmp = index(s, ':')) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:177:13: note: use '==' to turn this assignment into an equality comparison 177 | if (tmp = index(s, ':')) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 178 | tl->place = alloc(fplace); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 183 | strtolower(tl->place->filename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 186 | if (!hlp_approvedfile(tl->place->filename)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 187 | tfree(tl->place); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 188 | tfree(tl); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 196 | tl->place->fp = hlp_fopen(tl->place->filename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 201 | tl->place->fpos = findsubject(tl->place->filename, subject); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | tfree(tl->place); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 204 | tfree(tl); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 215 | tfree(tl->place); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 216 | tfree(tl); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:165:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | static toplink *getsubtoplink(ss) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:43:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static toplink *getsubtoplink(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 240 | hlp_pathfix(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | findsubject(filename, subject) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:15: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | extern long findsubject(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 264 | if (!place->fp) place->fp = hlp_fopen(place->filename); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 272 | return (copy(&buf[9])); /* don't copy "SUBJECT: " */ | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | getsubject(place) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:42:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static char *getsubject(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 286 | vec = (toplink **) tmalloc(sizeof (toplink *) * num); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 294 | tfree(vec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | sortlist(tlp) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:44:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static void sortlist(), tlfree(); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | sortcmp(tlp1, tlp2) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static int sortcmp(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 312 | tfree(top->title); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | tfree(top->place); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 314 | wl_free(top->text); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 315 | tlfree(top->subtopics); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 316 | tlfree(top->seealso); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 317 | tfree(top); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 330 | tfree(tl->description); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 331 | tfree(tl->place->filename); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 332 | tfree(tl->place); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 335 | tfree(tl); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | tlfree(tl) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:44:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static void sortlist(), tlfree(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 348 | newplace->filename = copy(place->filename); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | copy_fplace(place) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//readhelp.c:49:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static fplace *copy_fplace(); | ^ 64 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 37 | out_printf("\n\t%s\n", top->title); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 39 | putline(wl->wl_word); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 41 | out_printf("\tSub-Topics:\n\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 42 | i = putstuff(top->subtopics, 0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 45 | out_printf("\n\tSee Also:\n\n"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 46 | (void) putstuff(top->seealso, i); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 48 | out_printf("\n"); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | hlp_tdisplay(top) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | extern bool hlp_tdisplay(); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | hlp_thandle(parent) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | extern toplink *hlp_thandle(); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | hlp_tkillwin(top) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | extern void hlp_tkillwin(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 158 | out_printf("%s\n", buf); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | putline(s) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:22:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static void putline(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 196 | out_printf("%2d) %-*s ", base + j * nrows + i + | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | out_printf("\n"); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | putstuff(tl, base) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//textdisp.c:23:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static int putstuff(); | ^ 25 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:8: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:8: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:8: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 117 | buf = tmalloc(80 * top->numlines + 100); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 120 | sputline(buf, wl->wl_word); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | hlp_xdisplay(top) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:9: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | extern bool hlp_xdisplay(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 216 | if (!(newtop = hlp_read(result->place))) { | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | newtopic(w, client_data, call_data) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | void newtopic(), delete(), quit(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 239 | hlp_killfamily(top); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 240 | hlp_fixchildren(top); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | delete(w, client_data, call_data) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | void newtopic(), delete(), quit(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 252 | hlp_killfamily(parent ? parent : top); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | quit(w, client_data, call_data) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | void newtopic(), delete(), quit(); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | hlp_xkillwin(top) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:9: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | extern void hlp_xkillwin(); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | sputline(buf, s) | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//x11disp.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static void sputline(); | ^ 23 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -DWANT_X11 -I/var/tmp/work/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 /var/tmp/work/cad/spice/work/src/lib/hlp//xdisplay.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//xdisplay.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//xdisplay.c:7: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//xdisplay.c:7: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//xdisplay.c:7: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//xdisplay.c:587:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | /* ARGSUSED */ void hlp_xwait(top, on) topic *top; bool on; { } | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//xdisplay.c:8: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | extern void hlp_xwait(); | ^ /var/tmp/work/cad/spice/work/src/lib/hlp//xdisplay.c:589:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | toplink * hlp_xhandle(pp) topic **pp; { *pp = NULL; return (NULL); } | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/hlp//xdisplay.c:8: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | extern toplink *hlp_xhandle(); | ^ 9 warnings and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[4]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/lib/hlp Making "install" in inp gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c:9: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c:13: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | IFnewUid(ckt,newuid,olduid,suffix,type,nodedata) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 30 | MALLOC(sizeof(char)*(strlen(suffix)+strlen((char*)olduid)+2)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 34 | newname=(char *)MALLOC(sizeof(char)* | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//ifnewuid.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | IFdelUid(ckt,uid,type) | ^ 16 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2b.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2b.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2b.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2B(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2c.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2c.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2c.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2C(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2d.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2d.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2d.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2D(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:12: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | INP2dot(ckt,tab,current,task,gnode) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inp2dot.c:99:26: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 99 | if( *name == (char)NULL) break; /* end of line */ | ^~~~~~~~~~ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 384 | MALLOC(sizeof(char)*(5+strlen(nname1)+strlen(nname2))); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 390 | ptemp.sValue = (char *)MALLOC(sizeof(char)*(4+strlen(nname1))); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 504 | MALLOC(sizeof(char)*(5+strlen(nname1)+strlen(nname2))); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 510 | ptemp.sValue = (char *)MALLOC(sizeof(char)*(4+strlen(nname1))); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 16 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2e.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2e.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2e.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2E(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2f.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2f.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2f.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2F(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2g.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2g.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2g.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2G(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2h.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2h.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2h.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2H(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2i.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2i.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2i.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2I(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2j.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2j.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2j.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2J(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2k.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2k.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2k.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2K(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2l.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2l.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2l.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2L(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2m.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2m.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2m.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2M(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2o.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2o.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2o.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | INP2O(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2q.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2q.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2q.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2Q(ckt,tab,current,gnode) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2r.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2r.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2r.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2R(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2s.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2s.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2s.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2S(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2t.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2t.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2t.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2T(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2u.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2u.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2u.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2U(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2v.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2v.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2v.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2V(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2w.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2w.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2w.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2W(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inp2z.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/fteext.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/fteparse.h:15: In file included from /var/tmp/work/cad/spice/work/src/include/ftedata.h:12: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inp2z.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inp2z.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2Z(ckt,tab,current) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpaname.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpaname.c:16: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpaname.c:18: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inpaname.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | INPaName(parm,val,ckt,dev,devnam,fast,sim,dataType,selector) | ^ 13 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpapnam.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpapnam.c:9: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpapnam.c:12: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inpapnam.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | INPapName(ckt,type,analPtr,parmname,value) | ^ 13 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpdoopt.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdoopt.c:16: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdoopt.c:18: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inpdoopt.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | INPdoOpts(ckt,anal,optCard,tab) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 59 | errmsg = (char *)MALLOC((45+strlen(token)) * sizeof(char)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 73 | errmsg =(char *)MALLOC((35+strlen(token))*sizeof(char)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 83 | errmsg = (char *)MALLOC(100 * sizeof(char)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 16 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpdpar.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdpar.c:16: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpdpar.c:21: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inpdpar.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | INPdevParse(line,ckt,dev,fast,leading,waslead,tab) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 68 | errbuf = MALLOC(strlen(parm)+25); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 14 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpfindl.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpfindl.c:12: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpfindl.c:12: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpfindl.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpfindl.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpfindl.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpfindl.c:16: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpfindl.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | INPfindLev(line,level) | ^ 9 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpgmod.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgmod.c:9: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgmod.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgmod.c:11: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgmod.c:12: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inpgmod.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | INPgetMod(ckt,name,model,tab) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 41 | err = (char *)MALLOC((35+strlen(name)) * sizeof(char)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 82 | temp = (char *)MALLOC((40+strlen(parm)) * sizeof(char)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 98 | err = (char *)MALLOC((60+strlen(name)) * sizeof(char)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 16 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpgtitl.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtitl.c:13: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtitl.c:17: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inpgtitl.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | INPgetTitle(ckt,data) | ^ 13 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpgtok.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtok.c:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtok.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtok.c:18: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtok.c:18: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtok.c:18: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgtok.c:18: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpgtok.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | INPgetTok(line,token,gobble) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 54 | *token=(char *)MALLOC(1+point-*line); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 148 | *token=(char *)MALLOC(1+point-*line); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpgtok.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | INPgetUTok(line,token,gobble) | ^ 12 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:11: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:14: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inppas2.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | INPpas2(ckt,data,tab,task) | ^ 11 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inppname.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppname.c:14: /var/tmp/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' /var/tmp/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: conflicting prototype is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: error: conflicting types for 'malloc' 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here 21 | extern char *malloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: conflicting prototype is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: error: conflicting types for 'calloc' 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here 22 | extern char *calloc(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: conflicting prototype is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: error: conflicting types for 'realloc' 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here 23 | extern char *realloc(); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inppname.c:16: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inppname.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | INPpName(parm,val,ckt,dev,fast) | ^ 13 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:7: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:7: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:15: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:15: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:15: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:15: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | INPgetTree(line, pt, ckt, tab) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 115 | p = PTparse(line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 117 | if (!p || !PTcheck(p)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 122 | (*pt) = (INPparseTree *) MALLOC(sizeof (INPparseTree)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 131 | MALLOC(numvalues * sizeof (INPparseNode *)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 134 | (*pt)->derivs[i] = PTdifferentiate(p, i); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 159 | newp = mkcon((double) 0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 165 | newp = mkcon((double) 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 167 | newp = mkcon((double) 0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 174 | newp = mkb(p->type, arg1, arg2); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 182 | newp = mkb(PT_PLUS, mkb(PT_TIMES, arg1, p->right), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 183 | mkb(PT_TIMES, p->left, arg2)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 182 | newp = mkb(PT_PLUS, mkb(PT_TIMES, arg1, p->right), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 191 | newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 192 | p->right), mkb(PT_TIMES, p->left, arg2)), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 191 | newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 193 | mkb(PT_POWER, p->right, mkcon((double) 2))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 193 | mkb(PT_POWER, p->right, mkcon((double) 2))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 191 | newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 204 | mkcon(p->right->constant), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 206 | mkcon(p->right->constant - 1))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 205 | mkb(PT_POWER, p->left, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | newp = mkb(PT_TIMES, mkb(PT_TIMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 203 | newp = mkb(PT_TIMES, mkb(PT_TIMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 215 | p->right, mkf(PTF_LN, p->left))), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | newp = mkb(PT_TIMES, mkf(PTF_EXP, mkb(PT_TIMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | newp = mkb(PT_TIMES, mkf(PTF_EXP, mkb(PT_TIMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 217 | mkb(PT_DIVIDE, arg1, p->left)), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 216 | mkb(PT_PLUS, mkb(PT_TIMES, p->right, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 219 | mkf(PTF_LN, arg1)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 218 | mkb(PT_TIMES, arg2, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 216 | mkb(PT_PLUS, mkb(PT_TIMES, p->right, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 214 | newp = mkb(PT_TIMES, mkf(PTF_EXP, mkb(PT_TIMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 230 | arg1 = mkf(PTF_SGN, p->left, 0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 234 | arg1 = mkcon((double) 0.0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 238 | arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 239 | mkb(PT_MINUS, mkcon((double) 1), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 240 | mkb(PT_POWER, p->left, mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 240 | mkb(PT_POWER, p->left, mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 239 | mkb(PT_MINUS, mkcon((double) 1), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 238 | arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 238 | arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 247 | mkcon((double) 2)), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 246 | mkb(PT_MINUS, mkb(PT_POWER, p->left, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 248 | mkcon((double) 1)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 246 | mkb(PT_MINUS, mkb(PT_POWER, p->left, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 245 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 253 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 254 | mkb(PT_MINUS, mkcon((double) 1), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 255 | mkb(PT_POWER, p->left, mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 255 | mkb(PT_POWER, p->left, mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 254 | mkb(PT_MINUS, mkcon((double) 1), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 253 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 253 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 260 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 262 | mkcon((double) 2)), | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 261 | mkb(PT_PLUS, mkb(PT_POWER, p->left, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 263 | mkcon((double) 1)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 261 | mkb(PT_PLUS, mkb(PT_POWER, p->left, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 260 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 260 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 267 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 268 | mkb(PT_POWER, p->left, mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 268 | mkb(PT_POWER, p->left, mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 269 | 2)), mkcon((double) 1))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 267 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 267 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 273 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 274 | mkcon((double) 1), mkb(PT_POWER, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 275 | p->left, mkcon((double) 2)))); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 274 | mkcon((double) 1), mkb(PT_POWER, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 273 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 273 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 279 | arg1 = mkf(PTF_UMINUS, mkf(PTF_SIN, p->left)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 279 | arg1 = mkf(PTF_UMINUS, mkf(PTF_SIN, p->left)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 283 | arg1 = mkf(PTF_SINH, p->left); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 287 | arg1 = mkf(PTF_EXP, p->left, 0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 291 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), p->left); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 291 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), p->left); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 295 | arg1 = mkb(PT_DIVIDE, mkcon((double) M_LOG10E), p->left); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 295 | arg1 = mkb(PT_DIVIDE, mkcon((double) M_LOG10E), p->left); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 299 | arg1 = mkf(PTF_COS, p->left); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 303 | arg1 = mkf(PTF_COSH, p->left); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 307 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 308 | mkcon((double) 2), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 308 | mkcon((double) 2), mkf(PTF_SQRT, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 307 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 307 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 314 | mkf(PTF_COS, p->left), mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 314 | mkf(PTF_COS, p->left), mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 313 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 319 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 320 | mkf(PTF_COSH, p->left), mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 320 | mkf(PTF_COSH, p->left), mkcon((double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 319 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 319 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 325 | arg1 = mkcon((double) 0.0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 329 | arg1 = mkf(PTF_USTEP, p->left); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 333 | arg1 = mkcon((double) - 1.0); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 345 | newp = mkb(PT_TIMES, arg1, arg2); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | PTdifferentiate(p, varnum) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:24:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static INPparseNode *PTdifferentiate(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 363 | INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | mkcon(value) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:25:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static INPparseNode *mkcon(), *mkb(), *mkf(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 376 | INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 427 | return (mkf(PTF_UMINUS, right)); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | mkb(type, left, right) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:25:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static INPparseNode *mkcon(), *mkb(), *mkf(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 462 | INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 475 | constval = ((*funcs[i].funcptr) (arg->constant)); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | mkf(type, arg) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:25:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static INPparseNode *mkcon(), *mkb(), *mkf(); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | PTcheck(p) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:30:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static int PTcheck(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 554 | next = PTlexer(line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 574 | next = PTlexer(line); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 612 | pn = makepnode(&stack[st]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 617 | lpn = makepnode(&stack[st]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 620 | pn = mkfnode("-", lpn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 623 | pn = makepnode(&stack[sp + 1]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 628 | lpn = makepnode(&stack[sp + 2]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 631 | if (!(pn = mkfnode(stack[sp].value.string, lpn))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 634 | lpn = makepnode(&stack[sp]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 635 | rpn = makepnode(&stack[st]); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 638 | pn = mkbnode(stack[sp + 1].token, lpn, rpn); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 646 | pn = makepnode(&stack[1]); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | PTparse(line) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:26:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static INPparseNode *PTparse(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 668 | return (mksnode(elem->value.string)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 671 | return (mknnode(elem->value.real)); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | makepnode(elem) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:27:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static INPparseNode *makepnode(), *mkbnode(), *mkfnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 701 | p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | mkbnode(opnum, arg1, arg2) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:27:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static INPparseNode *makepnode(), *mkbnode(), *mkfnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 728 | p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 731 | name = MALLOC(128); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 755 | REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 757 | REALLOC((char *) types, (numvalues + 1) * sizeof (int)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 759 | values = (IFvalue *) MALLOC(sizeof (IFvalue)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 760 | types = (int *) MALLOC(sizeof (int)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 770 | name = MALLOC(128); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 788 | REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 790 | REALLOC((char *) types, (numvalues + 1) * sizeof (int)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 792 | values = (IFvalue *) MALLOC(sizeof (IFvalue)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 793 | types = (int *) MALLOC(sizeof (int)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | mkfnode(fname, arg) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:27:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static INPparseNode *makepnode(), *mkbnode(), *mkfnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 829 | p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | mknnode(number) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:28:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static INPparseNode *mknnode(), *mksnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 853 | p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 867 | REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 869 | REALLOC((char *) types, (numvalues + 1) * sizeof (int)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 871 | values = (IFvalue *) MALLOC(sizeof (IFvalue)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 872 | types = (int *) MALLOC(sizeof (int)); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 874 | values[i].sValue = MALLOC(strlen(buf) + 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | mksnode(string) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:28:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static INPparseNode *mknnode(), *mksnode(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 991 | el.value.string = MALLOC(s - sbuf + 1); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | PTlexer(line) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpptree.c:29:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static PTelement *PTlexer(); | ^ 175 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:16: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:17: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:18: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:18: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:18: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:18: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | INPtabInit(numlines) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 36 | tab = (INPtables *)tmalloc(sizeof(INPtables)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 37 | tab->INPsymtab = (struct INPtab **) tmalloc((numlines / 4 + 1) * | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 40 | tab->INPtermsymtab = (struct INPnTab **) tmalloc(numlines * | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | INPtermInsert(ckt,token,tab,node) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab)); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | INPmkTerm(ckt,token,tab,node) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab)); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | INPgndInsert(ckt,token,tab,node) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 139 | t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab)); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | INPinsert(token,tab) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 169 | t = (struct INPtab *) tmalloc(sizeof (struct INPtab)); | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | INPremove(token,tab) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 195 | tfree(t->t_ent); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 196 | tfree(t); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 218 | tfree(t->t_ent); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 219 | tfree(t); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree' 39 | #define tfree(x) (txfree(x), x = 0) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | INPremTerm(token,tab) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | INPtabEnd(tab) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpsymt.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | hash(name, tsize) | ^ 30 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inptyplk.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inptyplk.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inptyplk.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inptyplk.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inptyplk.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inptyplk.c:14: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/lib/inp//inptyplk.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | INPtypelook(type) | ^ 7 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/inp//inpgstr.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgstr.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgstr.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgstr.c:13: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | extern char *malloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:54:35: note: previous declaration is here 54 | void * __sized_by_or_null(__size) malloc(size_t __size) __result_use_check __alloc_size(1) _MALLOC_TYPED(malloc_type_malloc, 1); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgstr.c:13: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | extern char *calloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:55:45: note: previous declaration is here 55 | void * __sized_by_or_null(__count * __size) calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2) _MALLOC_TYPED(malloc_type_calloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgstr.c:13: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | extern char *realloc(); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/malloc/_malloc.h:57:35: note: previous declaration is here 57 | void * __sized_by_or_null(__size) realloc(void * __unsafe_indexable __ptr, size_t __size) __result_use_check __alloc_size(2) _MALLOC_TYPED(malloc_type_realloc, 2); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/inp//inpgstr.c:13: /var/tmp/work/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern void free(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 58 | *token = (char *) MALLOC(1 + point - *line); | ^ /var/tmp/work/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /var/tmp/work/cad/spice/work/src/lib/inp//inpgstr.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | INPgetStr(line, token, gobble) | ^ 10 warnings and 4 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[4]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/lib/inp Making "install" in mfb gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/mfb//mfbgnc.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/mfb//mfbgnc.c:23: /var/tmp/work/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 28 | extern void ftime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/timeb.h:91:9: note: conflicting prototype is here 91 | int ftime(struct timeb *); | ^ /var/tmp/work/cad/spice/work/src/lib/mfb//mfbgnc.c:28:13: error: conflicting types for 'ftime' 28 | extern void ftime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/timeb.h:91:9: note: previous declaration is here 91 | int ftime(struct timeb *); | ^ /var/tmp/work/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 129 | while (c = *cp++) { | ~~^~~~~~~ /var/tmp/work/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: note: place parentheses around the assignment to silence this warning 129 | while (c = *cp++) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: note: use '==' to turn this assignment into an equality comparison 129 | while (c = *cp++) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 140 | (*MFBCurrent->outstr)(result,i); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 226 | *dp++ = hexadec(which>>(i*4)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 235 | *dp++ = octal(which>>(i*3)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 442 | (*MFBCurrent->outstr)(result,i); | ^ /var/tmp/work/cad/spice/work/src/lib/mfb//mfbgnc.c:448:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | char hexadec(num) | ^ /var/tmp/work/cad/spice/work/src/lib/mfb//mfbgnc.c:463:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | char octal(num) | ^ 9 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[4]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/lib/mfb Making "install" in misc gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | tmalloc(num) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | extern char *tmalloc(); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | trealloc(str, num) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | extern char *trealloc(); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | txfree(ptr) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//alloc.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern void txfree(); | ^ 10 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/misc//dos_dirs.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/misc//dos_dirs.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//dos_dirs.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//dos_dirs.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/misc//math.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/misc//math.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//math.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//math.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/misc//mktemp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/misc//mktemp.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//mktemp.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//mktemp.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/misc//mktemp.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | smktemp(id) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//mktemp.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | extern char *smktemp(); | ^ 6 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/misc//string.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | prefix(p, s) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | extern int prefix(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 34 | if (p = tmalloc(strlen(str) + 1)) | ^ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:34:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 34 | if (p = tmalloc(strlen(str) + 1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:34:11: note: place parentheses around the assignment to silence this warning 34 | if (p = tmalloc(strlen(str) + 1)) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/misc//string.c:34:11: note: use '==' to turn this assignment into an equality comparison 34 | if (p = tmalloc(strlen(str) + 1)) | ^ | == /var/tmp/work/cad/spice/work/src/lib/misc//string.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | copy(str) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | extern char *copy(); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | substring(sub, str) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | extern int substring(); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | appendc(s, c) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | extern void appendc(); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | scannum(str) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | extern int scannum(); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | cieq(p, s) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | extern int cieq(); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | ciprefix(p, s) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | extern int ciprefix(); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | strtolower(str) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | extern void strtolower(); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//string.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | gettok(s) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//string.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | extern char *gettok(); | ^ 24 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/misc//tilde.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/misc//tilde.c:7: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//tilde.c:7: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 34 | return copy(string); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 56 | return copy(buf); | ^ /var/tmp/work/cad/spice/work/src/lib/misc//tilde.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | tilde_expand(string) | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//tilde.c:7: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | extern char *tilde_expand( ); | ^ 8 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/misc//time.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/misc//time.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//time.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/misc//time.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[4]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/lib/misc Making "install" in ni Done with work/src/lib/ni Making "install" in sparse gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:73: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:73: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:73: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | spCreate( Size, Complex, pError ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 171 | if ((Matrix = ALLOC(struct MatrixFrame, 1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 232 | CALLOC( Matrix->Diag, ElementPtr, SizePlusOne); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 237 | CALLOC( Matrix->FirstInCol, ElementPtr, SizePlusOne); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 242 | CALLOC( Matrix->FirstInRow, ElementPtr, SizePlusOne); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 247 | if (( Matrix->IntToExtColMap = ALLOC(int, SizePlusOne)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 251 | if (( Matrix->IntToExtRowMap = ALLOC(int, SizePlusOne)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 262 | if (( Matrix->ExtToIntColMap = ALLOC(int, SizePlusOne)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 266 | if (( Matrix->ExtToIntRowMap = ALLOC(int, SizePlusOne)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | spcGetElement( Matrix ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 337 | { pElement = ALLOC(struct MatrixElement, ELEMENTS_PER_ALLOCATION); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | InitializeElementBlocks( Matrix, InitialNumberOfElements, | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 399 | pElement = ALLOC(struct MatrixElement, InitialNumberOfElements); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 406 | pElement = ALLOC(struct MatrixElement, NumberOfFillinsExpected); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 413 | Matrix->FirstFillinListNode = ALLOC(struct FillinListNodeStruct,1); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | spcGetFillin( Matrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | RecordAllocation( Matrix, AllocatedPtr ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 550 | { FREE(AllocatedPtr); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | AllocateBlockOfAllocationList( Matrix ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 597 | ListPtr = ALLOC(struct AllocationRecord, (ELEMENTS_PER_ALLOCATION+1)); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | spDestroy( eMatrix ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 661 | FREE( Matrix->IntToExtColMap ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 662 | FREE( Matrix->IntToExtRowMap ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 663 | FREE( Matrix->ExtToIntColMap ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 664 | FREE( Matrix->ExtToIntRowMap ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 665 | FREE( Matrix->Diag ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 666 | FREE( Matrix->FirstInRow ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 667 | FREE( Matrix->FirstInCol ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 668 | FREE( Matrix->MarkowitzRow ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 669 | FREE( Matrix->MarkowitzCol ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 670 | FREE( Matrix->MarkowitzProd ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 671 | FREE( Matrix->DoCmplxDirect ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 672 | FREE( Matrix->DoRealDirect ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 673 | FREE( Matrix->Intermediate ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 682 | FREE( ListPtr ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 686 | FREE( ListPtr->AllocatedPtr ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | spError( eMatrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | spWhereSingular( eMatrix, pRow, pCol ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | spGetSize( eMatrix, External ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | spSetReal( eMatrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | spSetComplex( eMatrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | spFillinCount( eMatrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spalloc.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | spElementCount( eMatrix ) | ^ 47 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:72: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:72: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:72: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | spClear( eMatrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | spGetElement( eMatrix, Row, Col ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 213 | ElementPtr spcFindElementInCol(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:872:19: note: conflicting prototype is here 872 | extern ElementPtr spcFindElementInCol( MatrixPtr, ElementPtr*, int, int, int ); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 214 | void Translate(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:83:13: note: conflicting prototype is here 83 | static void Translate( MatrixPtr, int*, int* ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | spcFindElementInCol( Matrix, LastAddr, Row, Col, CreateIfMissing ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 321 | ElementPtr spcCreateElement(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:873:19: note: conflicting prototype is here 873 | extern ElementPtr spcCreateElement( MatrixPtr, int, int, ElementPtr*, int ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | Translate( Matrix, Row, Col ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | spcCreateElement( Matrix, Row, Col, LastAddr, Fillin ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 744 | ElementPtr pCreatedElement, spcGetElement(), spcGetFillin(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:870:19: note: conflicting prototype is here 870 | extern ElementPtr spcGetElement( MatrixPtr ); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 744 | ElementPtr pCreatedElement, spcGetElement(), spcGetFillin(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:871:19: note: conflicting prototype is here 871 | extern ElementPtr spcGetFillin( MatrixPtr ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | spcLinkRows( Matrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | EnlargeMatrix( Matrix, NewSize ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 950 | if (( REALLOC(Matrix->IntToExtColMap, int, NewSize+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 954 | if (( REALLOC(Matrix->IntToExtRowMap, int, NewSize+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 958 | if (( REALLOC(Matrix->Diag, ElementPtr, NewSize+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 962 | if (( REALLOC(Matrix->FirstInCol, ElementPtr, NewSize+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 966 | if (( REALLOC(Matrix->FirstInRow, ElementPtr, NewSize+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 975 | FREE( Matrix->MarkowitzRow ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 976 | FREE( Matrix->MarkowitzCol ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 977 | FREE( Matrix->MarkowitzProd ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 978 | FREE( Matrix->DoRealDirect ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 979 | FREE( Matrix->DoCmplxDirect ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 980 | FREE( Matrix->Intermediate ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spbuild.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | ExpandTranslationArrays( Matrix, NewSize ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1039 | if (( REALLOC(Matrix->ExtToIntRowMap, int, NewSize+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 1043 | if (( REALLOC(Matrix->ExtToIntColMap, int, NewSize+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ 30 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:71: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:71: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:71: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | spOrderAndFactor( eMatrix, RHS, RelThreshold, AbsThreshold, DiagPivoting ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 235 | ElementPtr SearchForPivot(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:85:19: note: conflicting prototype is here 85 | static ElementPtr SearchForPivot( MatrixPtr, int, int ); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 236 | RealNumber LargestInCol, FindLargestInCol(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:90:19: note: conflicting prototype is here 90 | static RealNumber FindLargestInCol( ElementPtr ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | spFactor( eMatrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | FactorComplexMatrix( Matrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | spPartition( eMatrix, Mode ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | spcCreateInternalVectors( Matrix ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 787 | { if (( Matrix->MarkowitzRow = ALLOC(int, Size+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 791 | { if (( Matrix->MarkowitzCol = ALLOC(int, Size+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 795 | { if (( Matrix->MarkowitzProd = ALLOC(long, Size+2)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 802 | { if (( Matrix->DoRealDirect = ALLOC(BOOLEAN, Size+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 808 | { if (( Matrix->DoCmplxDirect = ALLOC(BOOLEAN, Size+1)) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 816 | { if ((Matrix->Intermediate = ALLOC(RealNumber,2*(Size+1))) == NULL) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | CountMarkowitz( Matrix, RHS, Step ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | MarkowitzProducts( Matrix, Step ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | SearchForPivot( Matrix, Step, DiagPivoting ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1068 | ElementPtr SearchForSingleton(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:86:19: note: conflicting prototype is here 86 | static ElementPtr SearchForSingleton( MatrixPtr, int ); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1069 | ElementPtr QuicklySearchDiagonal(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:87:19: note: conflicting prototype is here 87 | static ElementPtr QuicklySearchDiagonal( MatrixPtr, int ); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1070 | ElementPtr SearchDiagonal(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:88:19: note: conflicting prototype is here 88 | static ElementPtr SearchDiagonal( MatrixPtr, int ); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1071 | ElementPtr SearchEntireMatrix(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:89:19: note: conflicting prototype is here 89 | static ElementPtr SearchEntireMatrix( MatrixPtr, int ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | SearchForSingleton( Matrix, Step ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1172 | RealNumber PivotMag, FindBiggestInColExclude(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:91:19: note: conflicting prototype is here 91 | static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, int ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | QuicklySearchDiagonal( Matrix, Step ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1594 | RealNumber FindBiggestInColExclude(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:91:19: note: conflicting prototype is here 91 | static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, int ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | SearchDiagonal( Matrix, Step ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1761 | RealNumber FindBiggestInColExclude(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:91:19: note: conflicting prototype is here 91 | static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, int ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:1878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1878 | SearchEntireMatrix( Matrix, Step ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1889 | RealNumber FindLargestInCol(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:90:19: note: conflicting prototype is here 90 | static RealNumber FindLargestInCol( ElementPtr ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2001 | FindLargestInCol( pElement ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2067 | FindBiggestInColExclude( Matrix, pElement, Step ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2144 | ExchangeRowsAndCols( Matrix, pPivot, Step ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 2152 | ElementPtr spcFindElementInCol(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:872:19: note: conflicting prototype is here 872 | extern ElementPtr spcFindElementInCol( MatrixPtr, ElementPtr*, int, int, int ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2274 | spcRowExchange( Matrix, Row1, Row2 ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2376 | spcColExchange( Matrix, Col1, Col2 ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2483 | ExchangeColElements( Matrix, Row1, Element1, Row2, Element2, Column ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2625 | ExchangeRowElements( Matrix, Col1, Element1, Col2, Element2, Row ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2760 | RealRowColElimination( Matrix, pPivot ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 2769 | extern ElementPtr CreateFillin(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:100:19: note: conflicting prototype is here 100 | static ElementPtr CreateFillin( MatrixPtr, int, int ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2849 | ComplexRowColElimination( Matrix, pPivot ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 2858 | ElementPtr CreateFillin(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:100:19: note: conflicting prototype is here 100 | static ElementPtr CreateFillin( MatrixPtr, int, int ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:2933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2933 | UpdateMarkowitzNumbers( Matrix, pPivot ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:3021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3021 | CreateFillin( Matrix, Row, Col ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3028 | ElementPtr spcCreateElement(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:873:19: note: conflicting prototype is here 873 | extern ElementPtr spcCreateElement( MatrixPtr, int, int, ElementPtr*, int ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:3083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3083 | MatrixIsSingular( Matrix, Step ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spfactor.c:3097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3097 | ZeroPivot( Matrix, Step ) | ^ 49 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:60: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:60: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:60: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | spPrint( eMatrix, PrintReordered, Data, Header ) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 157 | CALLOC(pImagElements, ElementPtr, Printer_Width / 10 + 1); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 160 | FREE(pImagElements); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 170 | CALLOC( PrintOrdToIntRowMap, int, Top + 1 ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 173 | FREE(pImagElements); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 176 | CALLOC( PrintOrdToIntColMap, int, Top + 1 ); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 179 | FREE(pImagElements); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 180 | FREE(PrintOrdToIntRowMap); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 363 | FREE(PrintOrdToIntColMap); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 364 | FREE(PrintOrdToIntRowMap); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | spFileMatrix( eMatrix, File, Label, Reordered, Data, Header ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:430:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 430 | FILE *pMatrixFile, *fopen(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | spFileVector( eMatrix, File, RHS IMAG_RHS ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:584:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 584 | FILE *fopen(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | spFileStats( eMatrix, File, Label ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spoutput.c:706:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 706 | FILE *pStatsFile, *fopen(); | ^ 20 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:115: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:115: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:115: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | SMPaddElt( Matrix, Row, Col, Value ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | SMPmakeElt( Matrix, Row, Col ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | SMPcClear( Matrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | SMPclear( Matrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | SMPcLUfac( Matrix, PivTol ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | SMPluFac( Matrix, PivTol, Gmin ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | SMPcReorder( Matrix, PivTol, PivRel, NumSwaps ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | SMPreorder( Matrix, PivTol, PivRel, Gmin ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | SMPcaSolve( Matrix, RHS, iRHS, Spare, iSpare) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | SMPcSolve( Matrix, RHS, iRHS, Spare, iSpare) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | SMPsolve( Matrix, RHS, Spare ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | SMPmatSize( Matrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | SMPnewMatrix( pMatrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | SMPdestroy( Matrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | SMPpreOrder( Matrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | SMPprint( Matrix, File ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | SMPgetError( Matrix, Col, Row) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | SMPcProdDiag( Matrix, pMantissa, pExponent) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | SMPcDProd( Matrix, pMantissa, pExponent) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | LoadGmin( eMatrix, Gmin ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:459:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 459 | if (diag = Diag[I]) | ~~~~~^~~~~~~~~ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:459:15: note: place parentheses around the assignment to silence this warning 459 | if (diag = Diag[I]) | ^ | ( ) /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:459:15: note: use '==' to turn this assignment into an equality comparison 459 | if (diag = Diag[I]) | ^ | == /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | SMPfindElt( eMatrix, Row, Col, CreateIfMissing ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | SMPcZeroCol( Matrix, Col ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | SMPcAddCol( Matrix, Accum_Col, Addend_Col ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsmp.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | SMPzeroRow( Matrix, Row ) | ^ 29 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c:61: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c:61: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c:61: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | spSolve( eMatrix, RHS, Solution IMAG_VECTORS ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 165 | void SolveComplexMatrix(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c:72:13: note: conflicting prototype is here 72 | static void SolveComplexMatrix( MatrixPtr, | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | SolveComplexMatrix( Matrix, RHS, Solution IMAG_VECTORS ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | spSolveTransposed( eMatrix, RHS, Solution IMAG_VECTORS ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 483 | void SolveComplexTransposedMatrix(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c:74:13: note: conflicting prototype is here 74 | static void SolveComplexTransposedMatrix( MatrixPtr, | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spsolve.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | SolveComplexTransposedMatrix(Matrix, RHS, Solution IMAG_VECTORS ) | ^ 10 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:74: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:74: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:74: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | spMNA_Preorder( eMatrix ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | CountTwins( Matrix, Col, ppTwin1, ppTwin2 ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | SwapCols( Matrix, pTwin1, pTwin2 ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | spMultiply( eMatrix, RHS, Solution IMAG_VECTORS ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 636 | extern void ComplexMatrixMultiply(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:89:13: note: conflicting prototype is here 89 | static void ComplexMatrixMultiply( MatrixPtr, RealVector, RealVector, | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | ComplexMatrixMultiply( Matrix, RHS, Solution IMAG_VECTORS ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | spMultTransposed( eMatrix, RHS, Solution IMAG_VECTORS ) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 831 | extern void ComplexTransposedMatrixMultiply(); | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:91:13: note: conflicting prototype is here 91 | static void ComplexTransposedMatrixMultiply( MatrixPtr, RealVector, RealVector, | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | ComplexTransposedMatrixMultiply( Matrix, RHS, Solution IMAG_VECTORS ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | spDeterminant( eMatrix, pExponent, pDeterminant, piDeterminant ) | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//sputils.c:2201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2201 | spErrorMessage( eMatrix, Stream, Originator ) | ^ 15 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -c /var/tmp/work/cad/spice/work/src/lib/sparse//spextra.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spextra.c:28: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spextra.c:28: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/lib/sparse//spextra.c:28: In file included from /var/tmp/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/lib/sparse//spextra.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | spConstMult(matrix, constant) | ^ 5 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[4]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/lib/sparse Done with work/src/lib Making "install" in bin gcc -c -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -DSIMULATOR /var/tmp/work/cad/spice/work/src/bin//main.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 90 | extern int kill(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/signal.h:83:5: note: conflicting prototype is here 83 | int kill(pid_t, int) __DARWIN_ALIAS(kill); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:286:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 286 | void | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:286:1: note: change return type to 'int' 286 | void | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 361 | ft_sperror(err,"SIMinit"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 430 | cp_vset("rawfile", VT_STRING, *tv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 536 | inp_source(".spiceinit"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 542 | inp_source(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 560 | cp_vset("term", VT_STRING, cmd_line_term); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 565 | com_version(NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 567 | fp = fopen(cp_tildexpand(News_File), "r"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 612 | tempfile = smktemp("sp"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 631 | inp_spsource(file, false, tempfile ? (char *) NULL : *tv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 648 | ft_loadfile(*av); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 652 | ft_loadfile(ft_rawfile); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 658 | inp_spsource(stdin, false, (char *) NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 678 | if (ft_dorun("")) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 689 | error2 = ft_dorun(ft_rawfile); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 690 | if (ft_cktcoms(true) || error2) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 694 | error2 = ft_dorun(NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 695 | if (ft_cktcoms(false) || error2) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 709 | while (cp_evloop((char *) NULL) == 1) ; | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | main(ac, av) | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | SPIinit(frtEnd,description) | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:785:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | int SIMinit(frontEnd,simulator) | ^ 30 warnings and 2 errors generated. *** Error code 1 (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/fte.a (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/ckt.a (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp.a (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/hlp.a (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/inp.a (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/mfb.a (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/sparse.a (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/misc.a (continuing) Creating conf.c: /var/tmp/work/cad/spice/work/util/mkvers.sh "asrc bjt bsim1 bsim2 cap cccs ccvs csw dio ind isrc jfet ltra mes mos1 mos2 mos3 mos6 res sw tra urc vccs vcvs vsrc" "op dc tf ac tran pz disto noise sense" "3f5.1" "" > conf.c cat /var/tmp/work/cad/spice/work/src/bin//config.c >> conf.c chmod -w "conf.c" gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c conf.c < /dev/null Creating tune.c chmod -w "tune.c" gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c tune.c < /dev/null gcc -c -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ /var/tmp/work/cad/spice/work/src/bin//main.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:11: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:15: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:11: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 90 | extern int kill(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/signal.h:83:5: note: conflicting prototype is here 83 | int kill(pid_t, int) __DARWIN_ALIAS(kill); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:178:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | /* ARGSUSED */ int if_run(t, w, s, b) char *t, *w, *b; wordlist *s; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 425 | extern int if_run(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:180:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | /* ARGSUSED */ int if_sens_run(t, w, s, b) char *t, *w, *b; wordlist *s; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 426 | extern int if_sens_run(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:182:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | /* ARGSUSED */ void if_dump(ckt, fp) char *ckt; FILE *fp; { } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 431 | extern void if_dump(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:183:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | /* ARGSUSED */ char * if_inpdeck(deck, tab) struct line *deck; char **tab; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 424 | extern char *if_inpdeck(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:185:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | /* ARGSUSED */ int if_option(ckt, name, type, value) char *name, *ckt, *value; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 432 | extern int if_option(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:187:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | /* ARGSUSED */ void if_cktfree(ckt, tab) char *ckt, *tab; { } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 430 | extern void if_cktfree(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:188:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | /* ARGSUSED */ void if_setndnames(line) char *line; { } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 433 | extern void if_setndnames(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:189:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | /* ARGSUSED */ char * if_errstring(code) { return ("spice error"); } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 423 | extern char *if_errstring(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:190:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | /* ARGSUSED */ void if_setparam(ckt, name, param, val) | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 434 | extern void if_setparam(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | if_tranparams(ckt, start, stop, step) struct circ *ckt; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 422 | extern bool if_tranparams(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:197:33: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | /* ARGSUSED */ struct variable *if_getstat(n, c) char *n, *c; { return (NULL);} | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 435 | extern struct variable *if_getstat(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:286:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 286 | void | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:286:1: note: change return type to 'int' 286 | void | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 361 | ft_sperror(err,"SIMinit"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 430 | cp_vset("rawfile", VT_STRING, *tv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 536 | inp_source(".spiceinit"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 542 | inp_source(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 560 | cp_vset("term", VT_STRING, cmd_line_term); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 565 | com_version(NULL); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 567 | fp = fopen(cp_tildexpand(News_File), "r"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 648 | ft_loadfile(*av); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 652 | ft_loadfile(ft_rawfile); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 752 | while (cp_evloop((char *) NULL) == 1) ; | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | main(ac, av) | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//main.c:16: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | SPIinit(frtEnd,description) | ^ /var/tmp/work/cad/spice/work/src/bin//main.c:785:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | int SIMinit(frontEnd,simulator) | ^ 44 warnings and 2 errors generated. *** Error code 1 (continuing) Creating nconf.c: /var/tmp/work/cad/spice/work/util/mkvers.sh "" "" "3f5.1" "" > nconf.c cat /var/tmp/work/cad/spice/work/src/bin//nconfig.c >> nconf.c chmod -w "nconf.c" gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c nconf.c < /dev/null gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/bin//sconvert.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] 418 | extern void main(); | ^ /var/tmp/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' 418 | extern void main(); | ^~~~ | int /var/tmp/work/cad/spice/work/src/bin//sconvert.c:39:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 39 | void | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:39:1: note: change return type to 'int' 39 | void | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 70 | sf = infile = smktemp("scin"); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 71 | af = outfile = smktemp("scout"); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:76:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 76 | while (i = fread(buf, 1, sizeof(buf), stdin)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:76:22: note: place parentheses around the assignment to silence this warning 76 | while (i = fread(buf, 1, sizeof(buf), stdin)) | ^ | ( ) /var/tmp/work/cad/spice/work/src/bin//sconvert.c:76:22: note: use '==' to turn this assignment into an equality comparison 76 | while (i = fread(buf, 1, sizeof(buf), stdin)) | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 84 | sf = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 92 | af = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 110 | pl = oldread(sf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 115 | pl = raw_read(sf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 127 | oldwrite(af, false, pl); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 131 | raw_write(af, pl, false, true); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 135 | raw_write(af, pl, false, false); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:148:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | while (i = fread(buf, 1, sizeof(buf), fp)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:148:18: note: place parentheses around the assignment to silence this warning 148 | while (i = fread(buf, 1, sizeof(buf), fp)) | ^ | ( ) /var/tmp/work/cad/spice/work/src/bin//sconvert.c:148:18: note: use '==' to turn this assignment into an equality comparison 148 | while (i = fread(buf, 1, sizeof(buf), fp)) | ^ | == /var/tmp/work/cad/spice/work/src/bin//sconvert.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | main(ac, av) | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/cad/spice/work/src/include/fteext.h:418:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 418 | extern void main(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 185 | pl = alloc(struct plot); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 191 | pl->pl_title = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 195 | pl->pl_date = copy(fixdate(buf)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 195 | pl->pl_date = copy(fixdate(buf)); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 204 | v = alloc(struct dvec); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc' 41 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 212 | v->v_name = copy(buf); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:235:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 234 | fprintf(cp_err, "Warning: output %d should be %d\n", | ~~ | %ld 235 | a, i); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 239 | pl->pl_name = copy(buf); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 264 | v->v_realdata = (double *) tmalloc(sizeof (double) | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 267 | v->v_compdata = (complex *) tmalloc(sizeof (complex) | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | oldread(name) | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:36:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static struct plot *oldread(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | oldwrite(name, app, pl) | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static void oldwrite(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 419 | return (copy(buf)); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | fixdate(date) | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:37:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static char *fixdate(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:426:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | /* ARGSUSED */ void cp_usrvars(v1, v2) struct variable **v1, **v2; { return; } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | extern void cp_usrvars(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:427:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | /* ARGSUSED */ int cp_evloop(s) char *s; { return (0); } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | extern int cp_evloop(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:428:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | /* ARGSUSED */ void cp_ccon(o) bool o; { } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | extern void cp_ccon(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:429:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | /* ARGSUSED */ char *if_errstring(c) int c; { return ("error"); } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 423 | extern char *if_errstring(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:431:30: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | /* VARARGS1 ARGSUSED */ void out_printf(fmt, args) char *fmt; { } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | extern void out_printf(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:433:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | /* ARGSUSED */ void out_send(string) char *string; {} | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | extern void out_send(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:434:34: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | /* ARGSUSED */ struct variable * cp_enqvar(word) char *word; { return (NULL); } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 327 | extern struct variable *cp_enqvar(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:435:29: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | /* ARGSUSED */ struct dvec *vec_get(word) char *word; { return (NULL); } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:13: In file included from /var/tmp/work/cad/spice/work/src/include/ftedefs.h:56: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 458 | extern struct dvec *vec_get(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:436:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | /* ARGSUSED */ void cp_ccom(w, b, e) wordlist *w; char *b; bool e; { return; } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | extern void cp_ccom(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:437:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | /* ARGSUSED */ int cp_usrset(v, i) struct variable *v; bool i;{return(US_OK); } | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | extern int cp_usrset(); | ^ /var/tmp/work/cad/spice/work/src/bin//sconvert.c:440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | void XtDispatchEvent(pev) char *pev; {} | ^ 58 warnings and 2 errors generated. *** Error code 1 (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/fte/rawfile.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/fte/types.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/fte/error.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp/numparse.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp/quote.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp/std.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp/wlist.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp/input.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp/lexical.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp/variable.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/cp/var2.o (continuing) bmake[3]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj/lib/fte/dimens.o (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -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/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ /var/tmp/work/cad/spice/work/src/bin//help.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/bin//help.c:29: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//help.c:29: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /var/tmp/work/cad/spice/work/src/include/cpstd.h:16: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//help.c:29: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//help.c:29: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/cad/spice/work/src/bin//help.c:49:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 49 | void | ^ /var/tmp/work/cad/spice/work/src/bin//help.c:49:1: note: change return type to 'int' 49 | void | ^~~~ | int /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 72 | if (cp_getvar("display", VT_STRING, buf)) { | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 88 | wl = wl_build(av + 1); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 89 | hlp_main(Help_Path, wl); | ^ /var/tmp/work/cad/spice/work/src/bin//help.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | main(ac, av) | ^ /var/tmp/work/cad/spice/work/src/bin//help.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | fatal(s) | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//help.c:29: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | extern void fatal(); | ^ /var/tmp/work/cad/spice/work/src/bin//help.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | cp_printword(s) | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//help.c:29: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | extern void cp_printword(); | ^ /var/tmp/work/cad/spice/work/src/bin//help.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | cp_getvar(n, t, r) | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//help.c:29: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | extern bool cp_getvar(); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 130 | return tilde_expand(s); | ^ /var/tmp/work/cad/spice/work/src/bin//help.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | cp_tildexpand(s) | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//help.c:29: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:118: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | extern char *cp_tildexpand(); | ^ 19 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/bin//proc2mod.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:9: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:9: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:9: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:15:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 15 | void exit(); | ^ /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:54:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 54 | void | ^ /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:54:1: note: change return type to 'int' 54 | void | ^~~~ | int /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:115:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 115 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:124:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 124 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:133:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 133 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:142:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 142 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:151:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 151 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /var/tmp/work/cad/spice/work/src/bin//proc2mod.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | getdata(vals,count,width) | ^ 12 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -c -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ /var/tmp/work/cad/spice/work/src/bin//multidec.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/bin//multidec.c:10: /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 87 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//multidec.c:10: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//multidec.c:10: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /var/tmp/work/cad/spice/work/src/bin//multidec.c:50:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 50 | while (ch = *s++) { | ~~~^~~~~~ /var/tmp/work/cad/spice/work/src/bin//multidec.c:50:13: note: place parentheses around the assignment to silence this warning 50 | while (ch = *s++) { | ^ | ( ) /var/tmp/work/cad/spice/work/src/bin//multidec.c:50:13: note: use '==' to turn this assignment into an equality comparison 50 | while (ch = *s++) { | ^ | == /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 107 | usage(pname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 111 | usage(pname); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 127 | usage(argv); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 158 | comments(r,l,g,c,ctot,cm,lm,k,name,num,len); | ^ /var/tmp/work/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 C23 [-Wdeprecated-non-prototype] 175 | matrix[i][j] = phi(i-1,tpeigenvalues[j]); | ^ /var/tmp/work/cad/spice/work/src/bin//multidec.c:24:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | main (argc, argv) | ^ /var/tmp/work/cad/spice/work/src/bin//multidec.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | usage(argv) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern void usage(); | ^ /var/tmp/work/cad/spice/work/src/bin//multidec.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | comments(r,l,g,c,ctot,cm,lm,k,name,num,len) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern void comments(); | ^ /var/tmp/work/cad/spice/work/src/bin//multidec.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | phi(i,arg) | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern double phi(); | ^ 17 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/var/tmp/work/cad/spice/work/src/include -Wno-implicit-function-declaration -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/var/tmp/work/cad/spice/work/src/include -I/var/tmp/work/cad/spice/work/src//lib/dev/ -c /var/tmp/work/cad/spice/work/src/bin//makeidx.c < /dev/null In file included from /var/tmp/work/cad/spice/work/src/bin//makeidx.c:8: /var/tmp/work/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 114 | extern char *rindex(); | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 115 | extern char *index(); | ^ /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 99 | extern void clearerr(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:232:7: note: conflicting prototype is here 232 | void clearerr(FILE *); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//makeidx.c:8: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 137 | extern void perror(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:7: note: conflicting prototype is here 264 | void perror(const char *) __cold; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]' 469 | extern __const char *__const sys_errlist[]; | ^ /var/tmp/work/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here 87 | extern char *sys_errlist[]; | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//makeidx.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/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 treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: conflicting prototype is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ In file included from /var/tmp/work/cad/spice/work/src/bin//makeidx.c:10: In file included from /var/tmp/work/cad/spice/work/src/include/cpdefs.h:14: /var/tmp/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' 54 | extern void setenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:253:6: note: previous declaration is here 253 | int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv); | ^ /var/tmp/work/cad/spice/work/src/bin//makeidx.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | main(argc, argv) | ^ 6 warnings and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. bmake[3]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/obj/bin Done with work/src Making "install" in lib rm -f /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/mfbcap cp /var/tmp/work/cad/spice/work/lib/mfbcap /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/mfbcap rm -f /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/news cp /var/tmp/work/cad/spice/work/lib/news /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/news rm -f /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts/setplot cp /var/tmp/work/cad/spice/work/lib/scripts/setplot /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts/setplot rm -f /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts/spinit cp /var/tmp/work/cad/spice/work/lib/scripts/spinit /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts/spinit rm -f /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/helpdir/spice.txt cp /var/tmp/work/cad/spice/work/lib/helpdir/spice.txt /var/tmp/work/cad/spice/work/.destdir/opt/pkg/share/spice3/helpdir/spice.txt bmake[2]: don't know how to make /var/tmp/work/cad/spice/work/NetBSD/obj//bin/makeidx (continuing) Done with work/lib `recursive' not remade because of errors. Stop. bmake[2]: stopped making "recursive" in /var/tmp/work/cad/spice/work/NetBSD/lib Done with work Done with build at Tue Oct 6 22:24:24 UTC 2026 /bin/chmod a+rx /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/spice3 /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/nutmeg /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/sconvert /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/help /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/proc2mod /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/multidec chmod: /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/spice3: No such file or directory chmod: /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/nutmeg: No such file or directory chmod: /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/sconvert: No such file or directory chmod: /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/help: No such file or directory chmod: /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/proc2mod: No such file or directory chmod: /var/tmp/work/cad/spice/work/.destdir/opt/pkg/bin/multidec: No such file or directory *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/cad/spice *** Error code 1 Stop. bmake: stopped making "stage-install" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/cad/spice