=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/scm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for scm-5.5.3nb2 echo "#ifndef IMPLINIT" > newflags.h echo "#define IMPLINIT \"Init5e3.scm\"" >> newflags.h echo "#endif" >> newflags.h echo "#define CHEAP_CONTINUATIONS" >> newflags.h echo "#define CAUTIOUS" >> newflags.h if (cmp -s newflags.h scmflags.h) then rm newflags.h; else mv newflags.h scmflags.h; fi clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses scm.c -o scm.o scm.c:197:17: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 197 | wta(UNDEFINED, (char *)i, ""); | ^~~~~~~~~ scm.c:280:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 280 | wta(MAKINUM(sig), (i < 0 ? s_unksig : (char *)(i + SIGNAL_BASE)), ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~ scm.c:273:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | static SIGRETTYPE err_signal(sig) | ^ scm.c:312:22: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 312 | wta(UNDEFINED, (char *)i, ""); | ^~~~~~~~~ scm.c:283:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | static SIGRETTYPE scmable_signal(sig) | ^ scm.c:345:15: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | SYSCALL(j = alarm(INUM(i));); | ^ scm.c:340:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | SCM lalarm(i) | ^ scm.c:354:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | SCM scm_setitimer(which, value, interval) | ^ scm.c:390:3: warning: call to undeclared function 'pause'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | pause(); | ^ scm.c:419:15: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | SYSCALL(j = sleep(INUM(i));); | ^ scm.c:405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | SCM l_sleep(i) | ^ scm.c:475:15: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | return kill(getpid (), (int)INUM(sig)) ? BOOL_F : BOOL_T; | ^ scm.c:467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | SCM l_raise(sig) | ^ scm.c:516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | void init_scm(iverbose, buf0stdin, init_heap_size) | ^ scm.c:549:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | static void init_sig1(scm_err, signo, handler) | ^ scm.c:582:3: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | alarm(0); /* kill any pending ALRM interrupts */ | ^ scm.c:679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | void scm_init_from_argv(argc, argv, script_arg, iverbose, buf0stdin) | ^ scm.c:705:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | void final_scm(freeall) | ^ scm.c:839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | int init_buf0(inport) | ^ scm.c:842:7: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 842 | if (isatty(fileno(inport))) { | ^ scm.c:866:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | SCM scm_execpath(newpath) | ^ scm.c:884:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | char *scm_find_execpath(argc, argv, script_arg) | ^ scm.c:924:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | SCM lsystem(cmd) | ^ scm.c:940: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] 940 | char *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 *); | ^ scm.c:941:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | SCM lgetenv(nam) | ^ scm.c:1014:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | void add_feature(str) | ^ 26 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses time.c -o time.o time.c:334:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | int scm_ftime(time_buffer) | ^ time.c:367:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 367 | return MAKINUM(-1); | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ time.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | long time_in_msec(x) | ^ 3 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses repl.c -o repl.o repl.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void intprint(n, radix, port) | ^ repl.c:175:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | void ipruk(hdr, ptr, port) | ^ repl.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | void iprlist(hdr, exp, tlr, port, writing) | ^ repl.c:217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | void iprin1(exp, port, writing) | ^ repl.c:441:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | static int input_waiting(f) | ^ repl.c:470:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | SCM char_readyp(port) | ^ repl.c:513:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 513 | ASRTER(NIMP(port) && OPINPORTP(port) && (BUF0 & SCM_PORTFLAGS(port)), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514 | port, pos, s_wfi); | ~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ repl.c:495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | SCM wait_for_input(args) | ^ repl.c:588:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | SCM eof_objectp(x) | ^ repl.c:596:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | int scm_io_error(port, what) | ^ repl.c:627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | void lfflush(port) /* internal SCM call */ | ^ repl.c:636:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | SCM lflush(port) /* user accessible as force-output */ | ^ repl.c:650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | SCM lwrite(obj, port) | ^ repl.c:658:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | SCM display(obj, port) | ^ repl.c:666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | SCM newline(port) | ^ repl.c:675:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | SCM write_char(chr, port) | ^ repl.c:684:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | SCM scm_freshline(port) | ^ repl.c:695:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | void lputc(c, port) | ^ repl.c:715:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | void lputs(s, port) | ^ repl.c:739:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | sizet lfwrite(ptr, size, nitems, port) | ^ repl.c:766:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | int lgetc(port) | ^ repl.c:802:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | void lungetc(c, port) | ^ repl.c:816:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | SCM scm_read_char(port) | ^ repl.c:826:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | SCM peek_char(port) | ^ repl.c:838:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | char *grow_tok_buf(tok_buf) | ^ repl.c:847:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | static int flush_ws(port) | ^ repl.c:873:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | SCM scm_read(port) | ^ repl.c:879:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | SCM scm_read_for_load(port) | ^ repl.c:893:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | static SCM lread1(port, flgs, what) | ^ repl.c:911:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | static SCM lreadpr(tok_buf, port, flgs) | ^ repl.c:1068:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | static SCM lreadr(tok_buf, port, flgs) | ^ repl.c:1081:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | static SCM lread_rec(tok_buf, port) | ^ repl.c:1108:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | static sizet read_token(ic, tok_buf, port) | ^ repl.c:1153:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | static SCM lreadparen(tok_buf, port, flgs, name) | ^ repl.c:1186:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | SCM swapcar(pair, value) | ^ repl.c:1200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | SCM tryarb(arb) | ^ repl.c:1214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | SCM relarb(arb) | ^ repl.c:1222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | SCM makarb(name) | ^ repl.c:1231:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | static int prinarb(exp, port, writing) | ^ repl.c:1285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | int handle_it(i) | ^ repl.c:1291:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1291 | wta(UNDEFINED, (char *)i, ""); /* sends it to def_err_response */ | ^~~~~~~~~ repl.c:1345:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | SCM scm_top_level(initpath, toplvl_fun) | ^ repl.c:1392:8: warning: call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1392 | (isspace(initpath[0]) || ';'==initpath[0] || '('==initpath[0])) | ^ repl.c:1392:8: note: include the header or explicitly provide a declaration for 'isspace' repl.c:1472:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | SCM scm_port_line(port) | ^ repl.c:1490:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1490 | SCM scm_port_col(port) | ^ repl.c:1510:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | SCM scm_port_filename(port) | ^ repl.c:1527:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | void growth_mon(obj, size, units, grewp) | ^ repl.c:1546:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | void gc_start(what) | ^ repl.c:1623:37: warning: call to undeclared function 'sbrk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1623 | scm_dumped_brk = (unsigned long)sbrk(0); | ^ repl.c:1629:45: warning: call to undeclared function 'sbrk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1629 | unsigned long scm_curbrk = (unsigned long)sbrk(0), | ^ repl.c:1650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | SCM lroom(opt) | ^ repl.c:1692:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | SCM prolixity(arg) | ^ repl.c:1768:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1768 | SCM quit(n) | ^ repl.c:1849:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | SCM tryload(filename, reader) | ^ repl.c:1886:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | SCM scm_eval_string(str) | ^ repl.c:1899:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | SCM scm_load_string(str) | ^ repl.c:1918:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1918 | void scm_line_msg(file, linum, port) | ^ repl.c:1928:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | void scm_err_line(what, file, linum, port) | ^ repl.c:1947:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | static void err_head(str) | ^ repl.c:1971:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | void scm_warn(str1, str2, obj) | ^ repl.c:1989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | SCM lerrno(arg) | ^ repl.c:2000:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | SCM lperror(arg) | ^ repl.c:2054:47: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 2054 | lputc((long)err_pos <= ARGn ? ' ' : '1' + (int)err_pos - ARG1, cur_errp); | ^~~~~~~~~~~~ repl.c:2057:23: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 2057 | else lputs(errmsgs[((int)err_pos)-WNA].msg, cur_errp); | ^~~~~~~~~~~~ repl.c:2102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2102 | void everr(exp, env, arg, pos, s_subr, codep) | ^ repl.c:2110:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2110 | err_pos = pos; | ^ ~~~ repl.c:2111:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2111 | err_s_subr = s_subr; | ^ ~~~~~~ repl.c:2116:24: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] 2116 | COOKIE(1) : COOKIE((int)pos)); | ^~~~~~~~ ./scm.h:286:21: note: expanded from macro 'COOKIE' 286 | # define COOKIE(n) (n) | ^ repl.c:2119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | void wta(arg, pos, s_subr) | ^ repl.c:2129:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2129 | void scm_experr(arg, pos, s_subr) | ^ repl.c:2154:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | SCM set_inp(port) | ^ repl.c:2165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2165 | SCM set_outp(port) | ^ repl.c:2176:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | SCM set_errp(port) | ^ repl.c:2193:10: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2193 | return isatty(fileno(STREAM(port)))?BOOL_T:BOOL_F; | ^ repl.c:2188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2188 | SCM l_isatty(port) | ^ repl.c:2248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2248 | void init_repl( iverbose ) | ^ 76 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses scl.c -o scl.o scl.c:290:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | sizet iuint2str(num, rad, p) | ^ scl.c:308:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | sizet iint2str(num, rad, p) | ^ scl.c:359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | SCM number2string(x, radix) | ^ scl.c:396:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | int floprint(sexp, port, writing) | ^ scl.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | int bigprint(exp, port, writing) | ^ scl.c:487:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | SCM istr2int(str, len, radix) | ^ scl.c:777:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | SCM istring2number(str, len, radix) | ^ scl.c:815:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | SCM string2number(str, radix) | ^ scl.c:915:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | SCM list_tail(lst, k) | ^ scl.c:928:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | SCM string2list(str) | ^ scl.c:939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | SCM string_copy(str) | ^ scl.c:945:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | SCM string_fill(str, chr) | ^ scl.c:957:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | SCM vector2list(v) | ^ scl.c:968:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | SCM vector_fill(v, fill) | ^ scl.c:978:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | static SCM vector_equal(x, y) | ^ scl.c:1004:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | SCM equal(x, y) | ^ scl.c:1034:29: 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] 1034 | if (pred) return (*pred)(x, y); | ^ scl.c:1040:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | SCM numberp(obj) | ^ scl.c:1128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | SCM inexactp(x) | ^ scl.c:1137:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | SCM eqp(x, y) | ^ scl.c:1211:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | SCM lessp(x, y) | ^ scl.c:1280:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | SCM greaterp(x, y) | ^ scl.c:1285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | SCM leqp(x, y) | ^ scl.c:1290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | SCM greqp(x, y) | ^ scl.c:1295:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | SCM zerop(z) | ^ scl.c:1324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | SCM positivep(x) | ^ scl.c:1353:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | SCM negativep(x) | ^ scl.c:1384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | SCM lmax(x, y) | ^ scl.c:1468:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | SCM lmin(x, y) | ^ scl.c:1552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | SCM sum(x, y) | ^ scl.c:1665:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1665 | } | ^ scl.c:1667:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1667 | SCM difference(x, y) | ^ scl.c:1797:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1797 | } | ^ scl.c:1799:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | SCM product(x, y) | ^ scl.c:1947:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | SCM divide(x, y) | ^ scl.c:2128:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2128 | if ((MAKINUM(1L)==x) || (MAKINUM(-1L)==x)) return x; | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ scl.c:2148:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2148 | } | ^ scl.c:2150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2150 | SCM scm_intexpt(z1, z2) | ^ scl.c:2179:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2179 | else goto overflow; | ^ scl.c:2161:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2161 | if (MAKINUM(-1L)==z1) return BOOL_F==evenp(z2)?z1:acc; | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ scl.c:2490:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2490 | SCM numident(x) | ^ scl.c:2502:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2502 | SCM scm_iabs(x) | ^ scl.c:2695:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2695 | unsigned long hasher(obj, n, d) | ^ scl.c:2771:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2771 | SCM hash(obj, n) | ^ scl.c:2779:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | SCM hashv(obj, n) | ^ scl.c:2789:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2789 | SCM hashq(obj, n) | ^ 46 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses sys.c -o sys.o sys.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | SCM i_setbuf0(port) /* should be called with DEFER_INTS active */ | ^ sys.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | long mode_bits(modes, cmodes) | ^ sys.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | SCM try_open_file(filename, modes) | ^ sys.c:206:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | SCM open_file(filename, modes) | ^ sys.c:215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | SCM close_port(port) | ^ sys.c:240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | SCM input_portp(x) | ^ sys.c:246:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | SCM output_portp(x) | ^ sys.c:252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | SCM port_closedp(port) | ^ sys.c:259:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | SCM scm_port_type(port) | ^ sys.c:285:11: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 285 | SYSCALL(tmpnam(name);); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:287:1: note: 'tmpnam' has been explicitly marked deprecated here 287 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /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))) | ^ sys.c:339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | SCM del_fil(str) | ^ sys.c:352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | void prinport(exp, port, type) | ^ sys.c:369:47: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | if (OPENP(exp) && tc16_fport==TYP16(exp) && isatty(fileno(STREAM(exp)))) | ^ sys.c:370:11: warning: call to undeclared function 'ttyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | lputs(ttyname(fileno(STREAM(exp))), port); | ^ sys.c:370:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 370 | lputs(ttyname(fileno(STREAM(exp))), port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:777:38: note: passing argument to parameter 's' here 777 | SCM_EXPORT void lputs P((const char *s, SCM port)); | ^ sys.c:396:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | static int stputc(c, p) | ^ sys.c:405:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | sizet stwrite(str, siz, num, p) | ^ sys.c:419:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | static int stputs(s, p) | ^ sys.c:425:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | static int stgetc(p) | ^ sys.c:433:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | static int stclose(p) | ^ sys.c:439:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | static int stungetc(c, p) | ^ sys.c:451:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | int noop0(stream) | ^ sys.c:456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | SCM mkstrport(pos, str, modes, caller) | ^ sys.c:476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | SCM cwos(proc) | ^ sys.c:485:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | SCM cwis(str, proc) | ^ sys.c:561:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | static int sfputc(c, p) | ^ sys.c:569:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | sizet sfwrite(str, siz, num, p) | ^ sys.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | static int sfputs(s, p) | ^ sys.c:585:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | int sfflush(stream) | ^ sys.c:594:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | static int sfgetc(p) | ^ sys.c:604:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | static int sfclose(p) | ^ sys.c:614:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | SCM mksfpt(pv, modes) | ^ sys.c:654:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | static int clputc(c, p) | ^ sys.c:659:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | static sizet clwrite(str, siz, num, p) | ^ sys.c:665:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | static int clputs(s, p) | ^ sys.c:670:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | static int clgetc(p) | ^ sys.c:698:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | static sizet syswrite(str, siz, num, p) | ^ sys.c:731:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | static int sysputs(s, p) | ^ sys.c:737:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | static int sysputc(c, p) | ^ sys.c:744:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | static int sysflush(p) | ^ sys.c:770:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | SCM mksafeport(maxlen, port) | ^ sys.c:784:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | int reset_safeport(sfp, maxlen, port) | ^ sys.c:796:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | static sizet safewrite(str, siz, num, p) | ^ sys.c:815:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | static int safeputs(s, p) | ^ sys.c:821:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | static int safeputc(c, p) | ^ sys.c:828:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | static int safeflush(p) | ^ sys.c:834:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | static SCM marksafep(ptr) | ^ sys.c:839:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | static int freesafep(ptr) | ^ sys.c:858:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | static int freeprint(exp, port, writing) | ^ sys.c:952:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | void add_final(final) | ^ sys.c:960:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | SCM scm_add_finalizer(value, finalizer) | ^ sys.c:984:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | static SCM make_stk_seg(size, contents) | ^ sys.c:1018:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | void scm_estk_reset(size) | ^ sys.c:1071:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | void scm_env_cons(x, y) | ^ sys.c:1089:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | void scm_env_cons2(w, x, y) | ^ sys.c:1110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | void scm_env_cons3(v, w, x, y) | ^ sys.c:1134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | void scm_env_v2lst(argc, argv) | ^ sys.c:1174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | void old_scm_extend_env(names) | ^ sys.c:1242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | void grew_lim(nm) | ^ sys.c:1256:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | static char *igc_for_alloc(where, olen, size, what) | ^ sys.c:1284:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | char *must_malloc(len, what) | ^ sys.c:1302:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | SCM must_malloc_cell(len, c, what) | ^ sys.c:1325:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | char *must_realloc(where, olen, len, what) | ^ sys.c:1346:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | void must_realloc_cell(z, olen, len, what) | ^ sys.c:1366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | void must_free(obj, len) | ^ sys.c:1387:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | SCM sym2vcell(sym) | ^ sys.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1398 | } | ^ sys.c:1401:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | SCM intern(name, len) | ^ sys.c:1433:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | SCM sysintern(name, val) | ^ sys.c:1464:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | SCM cons(x, y) | ^ sys.c:1473:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | SCM cons2(w, x, y) | ^ sys.c:1486:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | SCM acons(w, x, y) | ^ sys.c:1500:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | SCM makstr(len) | ^ sys.c:1516:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | SCM scm_maksubr(name, type, fcn) | ^ sys.c:1549:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | SCM make_subr(name, type, fcn) | ^ sys.c:1604:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | SCM dynwind(thunk1, thunk2, thunk3) | ^ sys.c:1615:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1615 | void downd(to, delta) | ^ sys.c:1633:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | void dowinds(to) | ^ sys.c:1662:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1662 | if (!ncont) wta(MAKINUM(-1), (char *)NALLOC, s_cont); | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ sys.c:1682:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | void scm_dynthrow(tocont, arg1, arg2, rest) | ^ sys.c:1722:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | SCM obhash(obj) | ^ sys.c:1733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | SCM obunhash(obj) | ^ sys.c:1776:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | unsigned long strhash(str, len, n) | ^ sys.c:1796:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | static void fixconfig(s1, s2, s) | ^ sys.c:1826:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1826 | sizet init_heap_seg(seg_org, size) | ^ sys.c:1897:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | void scm_init_gra(gra, eltsize, len, maxlen, what) | ^ sys.c:1919:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | int scm_grow_gra(gra, elt) | ^ sys.c:1946:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | void scm_trim_gra(gra) | ^ sys.c:1960:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1960 | void scm_free_gra(gra) | ^ sys.c:1967:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | void gra_report1(gra) | ^ sys.c:1988:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | long newsmob(smob) | ^ sys.c:1994:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | long newptob(ptob) | ^ sys.c:2002:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | SCM scm_port_entry(stream, ptype, flags) | ^ sys.c:2060:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | SCM markcdr(ptr) | ^ sys.c:2065:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | sizet free0(ptr) | ^ sys.c:2070:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | SCM equal0(ptr1, ptr2) | ^ sys.c:2078:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2078 | void init_storage(stack_start_ptr, init_heap_size) | ^ sys.c:2178:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2178 | sysintern("most-negative-fixnum", (SCM)MAKINUM(MOST_NEGATIVE_FIXNUM)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ sys.c:2293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | SCM gc(arg) | ^ sys.c:2305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | void scm_run_finalizers(exiting) | ^ sys.c:2347:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2347 | void igc(what, basecont) | ^ sys.c:2478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2478 | void scm_protect_temp(ptr) | ^ sys.c:2485:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2485 | void gc_mark(p) | ^ sys.c:2617:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2617 | void mark_locations(x, n) | ^ sys.c:2624:22: warning: cast to smaller integer type 'int' from 'SCM *' (aka 'long *') [-Wpointer-to-int-cast] 2624 | while(0 <= --m) if (CELLP(*(SCM **)&x[m])) { | ^~~~~~~~~~~~~~~~~~~~~ ./scm.h:301:20: note: expanded from macro 'CELLP' 301 | #define CELLP(x) (!NCELLP(x)) | ^~~~~~~~~ ./scm.h:302:39: note: expanded from macro 'NCELLP' 302 | #define NCELLP(x) ((sizeof(cell)-1) & (int)(x)) | ^~~~~~~~ sys.c:2640:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2640 | static void gc_sweep(contin_bad) | ^ sys.c:2837:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2837 | static void mark_syms(v) | ^ sys.c:2869:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2869 | static void mark_sym_values(v) | ^ sys.c:2884:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2884 | static void sweep_symhash(v) | ^ sys.c:2910:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2910 | static void mark_finalizers(finalizers, pending) | ^ sys.c:2964:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2964 | static void mark_port_table(port) | ^ sys.c:3032:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | static void egc_copy(px) | ^ sys.c:3058:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3058 | static void egc_copy_locations(ve, len) | ^ sys.c:3073:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3073 | static void egc_copy_stack(stk, len) | ^ 114 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses eval.c -o eval.o eval.c:404:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | SCM *ilookup(iloc) | ^ eval.c:425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | SCM *farlookup(farloc) | ^ eval.c:458:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | SCM scm_env_lookup(var, stenv) | ^ eval.c:537:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | static SCM *lookupcar(vloc) | ^ eval.c:571:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | static SCM scm_lookupval(vloc, memo) | ^ eval.c:604:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | static SCM evalatomcar(x, toplevelp) | ^ eval.c:652:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | SCM scm_multi_set(syms, vals) | ^ eval.c:680:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | static SCM scm_case_selector(x) | ^ eval.c:728:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | static SCM acro_call(x, env) | ^ eval.c:753:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | static SCM toplevel_define(xorig, env) | ^ eval.c:772:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | SCM eval_args(l) | ^ eval.c:790:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | static void ecache_evalx(x) | ^ eval.c:812:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | static void ecache_undefs(x) | ^ eval.c:837:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | static int ecache_eval_args(proc, arg1, arg2, arg3, x) | ^ eval.c:863:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | static SCM asubr_apply(proc, arg1, arg2, arg3, args) | ^ eval.c:868: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] 868 | arg1 = SUBRF(proc)(arg1, arg2); | ^ eval.c:869: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] 869 | arg1 = SUBRF(proc)(arg1, arg3); | ^ eval.c:871: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] 871 | arg1 = SUBRF(proc)(arg1, CAR(args)); | ^ eval.c:876: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] 876 | if (FALSEP(SUBRF(proc)(arg1, arg2))) return BOOL_F; | ^ eval.c:878:29: 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] 878 | if (FALSEP(SUBRF(proc)(arg2, arg3))) return BOOL_F; | ^ eval.c:890:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | SCM scm_values(arg1, arg2, rest, what) | ^ eval.c:956:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | static void unpaint(p) | ^ eval.c:985:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | SCM m_quote(xorig, env, ctxt) | ^ eval.c:996:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | SCM m_begin(xorig, env, ctxt) | ^ eval.c:1006:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | static int constant_p(x) | ^ eval.c:1012:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | SCM m_if(xorig, env, ctxt) | ^ eval.c:1030:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | SCM m_set(xorig, env, ctxt) | ^ eval.c:1043:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | SCM m_and(xorig, env, ctxt) | ^ eval.c:1064:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | SCM m_or(xorig, env, ctxt) | ^ eval.c:1091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | SCM m_case(xorig, env, ctxt) | ^ eval.c:1150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | SCM m_cond(xorig, env, ctxt) | ^ eval.c:1179:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | static int varcheck(vars, op, what) | ^ eval.c:1209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | SCM m_lambda(xorig, env, ctxt) | ^ eval.c:1281:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | int scm_nullenv_p(env) | ^ eval.c:1299:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | static SCM m_letstar1(imm, vars, inits, body, env, ctxt) | ^ eval.c:1315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | SCM m_letstar(xorig, env, ctxt) | ^ eval.c:1339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | SCM m_do(xorig, env, ctxt) | ^ eval.c:1376:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | static SCM evalcar(x) | ^ eval.c:1384:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | static SCM iqq(form) | ^ eval.c:1405:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | static SCM m_iqq(form, depth, env, ctxt) | ^ eval.c:1465:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | SCM m_quasiquote(xorig, env, ctxt) | ^ eval.c:1474:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | SCM m_delay(xorig, env, ctxt) | ^ eval.c:1481:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | static int built_inp(name, x) | ^ eval.c:1500:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | static void checked_define(name, val, what) | ^ eval.c:1530:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | SCM m_define(xorig, env, ctxt) | ^ eval.c:1550:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | static SCM m_parse_let(imm, xorig, x, vars, inits) | ^ eval.c:1582:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | static SCM m_let_null(body, env, ctxt) | ^ eval.c:1594:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1594 | static SCM m_letrec1(imm, xorig, env, ctxt) | ^ eval.c:1606:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | SCM m_letrec(xorig, env, ctxt) | ^ eval.c:1612:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | SCM m_let(xorig, env, ctxt) | ^ eval.c:1639:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | SCM m_apply(xorig, env, ctxt) | ^ eval.c:1646:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | static SCM m_body(xorig, env, ctxt) | ^ eval.c:1687:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | static SCM m_binding(name, value, env, ctxt) | ^ eval.c:1694:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | static SCM m_bindings(names, values, env, ctxt) | ^ eval.c:1704:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | static SCM m_seq(x, env, ctxt) | ^ eval.c:1722:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | static SCM m_expr(x, env, ctxt) | ^ eval.c:1733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | SCM scm_check_linum(x, linum) | ^ eval.c:1744:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1744 | SCM scm_add_linum(linum, x) | ^ eval.c:1761:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | static SCM macroexp1(xorig, env, ctxt, mode) | ^ eval.c:1943:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | int badargsp(formals, args) | ^ eval.c:1955:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | int scm_arity_check(proc, argc, what) | ^ eval.c:2037:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | SCM ceval(x, static_env, env) | ^ eval.c:2052:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | SCM scm_eval_values(x, env, valenv) | ^ eval.c:2079:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2079 | SCM scm_apply_cxr(proc, arg1) | ^ eval.c:2131:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | static SCM ceval_1(x) | ^ eval.c:2464: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] 2464 | return SUBRF(proc) (UNDEFINED); | ^ eval.c:2466: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] 2466 | return SUBRF(proc)(EOL); | ^ eval.c:2470: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] 2470 | return SUBRF(proc)(UNDEFINED, UNDEFINED); | ^ eval.c:2553: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] 2553 | return SUBRF(proc)(arg1, UNDEFINED); | ^ eval.c:2556: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] 2556 | return SUBRF(proc)(arg1); | ^ eval.c:2562: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] 2562 | return SUBRF(proc)(arg1, UNDEFINED); | ^ eval.c:2564: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] 2564 | return SUBRF(proc)(cons(arg1, EOL)); | ^ eval.c:2641:20: 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] 2641 | return SUBRF(proc)(arg1, arg2); | ^ eval.c:2643:20: 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] 2643 | return SUBRF(proc)(cons2(arg1, arg2, EOL)); | ^ eval.c:2645:20: 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] 2645 | return SUBRF(proc)(arg1, arg2, EOL); | ^ eval.c:2648:20: 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] 2648 | return SUBRF(proc)(arg1, arg2); | ^ eval.c:2754:20: 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] 2754 | return SUBRF(proc)(arg1, arg2, arg3); | ^ eval.c:2760:20: 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] 2760 | return SUBRF(proc)(arg1, arg2, cons(arg3, x)); | ^ eval.c:2762:20: 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] 2762 | return SUBRF(proc)(cons2(arg1, arg2, cons(arg3, x))); | ^ eval.c:2825:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2825 | SCM procedurep(obj) | ^ eval.c:2839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | SCM l_proc_doc(proc) | ^ eval.c:2862:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2862 | SCM nconc2copy(lst) | ^ eval.c:2883:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2883 | SCM scm_cp_list(lst, minlen) | ^ eval.c:2898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2898 | SCM scm_v2lst(n, v, end) | ^ eval.c:2906:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2906 | SCM apply(proc, arg1, args) | ^ eval.c:2929: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] 2929 | return SUBRF(proc)(arg1, args); | ^ eval.c:2935: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] 2935 | return SUBRF(proc)(arg1, args); | ^ eval.c:2942: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] 2942 | return SUBRF(proc)(arg1); | ^ eval.c:2949: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] 2949 | return SUBRF(proc)(arg1, CAR(args), CAR(CDR(args))); | ^ eval.c:2951: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] 2951 | return SUBRF(proc)(UNBNDP(arg1) ? EOL : cons(arg1, args)); | ^ eval.c:2954: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] 2954 | return SUBRF(proc)(arg1, CAR(args), CDR(args)); | ^ eval.c:2956:40: 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] 2956 | if (NULLP(args)) return SUBRF(proc)(arg1, UNDEFINED); | ^ eval.c:2959: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] 2959 | arg1 = SUBRF(proc)(arg1, CAR(args)); | ^ eval.c:2967:29: 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] 2967 | if (FALSEP(SUBRF(proc)(arg1, CAR(args)))) return BOOL_F; | ^ eval.c:2999:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2999 | SCM scm_cvapply(proc, n, argv) | ^ eval.c:3010: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] 3010 | if (1==n) return SUBRF(proc)(argv[0], UNDEFINED); | ^ eval.c:3013: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] 3013 | return SUBRF(proc)(argv[0], argv[1]); | ^ eval.c:3017: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] 3017 | if (0==n) return SUBRF(proc)(UNDEFINED); | ^ eval.c:3020: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] 3020 | return SUBRF(proc)(argv[0]); | ^ eval.c:3024: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] 3024 | return SUBRF(proc)(argv[0], argv[1], argv[2]); | ^ eval.c:3026: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] 3026 | return SUBRF(proc)(0==n ? EOL : scm_v2lst(n, argv, EOL)); | ^ eval.c:3028: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] 3028 | return SUBRF(proc)(argv[0], argv[1], | ^ eval.c:3031: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] 3031 | if (1 >= n) return SUBRF(proc)(0==n ? UNDEFINED: argv[0], UNDEFINED); | ^ eval.c:3034: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] 3034 | res = SUBRF(proc)(res, argv[i]); | ^ eval.c:3039:29: 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] 3039 | if (FALSEP(SUBRF(proc)(argv[i], argv[i+1]))) return BOOL_F; | ^ eval.c:3082:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3082 | SCM map(proc, arg1, args) | ^ eval.c:3123:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 3123 | ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_map); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ eval.c:3131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | SCM for_each(proc, arg1, args) | ^ eval.c:3170:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 3170 | ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_for_each); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ eval.c:3182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3182 | SCM closure(code, argc) | ^ eval.c:3200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3200 | SCM makprom(code) | ^ eval.c:3209:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3209 | static int prinprom(exp, port, writing) | ^ eval.c:3222:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | static SCM makro(code, flags, what) | ^ eval.c:3236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3236 | SCM makacro(code) | ^ eval.c:3242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3242 | SCM makmacro(code) | ^ eval.c:3248:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3248 | SCM makmmacro(code) | ^ eval.c:3254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3254 | SCM makidmacro(code) | ^ eval.c:3296:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3296 | static int prinmacro(exp, port, writing) | ^ eval.c:3319:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3319 | static int prinenv(exp, port, writing) | ^ eval.c:3347:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3347 | SCM force(x) | ^ eval.c:3387:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3387 | SCM copytree(obj) | ^ eval.c:3406:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3406 | SCM eval(obj) | ^ eval.c:3414:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3414 | SCM definedp(xorig, env, ctxt) | ^ eval.c:3634:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3634 | SCM make_synt(name, flags, fcn) | ^ eval.c:3648:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3648 | SCM make_specfun(name, typ, flags) | ^ 125 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses subr.c -o subr.o subr.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | SCM lnot(x) | ^ subr.c:94:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | SCM booleanp(obj) | ^ subr.c:101:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | SCM eq(x, y) | ^ subr.c:108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | SCM consp(x) | ^ subr.c:114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | SCM setcar(pair, value) | ^ subr.c:121:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | SCM setcdr(pair, value) | ^ subr.c:128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | SCM nullp(x) | ^ subr.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | long ilength(sx) | ^ subr.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | SCM listp(x) | ^ subr.c:158:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | SCM list(objs) | ^ subr.c:163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | SCM length(x) | ^ subr.c:170:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | SCM append(args) | ^ subr.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | SCM reverse(lst) | ^ subr.c:209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | SCM list_ref(lst, k) | ^ subr.c:220:8: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 220 | erout: ASRTER(NIMP(lst) && CONSP(lst), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | NULLP(lst)?k:lst, NULLP(lst)?OUTOFRANGE:ARG1, s_list_ref); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ subr.c:224:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | SCM memq(x, lst) | ^ subr.c:234:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | SCM member(x, lst) | ^ subr.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | SCM assq(x, alist) | ^ subr.c:257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | SCM assoc(x, alist) | ^ subr.c:272:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | SCM promisep(x) | ^ subr.c:278:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | SCM symbolp(x) | ^ subr.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | SCM symbol2string(s) | ^ subr.c:290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | SCM string2symbol(s) | ^ subr.c:298:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | SCM exactp(x) | ^ subr.c:307:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | SCM oddp(n) | ^ subr.c:320:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | SCM evenp(n) | ^ subr.c:333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | SCM lquotient(x, y) | ^ subr.c:403:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | SCM lremainder(x, y) | ^ subr.c:444:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | SCM modulo(x, y) | ^ subr.c:481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | SCM lgcd(x, y) | ^ subr.c:539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | SCM llcm(n1, n2) | ^ subr.c:940:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | SCM scm_logior(x, y) | ^ subr.c:989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | SCM scm_logand(x, y) | ^ subr.c:993:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 993 | if (UNBNDP(x)) return MAKINUM(-1); | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1038:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | SCM scm_logxor(x, y) | ^ subr.c:1080:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | SCM scm_logtest(x, y) | ^ subr.c:1118:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | SCM scm_logbitp(index, j1) | ^ subr.c:1149:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | SCM scm_copybit(index, j1, bit) | ^ subr.c:1187:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | SCM scm_lognot(n) | ^ subr.c:1190:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1190 | return difference(MAKINUM(-1L), n); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1193:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | SCM scm_ash(n, cnt) | ^ subr.c:1223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | SCM scm_bitfield(n, start, end) | ^ subr.c:1263:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | SCM scm_bitif(mask, n0, n1) | ^ subr.c:1278:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | SCM scm_copybitfield(to, from, rest) | ^ subr.c:1315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | SCM scm_logcount(n) | ^ subr.c:1339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | SCM scm_intlength(n) | ^ subr.c:1363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | SCM charp(x) | ^ subr.c:1368:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | SCM char_lessp(x, y) | ^ subr.c:1375:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | SCM char_leqp(x, y) | ^ subr.c:1382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | SCM char_grp(x, y) | ^ subr.c:1389:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | SCM char_geqp(x, y) | ^ subr.c:1396:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | SCM chci_eq(x, y) | ^ subr.c:1403:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | SCM chci_lessp(x, y) | ^ subr.c:1410:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | SCM chci_leqp(x, y) | ^ subr.c:1417:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | SCM chci_grp(x, y) | ^ subr.c:1424:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | SCM chci_geqp(x, y) | ^ subr.c:1431:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | SCM char_alphap(chr) | ^ subr.c:1437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | SCM char_nump(chr) | ^ subr.c:1443:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | SCM char_whitep(chr) | ^ subr.c:1449:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | SCM char_upperp(chr) | ^ subr.c:1455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | SCM char_lowerp(chr) | ^ subr.c:1461:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | SCM char2int(chr) | ^ subr.c:1467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1467 | SCM int2char(n) | ^ subr.c:1475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | SCM char_upcase(chr) | ^ subr.c:1481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | SCM char_downcase(chr) | ^ subr.c:1488:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | SCM stringp(x) | ^ subr.c:1494:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | SCM string(chrs) | ^ subr.c:1509:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | SCM make_string(k, chr) | ^ subr.c:1525:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | SCM st_length(str) | ^ subr.c:1531:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | SCM st_ref(str, k) | ^ subr.c:1539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | SCM st_set(str, k, chr) | ^ subr.c:1549:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | SCM st_equal(s1, s2) | ^ subr.c:1563:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | SCM stci_equal(s1, s2) | ^ subr.c:1577:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | SCM st_lessp(s1, s2) | ^ subr.c:1597:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | SCM st_leqp(s1, s2) | ^ subr.c:1602:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1602 | SCM st_grp(s1, s2) | ^ subr.c:1607:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | SCM st_geqp(s1, s2) | ^ subr.c:1612:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | SCM stci_lessp(s1, s2) | ^ subr.c:1632:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | SCM stci_leqp(s1, s2) | ^ subr.c:1637:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | SCM stci_grp(s1, s2) | ^ subr.c:1642:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | SCM stci_geqp(s1, s2) | ^ subr.c:1647:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | SCM substring(str, start, end) | ^ subr.c:1660:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | SCM st_append(args) | ^ subr.c:1684:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | SCM vectorp(x) | ^ subr.c:1690:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | SCM vector_length(v) | ^ subr.c:1696:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | SCM vector(l) | ^ subr.c:1708:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1708 | SCM vector_ref(v, k) | ^ subr.c:1716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | SCM vector_set(v, k, obj) | ^ subr.c:1726:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | SCM make_vector(k, fill) | ^ subr.c:2225:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2225 | void init_iprocs(subra, type) | ^ 90 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses unif.c -o unif.o unif.c:69:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | SCM resizuve(vect, len) | ^ unif.c:2191:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2191 | int raprin1(exp, port, writing) | ^ unif.c:2199:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2199 | SCM istr2bve(str, len) | ^ unif.c:2206:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | SCM array_equal(ra0, ra1) | ^ 4 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses rope.c -o rope.o rope.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | SCM long2num(sl) | ^ rope.c:65:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | SCM ulong2num(sl) | ^ rope.c:83:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | unsigned char num2uchar(num, pos, s_caller) | ^ rope.c:91:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | unsigned short num2ushort(num, pos, s_caller) | ^ rope.c:99:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | unsigned long num2ulong(num, pos, s_caller) | ^ rope.c:129:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 129 | } | ^ rope.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | long num2long(num, pos, s_caller) | ^ rope.c:161:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 161 | } | ^ rope.c:162:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | short num2short(num, pos, s_caller) | ^ rope.c:170:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 170 | } | ^ rope.c:171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | signed char num2char(num, pos, s_caller) | ^ rope.c:179:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 179 | } | ^ rope.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | SCM makfromstr(src, len) | ^ rope.c:208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | SCM makfrom0str(src) | ^ rope.c:216:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | SCM makfromstrs(argc, argv) | ^ rope.c:228:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | char **makargvfrmstrs(args, s_name) | ^ rope.c:248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | void must_free_argv(argv) | ^ rope.c:253:15: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 253 | must_free(argv[i], 1+strlen(argv[i])); | ^~~~~~~ ./scm.h:720:36: note: passing argument to parameter 'obj' here 720 | SCM_EXPORT void must_free P((char *obj, sizet len)); | ^ rope.c:259:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | SCM scm_evstr(str) | ^ rope.c:268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | void scm_ldstr(str) | ^ rope.c:277:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | int scm_ldfile(path) | ^ rope.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | int scm_ldprog(path) | ^ rope.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | int scm_cell_p(x) | ^ rope.c:436:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | SCM scm_gc_protect(obj) | ^ 24 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses continue.c -o continue.o continue.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | long stack_size(start) | ^ continue.c:88:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | CONTINUATION *make_root_continuation(stack_base) | ^ continue.c:111:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | CONTINUATION *make_continuation(parent_cont) | ^ continue.c:146:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | void free_continuation(cont) | ^ continue.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void dynthrow(a) | ^ continue.c:254:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | void throw_to_continuation(cont, val, root_cont) | ^ 6 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses findexec.c -o findexec.o findexec.c:65:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | static char *copy_of(s) | ^ findexec.c:83:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | char *dld_find_executable(name) | ^ 2 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses script.c -o script.o script.c:71:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | char *scm_cat_path(str1, str2, n) | ^ script.c:92:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | char *scm_try_path(path) | ^ script.c:107:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | char *scm_sep_init_try(path, sep, initname) | ^ script.c:168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | char *find_impl_file(exec_path, generic_name, initname, sep) | ^ script.c:173:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 173 | char *extptr = exec_path + strlen(exec_path); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ script.c:189:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 189 | extptr = exec_path + strlen(exec_path); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ script.c:305:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | char *script_read_arg(f) | ^ script.c:363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | int script_meta_arg_P(arg) | ^ script.c:378:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | char **script_process_argv(argc, argv) | ^ script.c:386:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 386 | nargv[0] = argv[0]; | ^ ~~~~~~~ script.c:401:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 401 | nargv[nargi++] = argv[argi++]; | ^ ~~~~~~~~~~~~ script.c:404:39: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 404 | while (argi <= argc) nargv[nargi++] = argv[argi++]; | ^ ~~~~~~~~~~~~ script.c:408:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | int script_count_argv(argv) | ^ 13 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses debug.c -o debug.o debug.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | SCM scm_env_rlookup(addr, stenv, what) | ^ debug.c:109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | SCM scm_env_addprop(prop, val, env) | ^ debug.c:116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | SCM scm_env_getprop(prop, env) | ^ debug.c:133:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | static SCM prinhead(x, port, writing) | ^ debug.c:143:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | static void prinbindings(names, inits, init_env, | ^ debug.c:167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | void scm_princode(code, env, port, writing) | ^ debug.c:313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | void scm_princlosure(proc, port, writing) | ^ debug.c:347:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | SCM scm_int2linum(n) | ^ debug.c:356:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | SCM scm_linum2int(linum) | ^ debug.c:363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | SCM scm_linump(obj) | ^ debug.c:370:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | SCM scm_remove_linums(x) | ^ debug.c:403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | long num_frames(estk, i) | ^ debug.c:416:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | SCM *estk_frame(estk, i, nf) | ^ debug.c:434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | SCM stacktrace1(estk, i) | ^ debug.c:470:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | SCM *cont_frame(contin, nf) | ^ debug.c:482:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | SCM scm_stack_trace(contin) | ^ debug.c:503:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | SCM scm_frame_trace(contin, nf) | ^ debug.c:520:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | SCM scm_frame2env(contin, nf) | ^ debug.c:533:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | SCM scm_frame_eval(contin, nf, expr) | ^ debug.c:553:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | SCM scm_scope_trace(env) | ^ debug.c:620:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | SCM scm_env_annotation(var, stenv) | ^ debug.c:682:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | SCM scm_wrapcode(code, env) | ^ debug.c:692:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | static int princodeptr(exp, port, writing) | ^ 23 warnings generated. clang -c -pipe -Os -DX11 -I/opt/pkg/include -I/opt/pkg/include/ncurses scmmain.c -o scmmain.o scmmain.c:73:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | char *scm_find_implpath(execpath) | ^ scmmain.c:133:32: warning: assigning to 'const char **' from 'const char *const[1]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 133 | if (0==argc) {argc = 1; argv = generic_name;} /* for macintosh */ | ^ ~~~~~~~~~~~~ scmmain.c:143:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 143 | script_arg = argv[2]; /* Save for scm_find_execpath() call */ | ^ ~~~~~~~ scmmain.c:144:31: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 144 | nargc = script_count_argv(nargv); | ^~~~~ ./scm.h:1092:51: note: passing argument to parameter 'argv' here 1092 | SCM_EXPORT int script_count_argv P((const char **argv)); | ^ scmmain.c:146:15: warning: assigning to 'char **' from 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 146 | else {nargv = argv; nargc = argc;} | ^ ~~~~ scmmain.c:148:39: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 148 | execpath = scm_find_execpath(nargc, nargv, script_arg); | ^~~~~ ./scm.h:798:69: note: passing argument to parameter 'argv' here 798 | SCM_EXPORT char *scm_find_execpath P((int argc, const char * const *argv, const char *script_arg)); | ^ scmmain.c:150:7: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | if (isatty(fileno(stdin)) && isatty(fileno(stdout))) | ^ scmmain.c:155:31: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 155 | scm_init_from_argv(nargc, nargv, script_arg, iverbose, buf0stdin); | ^~~~~ ./scm.h:791:69: note: passing argument to parameter 'argv' here 791 | SCM_EXPORT void scm_init_from_argv P((int argc, const char * const *argv, char *script_arg, | ^ scmmain.c:108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | int main(argc, argv) | ^ 9 warnings generated. clang -o scmlit scm.o time.o repl.o scl.o sys.o eval.o subr.o unif.o rope.o continue.o findexec.o script.o debug.o scmmain.o -lm /opt/pkg/bin/bmake checklit ./scmlit -fr4rstest.scm -e'(test-sc4)(test-delay)(gc)' -e '(or (null? errs) (quit 1))' SECTION(2 1) SECTION(3 4) # # # # # # # # # (#t #f #f #f #f #f #f #f #f)#t (#t #f #f #f #f #f #f #f #f)#f (#f #t #f #f #f #f #f #f #f)#\a (#f #f #t #f #f #f #f #f #f)() (#f #f #f #t #f #f #f #f #f)9739 (#f #f #f #f #t #f #f #f #f)(test) (#f #f #f #f #f #t #f #f #f)# (#f #f #f #f #f #f #t #f #f)"test" (#f #f #f #f #f #f #t #f #f)"" (#f #f #f #f #f #f #f #t #f)test (#f #f #f #f #f #f #f #f #t)#() (#f #f #f #f #f #f #f #f #t)#(a b c) SECTION(4 1 2) (quote (quote a)) ==> (quote a) (quote (quote a)) ==> (quote a) SECTION(4 1 3) (# 3 4) ==> 12 SECTION(4 1 4) (# "r4rstest.scm": (x) (+ x x)> 4) ==> 8 (# 7 10) ==> 3 (# "r4rstest.scm": (y) (+ x y)> 6) ==> 10 (# "r4rstest.scm": x x> 3 4 5 6) ==> (3 4 5 6) (# "r4rstest.scm": (x y . z) z> 3 4 5 6) ==> (5 6) SECTION(4 1 5) (if yes) ==> yes (if no) ==> no (if 1) ==> 1 SECTION(4 1 6) (define 3) ==> 3 (set! 5) ==> 5 SECTION(4 2 1) (cond greater) ==> greater (cond equal) ==> equal (cond 2) ==> 2 (case composite) ==> composite (case consonant) ==> consonant (and #t) ==> #t (and #f) ==> #f (and (f g)) ==> (f g) (and #t) ==> #t (or #t) ==> #t (or #t) ==> #t (or #f) ==> #f (or #f) ==> #f (or (b c)) ==> (b c) SECTION(4 2 2) (let 6) ==> 6 (let 35) ==> 35 (let* 70) ==> 70 (letrec #t) ==> #t (let 5) ==> 5 (let 34) ==> 34 (let 6) ==> 6 (let 34) ==> 34 (let* 7) ==> 7 (let* 34) ==> 34 (let* 8) ==> 8 (let* 34) ==> 34 (letrec 9) ==> 9 (letrec 34) ==> 34 (letrec 10) ==> 10 (letrec 34) ==> 34 SECTION(4 2 3) (begin 6) ==> 6 SECTION(4 2 4) (do #(0 1 2 3 4)) ==> #(0 1 2 3 4) (do 25) ==> 25 (let 1) ==> 1 (let ((6 1 3) (-5 -2))) ==> ((6 1 3) (-5 -2)) (let -1) ==> -1 SECTION(4 2 6) (quasiquote (list 3 4)) ==> (list 3 4) (quasiquote (list a (quote a))) ==> (list a (quote a)) (quasiquote (a 3 4 5 6 b)) ==> (a 3 4 5 6 b) (quasiquote ((foo 7) . cons)) ==> ((foo 7) . cons) (quasiquote #(10 5 2 4 3 8)) ==> #(10 5 2 4 3 8) (quasiquote 5) ==> 5 (quasiquote (a (quasiquote (b (unquote (+ 1 2)) (unquote (foo 4 d)) e)) f)) ==> (a (quasiquote (b (unquote (+ 1 2)) (unquote (foo 4 d)) e)) f) (quasiquote (a (quasiquote (b (unquote x) (unquote (quote y)) d)) e)) ==> (a (quasiquote (b (unquote x) (unquote (quote y)) d)) e) (quasiquote (list 3 4)) ==> (list 3 4) (quasiquote (quasiquote (list (unquote (+ 1 2)) 4))) ==> (quasiquote (list (unquote (+ 1 2)) 4)) SECTION(5 2 1) (tprint #t) ==> #t (define 6) ==> 6 (define 1) ==> 1 (# 6) ==> (3 6) (# 6) ==> 9 SECTION(5 2 2) (define 45) ==> 45 (#) ==> 5 (define 34) ==> 34 (#) ==> 5 (define 34) ==> 34 (# 88) ==> 88 (# 4) ==> 4 (define 34) ==> 34 (internal-define 99) ==> 99 (internal-define 77) ==> 77 SECTION(6 1) (# #t) ==> #f (# 3) ==> #f (# (3)) ==> #f (# #f) ==> #t (# ()) ==> #f (# ()) ==> #f (# nil) ==> #f SECTION(6 2) (# a a) ==> #t (# a b) ==> #f (# 2 2) ==> #t (# () ()) ==> #t (# 10000 10000) ==> #t (# (1 . 2) (1 . 2)) ==> #f (# # "r4rstest.scm": () 1> # "r4rstest.scm": () 2>) ==> #f (# #f nil) ==> #f (# # #) ==> #t (# # "r4rstest.scm": () (set! n (+ n 1)) n> # "r4rstest.scm": () (set! n (+ n 1)) n>) ==> #t (# # "r4rstest.scm": () (set! n (+ n 1)) n> # "r4rstest.scm": () (set! n (+ n 1)) n>) ==> #f (# # #) ==> #f (# a a) ==> #t (# (a) (a)) ==> #f (# () ()) ==> #t (# # #) ==> #t (# (a) (a)) ==> #t (# #() #()) ==> #t (# # #) ==> #t (# a a) ==> #t (# (a) (a)) ==> #t (# (a (b) c) (a (b) c)) ==> #t (# "abc" "abc") ==> #t (# 2 2) ==> #t (# #(a a a a a) #(a a a a a)) ==> #t SECTION(6 3) (dot (a b c d e)) ==> (a b c d e) (# (a b c)) ==> #t (set-cdr! (a . 4)) ==> (a . 4) (# (a . 4) (a . 4)) ==> #t (dot (a b c . d)) ==> (a b c . d) (# (a . 4)) ==> #f (list? #f) ==> #f (# a ()) ==> (a) (# (a) (b c d)) ==> ((a) b c d) (# "a" (b c)) ==> ("a" b c) (# a 3) ==> (a . 3) (# (a b) c) ==> ((a b) . c) (# (a b c)) ==> a (# ((a) b c d)) ==> (a) (# (1 . 2)) ==> 1 (# ((a) b c d)) ==> (b c d) (# (1 . 2)) ==> 2 (# a 7 c) ==> (a 7 c) (#) ==> () (# (a b c)) ==> 3 (# (a (b) (c d e))) ==> 3 (# ()) ==> 0 (# (x) (y)) ==> (x y) (# (a) (b c d)) ==> (a b c d) (# (a (b)) ((c))) ==> (a (b) (c)) (#) ==> () (# (a b) (c . d)) ==> (a b c . d) (# () a) ==> a (# (a b c)) ==> (c b a) (# (a (b c) d (e (f)))) ==> ((e (f)) d (b c) a) (# (a b c d) 2) ==> c (# a (a b c)) ==> (a b c) (# b (a b c)) ==> (b c) (# a (b c d)) ==> #f (# (a) (b (a) c)) ==> #f (# (a) (b (a) c)) ==> ((a) c) (# 101 (100 101 102)) ==> (101 102) (# a ((a 1) (b 2) (c 3))) ==> (a 1) (# b ((a 1) (b 2) (c 3))) ==> (b 2) (# d ((a 1) (b 2) (c 3))) ==> #f (# (a) (((a)) ((b)) ((c)))) ==> #f (# (a) (((a)) ((b)) ((c)))) ==> ((a)) (# 5 ((2 3) (5 7) (11 13))) ==> (5 7) SECTION(6 4) (# a) ==> #t (standard-case #t) ==> #t (standard-case #t) ==> #t (#string> flying-fish) ==> "flying-fish" (#string> martin) ==> "martin" (#string> \Malvina) ==> "Malvina" (standard-case #t) ==> #t (string-set! "cb") ==> "cb" (#string> ab) ==> "ab" (#symbol> "ab") ==> ab (# mississippi mississippi) ==> #t (string->symbol #f) ==> #f (#symbol> "jollywog") ==> jollywog SECTION(6 5 5) (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #t (# 3) ==> #f (# 0 0) ==> 1 (# 0 1) ==> 0 (# 0 256) ==> 0 (# -1 256) ==> 1 (# -1 255) ==> -1 (# -1 -256) ==> 1 (# -1 -255) ==> -1 (# 256 0) ==> 1 (# -256 0) ==> 1 (# 256 1) ==> 256 (# -256 1) ==> -256 (# 2 3) ==> 8 (# -2 3) ==> -8 (# 3 2) ==> 9 (# -3 2) ==> 9 (# 22 22 22) ==> #t (# 22 22) ==> #t (# 34 34 35) ==> #f (# 34 35) ==> #f (#> 3 -6246) ==> #t (#> 9 9 -2424) ==> #f (#=> 3 -4 -6246) ==> #t (#=> 9 9) ==> #t (#=> 8 9) ==> #f (# -1 2 3 4 5 6 7 8) ==> #t (# -1 2 3 4 4 5 6 7) ==> #f (# -1 2 3 4 5 6 7 8) ==> #t (# -1 2 3 4 4 5 6 7) ==> #t (# 1 3 2) ==> #f (#=> 1 3 2) ==> #f (# 0) ==> #t (# 1) ==> #f (# -1) ==> #f (# -100) ==> #f (# 4) ==> #t (# -4) ==> #f (# 0) ==> #f (# 4) ==> #f (# -4) ==> #t (# 0) ==> #f (# 3) ==> #t (# 2) ==> #f (# -4) ==> #f (# -1) ==> #t (# 3) ==> #f (# 2) ==> #t (# -4) ==> #t (# -1) ==> #f (# 34 5 7 38 6) ==> 38 (# 3 5 5 330 4 -24) ==> -24 (# 3 4) ==> 7 (# 3) ==> 3 (#) ==> 0 (# 4) ==> 4 (#) ==> 1 (# 3 4) ==> -1 (# 3) ==> -3 (# -7) ==> 7 (# 7) ==> 7 (# 0) ==> 0 (# 35 7) ==> 5 (# -35 7) ==> -5 (# 35 -7) ==> -5 (# -35 -7) ==> 5 (# 13 4) ==> 1 (# 13 4) ==> 1 (# -13 4) ==> 3 (# -13 4) ==> -1 (# 13 -4) ==> -3 (# 13 -4) ==> 1 (# -13 -4) ==> -1 (# -13 -4) ==> -1 (# 0 86400) ==> 0 (# 0 -86400) ==> 0 (# 238 9) ==> #t (# -238 9) ==> #t (# 238 -9) ==> #t (# -238 -9) ==> #t (# 0 4) ==> 4 (# -4 0) ==> 4 (# 32 -36) ==> 4 (#) ==> 0 (# 32 -36) ==> 288 (#) ==> 1 SECTION(6 5 5) (#number "r4rstest.scm": (str) (#@define ((ans (string->number str))) (cond ((not ans) #t) ((number? ans) #t) (else ans)))> "+#.#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-#.#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#.#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "1/0") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-1/0") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "0/0") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "+1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "0/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "0/0-0/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "1/0-1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-1/0+1/0i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#i") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#e") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#") ==> #t (#number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str))) (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#i0/0") ==> #t SECTION(6 5 9) (#string> 0) ==> "0" (#string> 100) ==> "100" (#string> 256 16) ==> "100" (#number> "100") ==> 100 (#number> "100" 16) ==> 256 (#number> "") ==> #f (#number> ".") ==> #f (#number> "d") ==> #f (#number> "D") ==> #f (#number> "i") ==> #f (#number> "I") ==> #f (#number> "3i") ==> #f (#number> "3I") ==> #f (#number> "33i") ==> #f (#number> "33I") ==> #f (#number> "3.3i") ==> #f (#number> "3.3I") ==> #f (#number> "-") ==> #f (#number> "+") ==> #f (string->number #t) ==> #t (string->number #t) ==> #t SECTION(6 6) (# #\space #\space) ==> #t (# #\space #\space) ==> #t (# #\a) ==> #t (# #\() ==> #t (# #\space) ==> #t (# #\nl) ==> #t (# #\A #\B) ==> #f (# #\a #\b) ==> #f (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (# #\A #\B) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #f (#?> #\A #\B) ==> #f (#?> #\a #\b) ==> #f (#?> #\9 #\0) ==> #t (#?> #\A #\A) ==> #f (# #\A #\B) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (#=?> #\A #\B) ==> #f (#=?> #\a #\b) ==> #f (#=?> #\9 #\0) ==> #t (#=?> #\A #\A) ==> #t (# #\A #\B) ==> #f (# #\a #\B) ==> #f (# #\A #\b) ==> #f (# #\a #\b) ==> #f (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (# #\A #\a) ==> #t (# #\A #\B) ==> #t (# #\a #\B) ==> #t (# #\A #\b) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #f (# #\A #\a) ==> #f (#?> #\A #\B) ==> #f (#?> #\a #\B) ==> #f (#?> #\A #\b) ==> #f (#?> #\a #\b) ==> #f (#?> #\9 #\0) ==> #t (#?> #\A #\A) ==> #f (#?> #\A #\a) ==> #f (# #\A #\B) ==> #t (# #\a #\B) ==> #t (# #\A #\b) ==> #t (# #\a #\b) ==> #t (# #\9 #\0) ==> #f (# #\A #\A) ==> #t (# #\A #\a) ==> #t (#=?> #\A #\B) ==> #f (#=?> #\a #\B) ==> #f (#=?> #\A #\b) ==> #f (#=?> #\a #\b) ==> #f (#=?> #\9 #\0) ==> #t (#=?> #\A #\A) ==> #t (#=?> #\A #\a) ==> #t (# #\a) ==> #t (# #\A) ==> #t (# #\z) ==> #t (# #\Z) ==> #t (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #f (# #\;) ==> #f (# #\a) ==> #f (# #\A) ==> #f (# #\z) ==> #f (# #\Z) ==> #f (# #\0) ==> #t (# #\9) ==> #t (# #\space) ==> #f (# #\;) ==> #f (# #\a) ==> #f (# #\A) ==> #f (# #\z) ==> #f (# #\Z) ==> #f (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #t (# #\;) ==> #f (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #f (# #\;) ==> #f (# #\0) ==> #f (# #\9) ==> #f (# #\space) ==> #f (# #\;) ==> #f (#char> 46) ==> #\. (#char> 65) ==> #\A (#char> 97) ==> #\a (# #\A) ==> #\A (# #\a) ==> #\A (# #\A) ==> #\a (# #\a) ==> #\a SECTION(6 7) (# "The word \"recursion\\\" has many meanings.") ==> #t (string-set! "?**") ==> "?**" (# #\a #\b #\c) ==> "abc" (#) ==> "" (# "abc") ==> 3 (# "abc" 0) ==> #\a (# "abc" 2) ==> #\c (# "") ==> 0 (# "ab" 0 0) ==> "" (# "ab" 1 1) ==> "" (# "ab" 2 2) ==> "" (# "ab" 0 1) ==> "a" (# "ab" 1 2) ==> "b" (# "ab" 0 2) ==> "ab" (# "foo" "bar") ==> "foobar" (# "foo") ==> "foo" (# "foo" "") ==> "foo" (# "" "foo") ==> "foo" (#) ==> "" (# 0) ==> "" (# "" "") ==> #t (# "" "") ==> #f (#?> "" "") ==> #f (# "" "") ==> #t (#=?> "" "") ==> #t (# "" "") ==> #t (# "" "") ==> #f (#?> "" "") ==> #f (# "" "") ==> #t (#=?> "" "") ==> #t (# "A" "B") ==> #f (# "a" "b") ==> #f (# "9" "0") ==> #f (# "A" "A") ==> #t (# "A" "B") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #f (#?> "A" "B") ==> #f (#?> "a" "b") ==> #f (#?> "9" "0") ==> #t (#?> "A" "A") ==> #f (# "A" "B") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #t (#=?> "A" "B") ==> #f (#=?> "a" "b") ==> #f (#=?> "9" "0") ==> #t (#=?> "A" "A") ==> #t (# "A" "B") ==> #f (# "a" "B") ==> #f (# "A" "b") ==> #f (# "a" "b") ==> #f (# "9" "0") ==> #f (# "A" "A") ==> #t (# "A" "a") ==> #t (# "A" "B") ==> #t (# "a" "B") ==> #t (# "A" "b") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #f (# "A" "a") ==> #f (#?> "A" "B") ==> #f (#?> "a" "B") ==> #f (#?> "A" "b") ==> #f (#?> "a" "b") ==> #f (#?> "9" "0") ==> #t (#?> "A" "A") ==> #f (#?> "A" "a") ==> #f (# "A" "B") ==> #t (# "a" "B") ==> #t (# "A" "b") ==> #t (# "a" "b") ==> #t (# "9" "0") ==> #f (# "A" "A") ==> #t (# "A" "a") ==> #t (#=?> "A" "B") ==> #f (#=?> "a" "B") ==> #f (#=?> "A" "b") ==> #f (#=?> "a" "b") ==> #f (#=?> "9" "0") ==> #t (#=?> "A" "A") ==> #t (#=?> "A" "a") ==> #t SECTION(6 8) (# #(0 (2 2 2 2) "Anna")) ==> #t (# a b c) ==> #(a b c) (#) ==> #() (# #(0 (2 2 2 2) "Anna")) ==> 3 (# #()) ==> 0 (# #(1 1 2 3 5 8 13 21) 5) ==> 8 (vector-set #(0 ("Sue" "Sue") "Anna")) ==> #(0 ("Sue" "Sue") "Anna") (# 2 hi) ==> #(hi hi) (# 0) ==> #() (# 0 a) ==> #() SECTION(6 9) (# #) ==> #t (# # "r4rstest.scm": (x) (* x x)>) ==> #t (# (lambda (x) (* x x))) ==> #f (# #) ==> #t (# # (3 4)) ==> 7 (# # "r4rstest.scm": (a b) (+ a b)> (3 4)) ==> 7 (# # 10 (3 4)) ==> 17 (# # ()) ==> () (# "r4rstest.scm": args (f (apply g args))> 12 75) ==> 30 (# # ((a b) (d e) (g h))) ==> (b e h) (# # (1 2 3) (4 5 6)) ==> (5 7 9) (# # (1 2 3)) ==> (1 2 3) (# # (1 2 3)) ==> (1 2 3) (# # (1 2 3)) ==> (-1 -2 -3) (for-each #(0 1 4 9 16)) ==> #(0 1 4 9 16) (# # "r4rstest.scm": (exit) (for-each (lambda (x) (if (negative? x) (exit x))) (quote (54 0 37 -3 245 19))) #t>) ==> -3 (# (1 2 3 4)) ==> 4 (# (a b . c)) ==> #f (# # ()) ==> () SECTION(6 10 1) (# #) ==> #t (# #) ==> #t (# "r4rstest.scm" #) ==> #t (# #) ==> #t SECTION(6 10 2) (# #) ==> #\; (# #) ==> #\; (# #) ==> (define cur-section (quote ())) (# #) ==> #\( (# #) ==> (define errs (quote ())) SECTION(6 10 3) (# "tmp1" # "r4rstest.scm": (test-file) (write-char #\; test-file) (display #\; test-file) (display ";" test-file) (write write-test-obj test-file) (newline test-file) (write load-test-obj test-file) (output-port? test-file)>) ==> #t (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) (# #) ==> #t (# #) ==> #t (input-port? #t) ==> #t (# #) ==> #\; (# #) ==> #\; (# #) ==> #\; (# #) ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)) (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) (# #) ==> #t (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) (# #) ==> #t (# #) ==> #t (input-port? #t) ==> #t (# #) ==> #\; (# #) ==> #\; (# #) ==> #\; (# #) ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)) (# #) ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)))) Passed all tests To fully test continuations, Scheme 4, and DELAY/FORCE do: (test-cont) (test-sc4) (test-delay) ;testing scheme 4 functions; SECTION(6 7) (#list> "P l") ==> (#\P #\space #\l) (#list> "") ==> () (#string> (#\1 #\\ #\")) ==> "1\\\"" (#string> ()) ==> "" SECTION(6 8) (#list> #(dah dah didah)) ==> (dah dah didah) (#list> #()) ==> () (#vector> (dididit dah)) ==> #(dididit dah) (#vector> ()) ==> #() SECTION(6 10 4) (load (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c))) ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c)) Passed all tests ;testing DELAY and FORCE; SECTION(6 9) (delay 3) ==> 3 (delay (3 3)) ==> (3 3) (delay 2) ==> 2 (# # count x) count (force p)))>>) ==> 6 (# #) ==> 6 (force 3) ==> 3 Passed all tests echo "-F cautious bignums arrays inexact" >> libscm.opt echo "-F engineering-notation" >> libscm.opt echo "-F dynamic-linking" >> libscm.opt ./build -hsystem -t lib -f libscm.opt ; Scheme (unix) script created by SLIB/batch ; [-p darwin] ; used options from: libscm.opt ; ================ Write file with C defines (delete-file "scmflags.h") (call-with-output-file "scmflags.h" (lambda (fp) (for-each (lambda (string) (write-line string fp)) '("#define IMPLINIT \"Init5e3.scm\"" "#define CAUTIOUS" "#define BIGNUMS" "#define ARRAYS" "#define FLOATS" "#define ENGNOT")))) ; ================ Compile C source files (system "cc -O3 -c dynl.c continue.c scm.c findexec.c script.c time.c repl.c scl.c eval.c sys.c subr.c debug.c unif.c rope.c") continue.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | long stack_size(start) | ^ continue.c:88:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | CONTINUATION *make_root_continuation(stack_base) | ^ continue.c:111:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | CONTINUATION *make_continuation(parent_cont) | ^ continue.c:146:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | void free_continuation(cont) | ^ continue.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void dynthrow(a) | ^ continue.c:228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | void grow_throw(a) /* Grow the stack so that there is room */ | ^ continue.c:254:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | void throw_to_continuation(cont, val, root_cont) | ^ 7 warnings generated. scm.c:197:17: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 197 | wta(UNDEFINED, (char *)i, ""); | ^~~~~~~~~ scm.c:280:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 280 | wta(MAKINUM(sig), (i < 0 ? s_unksig : (char *)(i + SIGNAL_BASE)), ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~ scm.c:273:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | static SIGRETTYPE err_signal(sig) | ^ scm.c:312:22: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 312 | wta(UNDEFINED, (char *)i, ""); | ^~~~~~~~~ scm.c:283:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | static SIGRETTYPE scmable_signal(sig) | ^ scm.c:345:15: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | SYSCALL(j = alarm(INUM(i));); | ^ scm.c:340:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | SCM lalarm(i) | ^ scm.c:354:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | SCM scm_setitimer(which, value, interval) | ^ scm.c:390:3: warning: call to undeclared function 'pause'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | pause(); | ^ scm.c:419:15: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | SYSCALL(j = sleep(INUM(i));); | ^ scm.c:405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | SCM l_sleep(i) | ^ scm.c:475:15: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | return kill(getpid (), (int)INUM(sig)) ? BOOL_F : BOOL_T; | ^ scm.c:467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | SCM l_raise(sig) | ^ scm.c:516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | void init_scm(iverbose, buf0stdin, init_heap_size) | ^ scm.c:549:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | static void init_sig1(scm_err, signo, handler) | ^ scm.c:582:3: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | alarm(0); /* kill any pending ALRM interrupts */ | ^ scm.c:679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | void scm_init_from_argv(argc, argv, script_arg, iverbose, buf0stdin) | ^ scm.c:705:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | void final_scm(freeall) | ^ scm.c:839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | int init_buf0(inport) | ^ scm.c:842:7: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 842 | if (isatty(fileno(inport))) { | ^ scm.c:866:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | SCM scm_execpath(newpath) | ^ scm.c:884:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | char *scm_find_execpath(argc, argv, script_arg) | ^ scm.c:924:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | SCM lsystem(cmd) | ^ scm.c:940: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] 940 | char *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 *); | ^ scm.c:941:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | SCM lgetenv(nam) | ^ scm.c:1014:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | void add_feature(str) | ^ 26 warnings generated. findexec.c:65:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | static char *copy_of(s) | ^ findexec.c:83:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | char *dld_find_executable(name) | ^ 2 warnings generated. script.c:71:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | char *scm_cat_path(str1, str2, n) | ^ script.c:92:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | char *scm_try_path(path) | ^ script.c:107:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | char *scm_sep_init_try(path, sep, initname) | ^ script.c:168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | char *find_impl_file(exec_path, generic_name, initname, sep) | ^ script.c:173:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 173 | char *extptr = exec_path + strlen(exec_path); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ script.c:189:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 189 | extptr = exec_path + strlen(exec_path); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ script.c:305:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | char *script_read_arg(f) | ^ script.c:363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | int script_meta_arg_P(arg) | ^ script.c:378:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | char **script_process_argv(argc, argv) | ^ script.c:386:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 386 | nargv[0] = argv[0]; | ^ ~~~~~~~ script.c:401:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 401 | nargv[nargi++] = argv[argi++]; | ^ ~~~~~~~~~~~~ script.c:404:39: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 404 | while (argi <= argc) nargv[nargi++] = argv[argi++]; | ^ ~~~~~~~~~~~~ script.c:408:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | int script_count_argv(argv) | ^ 13 warnings generated. time.c:334:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | int scm_ftime(time_buffer) | ^ time.c:367:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 367 | return MAKINUM(-1); | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ time.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | long time_in_msec(x) | ^ 3 warnings generated. repl.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void intprint(n, radix, port) | ^ repl.c:175:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | void ipruk(hdr, ptr, port) | ^ repl.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | void iprlist(hdr, exp, tlr, port, writing) | ^ repl.c:217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | void iprin1(exp, port, writing) | ^ repl.c:441:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | static int input_waiting(f) | ^ repl.c:470:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | SCM char_readyp(port) | ^ repl.c:513:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 513 | ASRTER(NIMP(port) && OPINPORTP(port) && (BUF0 & SCM_PORTFLAGS(port)), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514 | port, pos, s_wfi); | ~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ repl.c:495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | SCM wait_for_input(args) | ^ repl.c:588:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | SCM eof_objectp(x) | ^ repl.c:596:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | int scm_io_error(port, what) | ^ repl.c:627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | void lfflush(port) /* internal SCM call */ | ^ repl.c:636:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | SCM lflush(port) /* user accessible as force-output */ | ^ repl.c:650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | SCM lwrite(obj, port) | ^ repl.c:658:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | SCM display(obj, port) | ^ repl.c:666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | SCM newline(port) | ^ repl.c:675:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | SCM write_char(chr, port) | ^ repl.c:684:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | SCM scm_freshline(port) | ^ repl.c:695:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | void lputc(c, port) | ^ repl.c:715:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | void lputs(s, port) | ^ repl.c:739:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | sizet lfwrite(ptr, size, nitems, port) | ^ repl.c:766:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | int lgetc(port) | ^ repl.c:802:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | void lungetc(c, port) | ^ repl.c:816:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | SCM scm_read_char(port) | ^ repl.c:826:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | SCM peek_char(port) | ^ repl.c:838:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | char *grow_tok_buf(tok_buf) | ^ repl.c:847:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | static int flush_ws(port) | ^ repl.c:873:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | SCM scm_read(port) | ^ repl.c:879:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | SCM scm_read_for_load(port) | ^ repl.c:893:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | static SCM lread1(port, flgs, what) | ^ repl.c:911:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | static SCM lreadpr(tok_buf, port, flgs) | ^ repl.c:1068:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | static SCM lreadr(tok_buf, port, flgs) | ^ repl.c:1081:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | static SCM lread_rec(tok_buf, port) | ^ repl.c:1108:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | static sizet read_token(ic, tok_buf, port) | ^ repl.c:1153:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | static SCM lreadparen(tok_buf, port, flgs, name) | ^ repl.c:1186:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | SCM swapcar(pair, value) | ^ repl.c:1200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | SCM tryarb(arb) | ^ repl.c:1214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | SCM relarb(arb) | ^ repl.c:1222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | SCM makarb(name) | ^ repl.c:1231:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | static int prinarb(exp, port, writing) | ^ repl.c:1285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | int handle_it(i) | ^ repl.c:1291:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1291 | wta(UNDEFINED, (char *)i, ""); /* sends it to def_err_response */ | ^~~~~~~~~ repl.c:1345:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | SCM scm_top_level(initpath, toplvl_fun) | ^ repl.c:1392:8: warning: call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1392 | (isspace(initpath[0]) || ';'==initpath[0] || '('==initpath[0])) | ^ repl.c:1392:8: note: include the header or explicitly provide a declaration for 'isspace' repl.c:1472:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | SCM scm_port_line(port) | ^ repl.c:1490:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1490 | SCM scm_port_col(port) | ^ repl.c:1510:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | SCM scm_port_filename(port) | ^ repl.c:1527:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | void growth_mon(obj, size, units, grewp) | ^ repl.c:1546:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | void gc_start(what) | ^ repl.c:1623:37: warning: call to undeclared function 'sbrk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1623 | scm_dumped_brk = (unsigned long)sbrk(0); | ^ repl.c:1629:45: warning: call to undeclared function 'sbrk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1629 | unsigned long scm_curbrk = (unsigned long)sbrk(0), | ^ repl.c:1650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | SCM lroom(opt) | ^ repl.c:1692:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | SCM prolixity(arg) | ^ repl.c:1768:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1768 | SCM quit(n) | ^ repl.c:1849:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | SCM tryload(filename, reader) | ^ repl.c:1886:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | SCM scm_eval_string(str) | ^ repl.c:1899:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | SCM scm_load_string(str) | ^ repl.c:1918:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1918 | void scm_line_msg(file, linum, port) | ^ repl.c:1928:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | void scm_err_line(what, file, linum, port) | ^ repl.c:1947:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | static void err_head(str) | ^ repl.c:1971:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | void scm_warn(str1, str2, obj) | ^ repl.c:1989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | SCM lerrno(arg) | ^ repl.c:2000:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | SCM lperror(arg) | ^ repl.c:2054:47: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 2054 | lputc((long)err_pos <= ARGn ? ' ' : '1' + (int)err_pos - ARG1, cur_errp); | ^~~~~~~~~~~~ repl.c:2057:23: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 2057 | else lputs(errmsgs[((int)err_pos)-WNA].msg, cur_errp); | ^~~~~~~~~~~~ repl.c:2102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2102 | void everr(exp, env, arg, pos, s_subr, codep) | ^ repl.c:2110:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2110 | err_pos = pos; | ^ ~~~ repl.c:2111:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2111 | err_s_subr = s_subr; | ^ ~~~~~~ repl.c:2116:24: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] 2116 | COOKIE(1) : COOKIE((int)pos)); | ^~~~~~~~ ./scm.h:286:21: note: expanded from macro 'COOKIE' 286 | # define COOKIE(n) (n) | ^ repl.c:2119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | void wta(arg, pos, s_subr) | ^ repl.c:2129:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2129 | void scm_experr(arg, pos, s_subr) | ^ repl.c:2154:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | SCM set_inp(port) | ^ repl.c:2165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2165 | SCM set_outp(port) | ^ repl.c:2176:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | SCM set_errp(port) | ^ repl.c:2193:10: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2193 | return isatty(fileno(STREAM(port)))?BOOL_T:BOOL_F; | ^ repl.c:2188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2188 | SCM l_isatty(port) | ^ repl.c:2248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2248 | void init_repl( iverbose ) | ^ 76 warnings generated. scl.c:99:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | double dbl_prec(x) | ^ scl.c:113:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | static int apx_log10(x) | ^ scl.c:125:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | static double lpow10(x, n) | ^ scl.c:143:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | int inf2str(f, a) | ^ scl.c:171:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | static sizet idbl2str(f, a) | ^ scl.c:270:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | static sizet iflo2str(flt, str) | ^ scl.c:290:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | sizet iuint2str(num, rad, p) | ^ scl.c:308:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | sizet iint2str(num, rad, p) | ^ scl.c:320:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | static SCM big2str(b, radix) | ^ scl.c:359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | SCM number2string(x, radix) | ^ scl.c:396:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | int floprint(sexp, port, writing) | ^ scl.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | int bigprint(exp, port, writing) | ^ scl.c:430:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | SCM istr2int(str, len, radix) | ^ scl.c:542:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | static long scm_twos_power(n) | ^ scl.c:568:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | SCM istr2flo(str, len, radix) | ^ scl.c:777:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | SCM istring2number(str, len, radix) | ^ scl.c:815:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | SCM string2number(str, radix) | ^ scl.c:826:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | SCM makdbl (x, y) | ^ scl.c:866:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | SCM eqv(x, y) | ^ scl.c:884:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | SCM memv(x, lst) /* m.borza 12.2.91 */ | ^ scl.c:897:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | SCM assv(x, alist) /* m.borza 12.2.91 */ | ^ scl.c:915:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | SCM list_tail(lst, k) | ^ scl.c:928:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | SCM string2list(str) | ^ scl.c:939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | SCM string_copy(str) | ^ scl.c:945:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | SCM string_fill(str, chr) | ^ scl.c:957:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | SCM vector2list(v) | ^ scl.c:968:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | SCM vector_fill(v, fill) | ^ scl.c:978:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | static SCM vector_equal(x, y) | ^ scl.c:987:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | SCM bigequal(x, y) | ^ scl.c:995:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | SCM floequal(x, y) | ^ scl.c:1004:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | SCM equal(x, y) | ^ scl.c:1034:29: 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] 1034 | if (pred) return (*pred)(x, y); | ^ scl.c:1040:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | SCM numberp(obj) | ^ scl.c:1054:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | SCM scm_complex_p(obj) | ^ scl.c:1062:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | int scm_bigdblcomp(b, d) | ^ scl.c:1071:12: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'int *' [-Wincompatible-pointer-types] 1071 | frexp(d, &dlen); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/math.h:407:34: note: passing argument to parameter here 407 | extern double frexp(double, int *); | ^ scl.c:1084:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | SCM realp(x) | ^ scl.c:1095:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | SCM scm_rationalp(x) | ^ scl.c:1110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | SCM intp(x) | ^ scl.c:1128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | SCM inexactp(x) | ^ scl.c:1137:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | SCM eqp(x, y) | ^ scl.c:1211:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | SCM lessp(x, y) | ^ scl.c:1280:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | SCM greaterp(x, y) | ^ scl.c:1285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | SCM leqp(x, y) | ^ scl.c:1290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | SCM greqp(x, y) | ^ scl.c:1295:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | SCM zerop(z) | ^ scl.c:1324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | SCM positivep(x) | ^ scl.c:1353:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | SCM negativep(x) | ^ scl.c:1384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | SCM lmax(x, y) | ^ scl.c:1468:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | SCM lmin(x, y) | ^ scl.c:1552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | SCM sum(x, y) | ^ scl.c:1667:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1667 | SCM difference(x, y) | ^ scl.c:1799:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | SCM product(x, y) | ^ scl.c:1947:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | SCM divide(x, y) | ^ scl.c:2041:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2041 | if ((MAKINUM(1L)==x) || (MAKINUM(-1L)==x)) return x; | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ scl.c:2150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2150 | SCM scm_intexpt(z1, z2) | ^ scl.c:2179:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2179 | else goto overflow; | ^ scl.c:2161:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2161 | if (MAKINUM(-1L)==z1) return BOOL_F==evenp(z2)?z1:acc; | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ scl.c:2257:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2257 | double scm_truncate(x) | ^ scl.c:2264:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | double scm_round(x) | ^ scl.c:2276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2276 | void two_doubles(z1, z2, sstring, xy) | ^ scl.c:2317:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | SCM expt(z1, z2) | ^ scl.c:2324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | SCM latan2(z1, z2) | ^ scl.c:2331:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2331 | SCM makrect(z1, z2) | ^ scl.c:2338:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2338 | SCM makpolar(z1, z2) | ^ scl.c:2346:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | SCM real_part(z) | ^ scl.c:2364:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2364 | SCM imag_part(z) | ^ scl.c:2382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2382 | SCM scm_abs(z) | ^ scl.c:2395:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2395 | SCM scm_magnitude(z) | ^ scl.c:2423:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2423 | SCM angle(z) | ^ scl.c:2445:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2445 | SCM ex2in(z) | ^ scl.c:2455:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2455 | } | ^ scl.c:2456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2456 | SCM in2ex(z) | ^ scl.c:2502:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2502 | SCM scm_iabs(x) | ^ scl.c:2527:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2527 | SCM dbl2big(d) | ^ scl.c:2547:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2547 | double big2dbl(b) | ^ scl.c:2557:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2557 | static double big2scaldbl(b, expt) | ^ scl.c:2580:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2580 | static SCM bigdblop(op, b, re, im) | ^ scl.c:2614:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2614 | static SCM inex_divbigbig(a, b) | ^ scl.c:2636:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2636 | SCM scm_dfloat_parts(f) | ^ scl.c:2650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2650 | SCM scm_make_dfloat(mant, expt) | ^ scl.c:2661:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2661 | SCM scm_next_dfloat(f1, f2) | ^ scl.c:2695:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2695 | unsigned long hasher(obj, n, d) | ^ scl.c:2771:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2771 | SCM hash(obj, n) | ^ scl.c:2779:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | SCM hashv(obj, n) | ^ scl.c:2789:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2789 | SCM hashq(obj, n) | ^ scl.c:2917:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2917 | static void safe_add_1(f, fsum) | ^ 87 warnings generated. eval.c:404:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | SCM *ilookup(iloc) | ^ eval.c:425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | SCM *farlookup(farloc) | ^ eval.c:458:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | SCM scm_env_lookup(var, stenv) | ^ eval.c:537:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | static SCM *lookupcar(vloc) | ^ eval.c:571:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | static SCM scm_lookupval(vloc, memo) | ^ eval.c:604:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | static SCM evalatomcar(x, toplevelp) | ^ eval.c:652:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | SCM scm_multi_set(syms, vals) | ^ eval.c:680:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | static SCM scm_case_selector(x) | ^ eval.c:728:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | static SCM acro_call(x, env) | ^ eval.c:753:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | static SCM toplevel_define(xorig, env) | ^ eval.c:772:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | SCM eval_args(l) | ^ eval.c:790:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | static void ecache_evalx(x) | ^ eval.c:812:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | static void ecache_undefs(x) | ^ eval.c:837:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | static int ecache_eval_args(proc, arg1, arg2, arg3, x) | ^ eval.c:863:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | static SCM asubr_apply(proc, arg1, arg2, arg3, args) | ^ eval.c:868: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] 868 | arg1 = SUBRF(proc)(arg1, arg2); | ^ eval.c:869: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] 869 | arg1 = SUBRF(proc)(arg1, arg3); | ^ eval.c:871: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] 871 | arg1 = SUBRF(proc)(arg1, CAR(args)); | ^ eval.c:876: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] 876 | if (FALSEP(SUBRF(proc)(arg1, arg2))) return BOOL_F; | ^ eval.c:878:29: 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] 878 | if (FALSEP(SUBRF(proc)(arg2, arg3))) return BOOL_F; | ^ eval.c:890:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | SCM scm_values(arg1, arg2, rest, what) | ^ eval.c:956:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | static void unpaint(p) | ^ eval.c:985:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | SCM m_quote(xorig, env, ctxt) | ^ eval.c:996:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | SCM m_begin(xorig, env, ctxt) | ^ eval.c:1006:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | static int constant_p(x) | ^ eval.c:1012:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | SCM m_if(xorig, env, ctxt) | ^ eval.c:1030:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | SCM m_set(xorig, env, ctxt) | ^ eval.c:1043:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | SCM m_and(xorig, env, ctxt) | ^ eval.c:1064:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | SCM m_or(xorig, env, ctxt) | ^ eval.c:1091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | SCM m_case(xorig, env, ctxt) | ^ eval.c:1150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | SCM m_cond(xorig, env, ctxt) | ^ eval.c:1179:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | static int varcheck(vars, op, what) | ^ eval.c:1209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | SCM m_lambda(xorig, env, ctxt) | ^ eval.c:1281:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | int scm_nullenv_p(env) | ^ eval.c:1299:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | static SCM m_letstar1(imm, vars, inits, body, env, ctxt) | ^ eval.c:1315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | SCM m_letstar(xorig, env, ctxt) | ^ eval.c:1339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | SCM m_do(xorig, env, ctxt) | ^ eval.c:1376:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | static SCM evalcar(x) | ^ eval.c:1384:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | static SCM iqq(form) | ^ eval.c:1405:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | static SCM m_iqq(form, depth, env, ctxt) | ^ eval.c:1465:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | SCM m_quasiquote(xorig, env, ctxt) | ^ eval.c:1474:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | SCM m_delay(xorig, env, ctxt) | ^ eval.c:1481:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | static int built_inp(name, x) | ^ eval.c:1500:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | static void checked_define(name, val, what) | ^ eval.c:1530:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | SCM m_define(xorig, env, ctxt) | ^ eval.c:1550:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | static SCM m_parse_let(imm, xorig, x, vars, inits) | ^ eval.c:1582:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | static SCM m_let_null(body, env, ctxt) | ^ eval.c:1594:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1594 | static SCM m_letrec1(imm, xorig, env, ctxt) | ^ eval.c:1606:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | SCM m_letrec(xorig, env, ctxt) | ^ eval.c:1612:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | SCM m_let(xorig, env, ctxt) | ^ eval.c:1639:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | SCM m_apply(xorig, env, ctxt) | ^ eval.c:1646:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | static SCM m_body(xorig, env, ctxt) | ^ eval.c:1687:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | static SCM m_binding(name, value, env, ctxt) | ^ eval.c:1694:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | static SCM m_bindings(names, values, env, ctxt) | ^ eval.c:1704:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | static SCM m_seq(x, env, ctxt) | ^ eval.c:1722:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | static SCM m_expr(x, env, ctxt) | ^ eval.c:1733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | SCM scm_check_linum(x, linum) | ^ eval.c:1744:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1744 | SCM scm_add_linum(linum, x) | ^ eval.c:1761:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | static SCM macroexp1(xorig, env, ctxt, mode) | ^ eval.c:1943:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | int badargsp(formals, args) | ^ eval.c:1955:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | int scm_arity_check(proc, argc, what) | ^ eval.c:2037:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | SCM ceval(x, static_env, env) | ^ eval.c:2052:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | SCM scm_eval_values(x, env, valenv) | ^ eval.c:2086: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] 2086 | y = DSUBRF(proc)((double) INUM(arg1)); | ^ eval.c:2091: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] 2091 | y = DSUBRF(proc)(REALPART(arg1)); | ^ eval.c:2098: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] 2098 | y = DSUBRF(proc)(big2dbl(arg1)); | ^ eval.c:2079:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2079 | SCM scm_apply_cxr(proc, arg1) | ^ eval.c:2131:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | static SCM ceval_1(x) | ^ eval.c:2464: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] 2464 | return SUBRF(proc) (UNDEFINED); | ^ eval.c:2466: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] 2466 | return SUBRF(proc)(EOL); | ^ eval.c:2470: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] 2470 | return SUBRF(proc)(UNDEFINED, UNDEFINED); | ^ eval.c:2553: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] 2553 | return SUBRF(proc)(arg1, UNDEFINED); | ^ eval.c:2556: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] 2556 | return SUBRF(proc)(arg1); | ^ eval.c:2562: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] 2562 | return SUBRF(proc)(arg1, UNDEFINED); | ^ eval.c:2564: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] 2564 | return SUBRF(proc)(cons(arg1, EOL)); | ^ eval.c:2641:20: 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] 2641 | return SUBRF(proc)(arg1, arg2); | ^ eval.c:2643:20: 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] 2643 | return SUBRF(proc)(cons2(arg1, arg2, EOL)); | ^ eval.c:2645:20: 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] 2645 | return SUBRF(proc)(arg1, arg2, EOL); | ^ eval.c:2648:20: 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] 2648 | return SUBRF(proc)(arg1, arg2); | ^ eval.c:2754:20: 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] 2754 | return SUBRF(proc)(arg1, arg2, arg3); | ^ eval.c:2760:20: 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] 2760 | return SUBRF(proc)(arg1, arg2, cons(arg3, x)); | ^ eval.c:2762:20: 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] 2762 | return SUBRF(proc)(cons2(arg1, arg2, cons(arg3, x))); | ^ eval.c:2825:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2825 | SCM procedurep(obj) | ^ eval.c:2839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | SCM l_proc_doc(proc) | ^ eval.c:2862:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2862 | SCM nconc2copy(lst) | ^ eval.c:2883:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2883 | SCM scm_cp_list(lst, minlen) | ^ eval.c:2898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2898 | SCM scm_v2lst(n, v, end) | ^ eval.c:2906:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2906 | SCM apply(proc, arg1, args) | ^ eval.c:2929: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] 2929 | return SUBRF(proc)(arg1, args); | ^ eval.c:2935: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] 2935 | return SUBRF(proc)(arg1, args); | ^ eval.c:2942: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] 2942 | return SUBRF(proc)(arg1); | ^ eval.c:2949: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] 2949 | return SUBRF(proc)(arg1, CAR(args), CAR(CDR(args))); | ^ eval.c:2951: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] 2951 | return SUBRF(proc)(UNBNDP(arg1) ? EOL : cons(arg1, args)); | ^ eval.c:2954: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] 2954 | return SUBRF(proc)(arg1, CAR(args), CDR(args)); | ^ eval.c:2956:40: 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] 2956 | if (NULLP(args)) return SUBRF(proc)(arg1, UNDEFINED); | ^ eval.c:2959: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] 2959 | arg1 = SUBRF(proc)(arg1, CAR(args)); | ^ eval.c:2967:29: 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] 2967 | if (FALSEP(SUBRF(proc)(arg1, CAR(args)))) return BOOL_F; | ^ eval.c:2999:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2999 | SCM scm_cvapply(proc, n, argv) | ^ eval.c:3010: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] 3010 | if (1==n) return SUBRF(proc)(argv[0], UNDEFINED); | ^ eval.c:3013: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] 3013 | return SUBRF(proc)(argv[0], argv[1]); | ^ eval.c:3017: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] 3017 | if (0==n) return SUBRF(proc)(UNDEFINED); | ^ eval.c:3020: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] 3020 | return SUBRF(proc)(argv[0]); | ^ eval.c:3024: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] 3024 | return SUBRF(proc)(argv[0], argv[1], argv[2]); | ^ eval.c:3026: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] 3026 | return SUBRF(proc)(0==n ? EOL : scm_v2lst(n, argv, EOL)); | ^ eval.c:3028: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] 3028 | return SUBRF(proc)(argv[0], argv[1], | ^ eval.c:3031: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] 3031 | if (1 >= n) return SUBRF(proc)(0==n ? UNDEFINED: argv[0], UNDEFINED); | ^ eval.c:3034: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] 3034 | res = SUBRF(proc)(res, argv[i]); | ^ eval.c:3039:29: 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] 3039 | if (FALSEP(SUBRF(proc)(argv[i], argv[i+1]))) return BOOL_F; | ^ eval.c:3082:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3082 | SCM map(proc, arg1, args) | ^ eval.c:3123:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 3123 | ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_map); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ eval.c:3131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | SCM for_each(proc, arg1, args) | ^ eval.c:3170:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 3170 | ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_for_each); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ eval.c:3182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3182 | SCM closure(code, argc) | ^ eval.c:3200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3200 | SCM makprom(code) | ^ eval.c:3209:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3209 | static int prinprom(exp, port, writing) | ^ eval.c:3222:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | static SCM makro(code, flags, what) | ^ eval.c:3236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3236 | SCM makacro(code) | ^ eval.c:3242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3242 | SCM makmacro(code) | ^ eval.c:3248:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3248 | SCM makmmacro(code) | ^ eval.c:3254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3254 | SCM makidmacro(code) | ^ eval.c:3296:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3296 | static int prinmacro(exp, port, writing) | ^ eval.c:3319:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3319 | static int prinenv(exp, port, writing) | ^ eval.c:3347:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3347 | SCM force(x) | ^ eval.c:3387:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3387 | SCM copytree(obj) | ^ eval.c:3406:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3406 | SCM eval(obj) | ^ eval.c:3414:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3414 | SCM definedp(xorig, env, ctxt) | ^ eval.c:3634:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3634 | SCM make_synt(name, flags, fcn) | ^ eval.c:3648:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3648 | SCM make_specfun(name, typ, flags) | ^ 128 warnings generated. sys.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | SCM i_setbuf0(port) /* should be called with DEFER_INTS active */ | ^ sys.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | long mode_bits(modes, cmodes) | ^ sys.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | SCM try_open_file(filename, modes) | ^ sys.c:206:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | SCM open_file(filename, modes) | ^ sys.c:215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | SCM close_port(port) | ^ sys.c:240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | SCM input_portp(x) | ^ sys.c:246:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | SCM output_portp(x) | ^ sys.c:252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | SCM port_closedp(port) | ^ sys.c:259:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | SCM scm_port_type(port) | ^ sys.c:285:11: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 285 | SYSCALL(tmpnam(name);); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:287:1: note: 'tmpnam' has been explicitly marked deprecated here 287 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /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))) | ^ sys.c:339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | SCM del_fil(str) | ^ sys.c:352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | void prinport(exp, port, type) | ^ sys.c:369:47: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | if (OPENP(exp) && tc16_fport==TYP16(exp) && isatty(fileno(STREAM(exp)))) | ^ sys.c:370:11: warning: call to undeclared function 'ttyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | lputs(ttyname(fileno(STREAM(exp))), port); | ^ sys.c:370:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 370 | lputs(ttyname(fileno(STREAM(exp))), port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:777:38: note: passing argument to parameter 's' here 777 | SCM_EXPORT void lputs P((const char *s, SCM port)); | ^ sys.c:396:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | static int stputc(c, p) | ^ sys.c:405:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | sizet stwrite(str, siz, num, p) | ^ sys.c:419:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | static int stputs(s, p) | ^ sys.c:425:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | static int stgetc(p) | ^ sys.c:433:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | static int stclose(p) | ^ sys.c:439:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | static int stungetc(c, p) | ^ sys.c:451:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | int noop0(stream) | ^ sys.c:456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | SCM mkstrport(pos, str, modes, caller) | ^ sys.c:476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | SCM cwos(proc) | ^ sys.c:485:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | SCM cwis(str, proc) | ^ sys.c:561:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | static int sfputc(c, p) | ^ sys.c:569:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | sizet sfwrite(str, siz, num, p) | ^ sys.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | static int sfputs(s, p) | ^ sys.c:585:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | int sfflush(stream) | ^ sys.c:594:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | static int sfgetc(p) | ^ sys.c:604:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | static int sfclose(p) | ^ sys.c:614:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | SCM mksfpt(pv, modes) | ^ sys.c:654:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | static int clputc(c, p) | ^ sys.c:659:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | static sizet clwrite(str, siz, num, p) | ^ sys.c:665:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | static int clputs(s, p) | ^ sys.c:670:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | static int clgetc(p) | ^ sys.c:698:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | static sizet syswrite(str, siz, num, p) | ^ sys.c:731:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | static int sysputs(s, p) | ^ sys.c:737:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | static int sysputc(c, p) | ^ sys.c:744:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | static int sysflush(p) | ^ sys.c:770:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | SCM mksafeport(maxlen, port) | ^ sys.c:784:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | int reset_safeport(sfp, maxlen, port) | ^ sys.c:796:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | static sizet safewrite(str, siz, num, p) | ^ sys.c:815:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | static int safeputs(s, p) | ^ sys.c:821:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | static int safeputc(c, p) | ^ sys.c:828:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | static int safeflush(p) | ^ sys.c:834:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | static SCM marksafep(ptr) | ^ sys.c:839:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | static int freesafep(ptr) | ^ sys.c:858:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | static int freeprint(exp, port, writing) | ^ sys.c:952:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | void add_final(final) | ^ sys.c:960:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | SCM scm_add_finalizer(value, finalizer) | ^ sys.c:984:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | static SCM make_stk_seg(size, contents) | ^ sys.c:1018:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | void scm_estk_reset(size) | ^ sys.c:1071:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | void scm_env_cons(x, y) | ^ sys.c:1089:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | void scm_env_cons2(w, x, y) | ^ sys.c:1110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | void scm_env_cons3(v, w, x, y) | ^ sys.c:1134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | void scm_env_v2lst(argc, argv) | ^ sys.c:1174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | void old_scm_extend_env(names) | ^ sys.c:1242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | void grew_lim(nm) | ^ sys.c:1256:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | static char *igc_for_alloc(where, olen, size, what) | ^ sys.c:1284:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | char *must_malloc(len, what) | ^ sys.c:1302:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | SCM must_malloc_cell(len, c, what) | ^ sys.c:1325:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | char *must_realloc(where, olen, len, what) | ^ sys.c:1346:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | void must_realloc_cell(z, olen, len, what) | ^ sys.c:1366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | void must_free(obj, len) | ^ sys.c:1387:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | SCM sym2vcell(sym) | ^ sys.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1398 | } | ^ sys.c:1401:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | SCM intern(name, len) | ^ sys.c:1433:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | SCM sysintern(name, val) | ^ sys.c:1464:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | SCM cons(x, y) | ^ sys.c:1473:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | SCM cons2(w, x, y) | ^ sys.c:1486:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | SCM acons(w, x, y) | ^ sys.c:1500:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | SCM makstr(len) | ^ sys.c:1516:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | SCM scm_maksubr(name, type, fcn) | ^ sys.c:1549:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | SCM make_subr(name, type, fcn) | ^ sys.c:1604:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | SCM dynwind(thunk1, thunk2, thunk3) | ^ sys.c:1615:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1615 | void downd(to, delta) | ^ sys.c:1633:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | void dowinds(to) | ^ sys.c:1662:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1662 | if (!ncont) wta(MAKINUM(-1), (char *)NALLOC, s_cont); | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ sys.c:1682:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | void scm_dynthrow(tocont, arg1, arg2, rest) | ^ sys.c:1722:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | SCM obhash(obj) | ^ sys.c:1733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | SCM obunhash(obj) | ^ sys.c:1776:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | unsigned long strhash(str, len, n) | ^ sys.c:1796:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | static void fixconfig(s1, s2, s) | ^ sys.c:1826:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1826 | sizet init_heap_seg(seg_org, size) | ^ sys.c:1897:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | void scm_init_gra(gra, eltsize, len, maxlen, what) | ^ sys.c:1919:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | int scm_grow_gra(gra, elt) | ^ sys.c:1946:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | void scm_trim_gra(gra) | ^ sys.c:1960:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1960 | void scm_free_gra(gra) | ^ sys.c:1967:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | void gra_report1(gra) | ^ sys.c:1988:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | long newsmob(smob) | ^ sys.c:1994:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | long newptob(ptob) | ^ sys.c:2002:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | SCM scm_port_entry(stream, ptype, flags) | ^ sys.c:2060:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | SCM markcdr(ptr) | ^ sys.c:2065:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | sizet free0(ptr) | ^ sys.c:2070:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | SCM equal0(ptr1, ptr2) | ^ sys.c:2078:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2078 | void init_storage(stack_start_ptr, init_heap_size) | ^ sys.c:2178:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2178 | sysintern("most-negative-fixnum", (SCM)MAKINUM(MOST_NEGATIVE_FIXNUM)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ sys.c:2293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | SCM gc(arg) | ^ sys.c:2305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | void scm_run_finalizers(exiting) | ^ sys.c:2347:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2347 | void igc(what, basecont) | ^ sys.c:2478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2478 | void scm_protect_temp(ptr) | ^ sys.c:2485:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2485 | void gc_mark(p) | ^ sys.c:2617:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2617 | void mark_locations(x, n) | ^ sys.c:2624:22: warning: cast to smaller integer type 'int' from 'SCM *' (aka 'long *') [-Wpointer-to-int-cast] 2624 | while(0 <= --m) if (CELLP(*(SCM **)&x[m])) { | ^~~~~~~~~~~~~~~~~~~~~ ./scm.h:301:20: note: expanded from macro 'CELLP' 301 | #define CELLP(x) (!NCELLP(x)) | ^~~~~~~~~ ./scm.h:302:39: note: expanded from macro 'NCELLP' 302 | #define NCELLP(x) ((sizeof(cell)-1) & (int)(x)) | ^~~~~~~~ sys.c:2640:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2640 | static void gc_sweep(contin_bad) | ^ sys.c:2837:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2837 | static void mark_syms(v) | ^ sys.c:2869:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2869 | static void mark_sym_values(v) | ^ sys.c:2884:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2884 | static void sweep_symhash(v) | ^ sys.c:2910:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2910 | static void mark_finalizers(finalizers, pending) | ^ sys.c:2964:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2964 | static void mark_port_table(port) | ^ sys.c:3032:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | static void egc_copy(px) | ^ sys.c:3058:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3058 | static void egc_copy_locations(ve, len) | ^ sys.c:3073:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3073 | static void egc_copy_stack(stk, len) | ^ 114 warnings generated. subr.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | SCM lnot(x) | ^ subr.c:94:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | SCM booleanp(obj) | ^ subr.c:101:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | SCM eq(x, y) | ^ subr.c:108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | SCM consp(x) | ^ subr.c:114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | SCM setcar(pair, value) | ^ subr.c:121:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | SCM setcdr(pair, value) | ^ subr.c:128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | SCM nullp(x) | ^ subr.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | long ilength(sx) | ^ subr.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | SCM listp(x) | ^ subr.c:158:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | SCM list(objs) | ^ subr.c:163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | SCM length(x) | ^ subr.c:170:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | SCM append(args) | ^ subr.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | SCM reverse(lst) | ^ subr.c:209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | SCM list_ref(lst, k) | ^ subr.c:220:8: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 220 | erout: ASRTER(NIMP(lst) && CONSP(lst), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | NULLP(lst)?k:lst, NULLP(lst)?OUTOFRANGE:ARG1, s_list_ref); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ subr.c:224:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | SCM memq(x, lst) | ^ subr.c:234:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | SCM member(x, lst) | ^ subr.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | SCM assq(x, alist) | ^ subr.c:257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | SCM assoc(x, alist) | ^ subr.c:272:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | SCM promisep(x) | ^ subr.c:278:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | SCM symbolp(x) | ^ subr.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | SCM symbol2string(s) | ^ subr.c:290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | SCM string2symbol(s) | ^ subr.c:298:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | SCM exactp(x) | ^ subr.c:307:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | SCM oddp(n) | ^ subr.c:320:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | SCM evenp(n) | ^ subr.c:333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | SCM lquotient(x, y) | ^ subr.c:403:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | SCM lremainder(x, y) | ^ subr.c:444:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | SCM modulo(x, y) | ^ subr.c:481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | SCM lgcd(x, y) | ^ subr.c:539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | SCM llcm(n1, n2) | ^ subr.c:596:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | SCM scm_copy_big_dec(b, sign) | ^ subr.c:615:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | SCM scm_copy_smaller(x, nx, zsgn) | ^ subr.c:633:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | SCM scm_big_ior(x, nx, xsgn, bigy) | ^ subr.c:665:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | SCM scm_big_xor(x, nx, xsgn, bigy) | ^ subr.c:697:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | SCM scm_big_and(x, nx, xsgn, bigy, zsgn) | ^ subr.c:741:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | SCM scm_big_test(x, nx, xsgn, bigy) | ^ subr.c:785:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | static SCM scm_copy_big_2scomp(x, blen, sign) | ^ subr.c:854:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | static void scm_2scomp1(b) | ^ subr.c:873:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | SCM scm_big_ash(x, cnt) | ^ subr.c:891:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 891 | if (blen <= -cnt) return sign ? MAKINUM(-1) : INUM0; | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:940:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | SCM scm_logior(x, y) | ^ subr.c:989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | SCM scm_logand(x, y) | ^ subr.c:993:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 993 | if (UNBNDP(x)) return MAKINUM(-1); | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1038:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | SCM scm_logxor(x, y) | ^ subr.c:1080:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | SCM scm_logtest(x, y) | ^ subr.c:1118:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | SCM scm_logbitp(index, j1) | ^ subr.c:1149:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | SCM scm_copybit(index, j1, bit) | ^ subr.c:1187:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | SCM scm_lognot(n) | ^ subr.c:1190:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1190 | return difference(MAKINUM(-1L), n); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1193:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | SCM scm_ash(n, cnt) | ^ subr.c:1223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | SCM scm_bitfield(n, start, end) | ^ subr.c:1263:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | SCM scm_bitif(mask, n0, n1) | ^ subr.c:1278:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | SCM scm_copybitfield(to, from, rest) | ^ subr.c:1315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | SCM scm_logcount(n) | ^ subr.c:1324:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1324 | if (BIGSIGN(n)) return scm_logcount(difference(MAKINUM(-1L), n)); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | SCM scm_intlength(n) | ^ subr.c:1349:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1349 | if (BIGSIGN(n)) return scm_intlength(difference(MAKINUM(-1L), n)); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | SCM charp(x) | ^ subr.c:1368:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | SCM char_lessp(x, y) | ^ subr.c:1375:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | SCM char_leqp(x, y) | ^ subr.c:1382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | SCM char_grp(x, y) | ^ subr.c:1389:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | SCM char_geqp(x, y) | ^ subr.c:1396:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | SCM chci_eq(x, y) | ^ subr.c:1403:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | SCM chci_lessp(x, y) | ^ subr.c:1410:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | SCM chci_leqp(x, y) | ^ subr.c:1417:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | SCM chci_grp(x, y) | ^ subr.c:1424:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | SCM chci_geqp(x, y) | ^ subr.c:1431:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | SCM char_alphap(chr) | ^ subr.c:1437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | SCM char_nump(chr) | ^ subr.c:1443:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | SCM char_whitep(chr) | ^ subr.c:1449:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | SCM char_upperp(chr) | ^ subr.c:1455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | SCM char_lowerp(chr) | ^ subr.c:1461:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | SCM char2int(chr) | ^ subr.c:1467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1467 | SCM int2char(n) | ^ subr.c:1475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | SCM char_upcase(chr) | ^ subr.c:1481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | SCM char_downcase(chr) | ^ subr.c:1488:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | SCM stringp(x) | ^ subr.c:1494:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | SCM string(chrs) | ^ subr.c:1509:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | SCM make_string(k, chr) | ^ subr.c:1525:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | SCM st_length(str) | ^ subr.c:1531:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | SCM st_ref(str, k) | ^ subr.c:1539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | SCM st_set(str, k, chr) | ^ subr.c:1549:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | SCM st_equal(s1, s2) | ^ subr.c:1563:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | SCM stci_equal(s1, s2) | ^ subr.c:1577:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | SCM st_lessp(s1, s2) | ^ subr.c:1597:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | SCM st_leqp(s1, s2) | ^ subr.c:1602:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1602 | SCM st_grp(s1, s2) | ^ subr.c:1607:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | SCM st_geqp(s1, s2) | ^ subr.c:1612:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | SCM stci_lessp(s1, s2) | ^ subr.c:1632:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | SCM stci_leqp(s1, s2) | ^ subr.c:1637:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | SCM stci_grp(s1, s2) | ^ subr.c:1642:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | SCM stci_geqp(s1, s2) | ^ subr.c:1647:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | SCM substring(str, start, end) | ^ subr.c:1660:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | SCM st_append(args) | ^ subr.c:1684:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | SCM vectorp(x) | ^ subr.c:1690:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | SCM vector_length(v) | ^ subr.c:1696:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | SCM vector(l) | ^ subr.c:1708:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1708 | SCM vector_ref(v, k) | ^ subr.c:1716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | SCM vector_set(v, k, obj) | ^ subr.c:1726:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | SCM make_vector(k, fill) | ^ subr.c:1750:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1750 | SCM mkbig(nlen, sign) | ^ subr.c:1763:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | SCM big2inum(b, l) | ^ subr.c:1777:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | SCM adjbig(b, nlen) | ^ subr.c:1791:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1791 | SCM normbig(b) | ^ subr.c:1800:31: warning: while loop has empty body [-Wempty-body] 1800 | while (nlen-- && !zds[nlen]); nlen++; | ^ subr.c:1800:31: note: put the semicolon on a separate line to silence this warning subr.c:1806:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | SCM copybig(b, sign) | ^ subr.c:1816:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | SCM long2big(n) | ^ subr.c:1830:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | SCM ulong2big(n) | ^ subr.c:1844:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | int bigcomp(x, y) | ^ subr.c:1862:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | long pseudolong(x) | ^ subr.c:1886:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | SCM addbig(x, nx, xsgn, bigy, sgny) | ^ subr.c:1934:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | SCM mulbig(x, nx, y, ny, sgn) | ^ subr.c:1957:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1957 | unsigned int divbigdig(ds, h, div) | ^ subr.c:1960:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter] 1960 | BIGDIG div; | ^ ./scm.h:1077:66: note: previous declaration is here 1077 | SCM_EXPORT unsigned int divbigdig P((BIGDIG *ds, sizet h, BIGDIG div)); | ^ subr.c:1970:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1970 | SCM divbigint(x, z, sgn, mode) | ^ subr.c:1996:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | SCM divbigbig(x, nx, y, ny, sgn, modes) | ^ subr.c:2225:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2225 | void init_iprocs(subra, type) | ^ 118 warnings generated. debug.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | SCM scm_env_rlookup(addr, stenv, what) | ^ debug.c:109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | SCM scm_env_addprop(prop, val, env) | ^ debug.c:116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | SCM scm_env_getprop(prop, env) | ^ debug.c:133:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | static SCM prinhead(x, port, writing) | ^ debug.c:143:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | static void prinbindings(names, inits, init_env, | ^ debug.c:167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | void scm_princode(code, env, port, writing) | ^ debug.c:313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | void scm_princlosure(proc, port, writing) | ^ debug.c:347:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | SCM scm_int2linum(n) | ^ debug.c:356:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | SCM scm_linum2int(linum) | ^ debug.c:363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | SCM scm_linump(obj) | ^ debug.c:370:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | SCM scm_remove_linums(x) | ^ debug.c:403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | long num_frames(estk, i) | ^ debug.c:416:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | SCM *estk_frame(estk, i, nf) | ^ debug.c:434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | SCM stacktrace1(estk, i) | ^ debug.c:470:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | SCM *cont_frame(contin, nf) | ^ debug.c:482:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | SCM scm_stack_trace(contin) | ^ debug.c:503:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | SCM scm_frame_trace(contin, nf) | ^ debug.c:520:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | SCM scm_frame2env(contin, nf) | ^ debug.c:533:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | SCM scm_frame_eval(contin, nf, expr) | ^ debug.c:553:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | SCM scm_scope_trace(env) | ^ debug.c:620:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | SCM scm_env_annotation(var, stenv) | ^ debug.c:682:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | SCM scm_wrapcode(code, env) | ^ debug.c:692:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | static int princodeptr(exp, port, writing) | ^ 23 warnings generated. unif.c:69:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | SCM resizuve(vect, len) | ^ unif.c:140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | SCM makflo (x) | ^ unif.c:141:12: warning: promoted type 'double' of K&R function parameter is not compatible with the parameter type 'float' declared in a previous prototype [-Wknr-promoted-parameter] 141 | float x; | ^ ./scm.h:1005:33: note: previous declaration is here 1005 | SCM_EXPORT SCM makflo P((float x)); | ^ unif.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | long scm_prot2type(prot) | ^ unif.c:185:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | SCM make_uve(k, prot) | ^ unif.c:239:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | SCM arrayp(v, prot) | ^ unif.c:271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | SCM array_rank(ra) | ^ unif.c:286:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | SCM array_dims(ra) | ^ unif.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | long aind(ra, args, what) | ^ unif.c:341:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | SCM make_ra(ndim) | ^ unif.c:356:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | SCM shap2ra(args, what) | ^ unif.c:390:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | int rafill(ra, fill, ignore) | ^ unif.c:519:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | SCM dims2ura(dims, prot, fill) | ^ unif.c:576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | void ra_set_contp(ra) | ^ unif.c:592:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | SCM make_sh_array(oldra, mapfunc, dims) | ^ unif.c:692:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | SCM trans_array(args) | ^ unif.c:755:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | SCM encl_array(axes) | ^ unif.c:813:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | SCM array_inbp(args) | ^ unif.c:855:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | SCM aref(v, args) | ^ unif.c:940:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | SCM scm_array_ref(args) | ^ unif.c:949:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | SCM cvref(v, pos, last) | ^ unif.c:1058:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | SCM aset(v, obj, args) | ^ unif.c:1098:38: warning: call to undeclared function 'num2char'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1098 | ((signed char *)VELTS(v))[pos] = num2char(obj, (char *)ARG2, s_aset); break; | ^ unif.c:1147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | SCM array_contents(ra, strict) | ^ unif.c:1184:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | SCM uve_read(v, port) | ^ unif.c:1257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | SCM uve_write(v, port) | ^ unif.c:1321:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | SCM lcount(item, seq) | ^ unif.c:1381:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | SCM bit_position(item, v, k) | ^ unif.c:1396:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1396 | if (0==len) return MAKINUM(-1L); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ unif.c:1450:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | SCM bit_set(v, kv, obj) | ^ unif.c:1492:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | SCM bit_count(v, kv, obj) | ^ unif.c:1538:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | SCM bit_inv(v) | ^ unif.c:1555:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | SCM strup(v) | ^ unif.c:1573:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | SCM strdown(v) | ^ unif.c:1592:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1592 | SCM strcap(v) | ^ unif.c:1618:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | SCM istr2bve(str, len) | ^ unif.c:1641:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | static SCM ra2l(ra, base, k) | ^ unif.c:1666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | SCM array2list(v) | ^ unif.c:1749:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | SCM list2ura(ndim, prot, lst) | ^ unif.c:1782:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | static int l2ra(lst, ra, base, k) | ^ unif.c:1813:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1813 | static void rapr1(ra, j, k, port, writing) | ^ unif.c:1914:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | int raprin1(exp, port, writing) | ^ unif.c:2006:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2006 | SCM array_prot(ra) | ^ unif.c:2022:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2022 | case tc7_VfixZ32: return MAKINUM(-32L); | ^~~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ unif.c:2024:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2024 | case tc7_VfixZ16: return MAKINUM(-16L); | ^~~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ unif.c:2026:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2026 | case tc7_VfixZ8: return MAKINUM(-8L); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ unif.c:2041:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | SCM scm_logaref(args) | ^ unif.c:2077:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | SCM scm_logaset(ra, obj, args) | ^ unif.c:2161:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | static SCM markra(ptr) | ^ unif.c:2166:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | static sizet freera(ptr) | ^ 50 warnings generated. rope.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | SCM long2num(sl) | ^ rope.c:65:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | SCM ulong2num(sl) | ^ rope.c:83:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | unsigned char num2uchar(num, pos, s_caller) | ^ rope.c:91:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | unsigned short num2ushort(num, pos, s_caller) | ^ rope.c:99:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | unsigned long num2ulong(num, pos, s_caller) | ^ rope.c:129:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 129 | } | ^ rope.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | long num2long(num, pos, s_caller) | ^ rope.c:161:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 161 | } | ^ rope.c:162:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | short num2short(num, pos, s_caller) | ^ rope.c:170:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 170 | } | ^ rope.c:171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | signed char num2char(num, pos, s_caller) | ^ rope.c:179:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 179 | } | ^ rope.c:181:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | double num2dbl(num, pos, s_caller) | ^ rope.c:193:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 193 | } | ^ rope.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | SCM makfromstr(src, len) | ^ rope.c:208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | SCM makfrom0str(src) | ^ rope.c:216:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | SCM makfromstrs(argc, argv) | ^ rope.c:228:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | char **makargvfrmstrs(args, s_name) | ^ rope.c:248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | void must_free_argv(argv) | ^ rope.c:253:15: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 253 | must_free(argv[i], 1+strlen(argv[i])); | ^~~~~~~ ./scm.h:720:36: note: passing argument to parameter 'obj' here 720 | SCM_EXPORT void must_free P((char *obj, sizet len)); | ^ rope.c:259:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | SCM scm_evstr(str) | ^ rope.c:268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | void scm_ldstr(str) | ^ rope.c:277:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | int scm_ldfile(path) | ^ rope.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | int scm_ldprog(path) | ^ rope.c:296:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | unsigned long scm_addr(args, s_name) | ^ rope.c:357:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | unsigned long scm_base_addr(v, s_name) | ^ rope.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | int scm_cell_p(x) | ^ rope.c:436:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | SCM scm_gc_protect(obj) | ^ 28 warnings generated. ; ================ Link C object files (system "ar rc libscm.a dynl.o continue.o scm.o findexec.o script.o time.o repl.o scl.o eval.o sys.o subr.o debug.o unif.o rope.o") (system "ranlib libscm.a") cd /var/tmp/work/lang/scm/work/scm && env USETOOLS=no GOTMPDIR=/var/tmp/work MACOSX_DEPLOYMENT_TARGET=15.5 CC=clang CFLAGS=-pipe\ -Os\ -DX11\ -I/opt/pkg/include\ -I/opt/pkg/include/ncurses CPPFLAGS=-I/opt/pkg/include\ -I/opt/pkg/include/ncurses CXX=clang++ CXXFLAGS=-pipe\ -Os\ -DX11\ -I/opt/pkg/include\ -I/opt/pkg/include/ncurses 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/lang/scm/work/.cwrapper/bin:/var/tmp/work/lang/scm/work/.buildlink/bin:/var/tmp/work/lang/scm/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/lang/scm/work/.home CWRAPPERS_CONFIG_DIR=/var/tmp/work/lang/scm/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=/var/tmp/work/lang/scm/work/.tools/bin/install-info MAKEINFO=/var/tmp/work/lang/scm/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/var/tmp/work/lang/scm/work/.tools/bin/itstool GDBUS_CODEGEN=/var/tmp/work/lang/scm/work/.tools/bin/gdbus-codegen PKG_CONFIG=/var/tmp/work/lang/scm/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/var/tmp/work/lang/scm/work/.buildlink/lib/pkgconfig:/var/tmp/work/lang/scm/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/var/tmp/work/lang/scm/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/var/tmp/work/lang/scm/work/.cwrapper/config LIBS=-L/opt/pkg/lib\ -lX11 SRCS=sc2.c\ ramap.c\ dynl.c\ edline.c\ gsubr.c\ ioext.c\ posix.c\ record.c\ rgx.c\ socket.c\ unix.c\ continue.c\ scm.c\ scmmain.c\ findexec.c\ script.c\ time.c\ repl.c\ scl.c\ eval.c\ sys.c\ subr.c\ debug.c\ unif.c\ rope.c\ unexelf.c\ x.c OBJS=sc2.o\ ramap.o\ dynl.o\ edline.o\ gsubr.o\ ioext.o\ posix.o\ record.o\ rgx.o\ socket.o\ unix.o\ continue.o\ scm.o\ scmmain.o\ findexec.o\ script.o\ time.o\ repl.o\ scl.o\ eval.o\ sys.o\ subr.o\ debug.o\ unif.o\ rope.o\ unexelf.o\ x.o /opt/pkg/bin/mksh ./buildscm.sh sc2.c:48:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | SCM last_pair(sx) | ^ sc2.c:67:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | SCM subml(str1, start1, args) | ^ sc2.c:90:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | SCM submr(str1, start1, args) | ^ sc2.c:113:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | SCM subfl(str, start, args) | ^ sc2.c:134:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | SCM strnullp(str) | ^ sc2.c:143:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | SCM appendb(args) | ^ 6 warnings generated. ramap.c:70:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | static sizet cind(ra, inds) | ^ ramap.c:90:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | int ra_matchp(ra0, ras) | ^ ramap.c:204: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] 204 | return (UNBNDP(data) ? cproc(vra0, lvra) : cproc(vra0, data, lvra)); | ^ ramap.c:204:53: 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] 204 | return (UNBNDP(data) ? cproc(vra0, lvra) : cproc(vra0, data, lvra)); | ^ ramap.c:266:32: 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] 266 | if (0==(UNBNDP(data) ? cproc(vra0, lvra) : cproc(vra0, data, lvra))) | ^ ramap.c:266:52: 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] 266 | if (0==(UNBNDP(data) ? cproc(vra0, lvra) : cproc(vra0, data, lvra))) | ^ ramap.c:164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | int ramapc(cproc, data, ra0, lra, what) | ^ ramap.c:212:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 212 | hp_indv = make_uve(ARRAY_NDIM(ra0)+0L, MAKINUM(-32L)); | ^~~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ ramap.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | SCM array_fill(ra, fill) | ^ ramap.c:293:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | static int racp(src, dst) | ^ ramap.c:492:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | SCM array_copy(dst, src) | ^ ramap.c:505:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | SCM ra2contig(ra, copy) | ^ ramap.c:538:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | SCM ura_read(ra, port) | ^ ramap.c:552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | SCM ura_write(ra, port) | ^ ramap.c:562:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | SCM sc2array(s, ra, prot) | ^ ramap.c:630:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | int ra_eqp(ra0, ras) | ^ ramap.c:689:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | static int ra_compare(ra0, ra1, ra2, opt) | ^ ramap.c:751:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | int ra_lessp(ra0, ras) | ^ ramap.c:756:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | int ra_leqp(ra0, ras) | ^ ramap.c:761:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | int ra_grp(ra0, ras) | ^ ramap.c:766:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | int ra_greqp(ra0, ras) | ^ ramap.c:772:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | int ra_sum(ra0, ras) | ^ ramap.c:858:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | int ra_difference(ra0, ras) | ^ ramap.c:989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | int ra_product(ra0, ras) | ^ ramap.c:1078:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | int ra_divide(ra0, ras) | ^ ramap.c:1189:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | static int ra_identity(dst, src) | ^ ramap.c:1195:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | static int ramap(ra0, proc, ras) | ^ ramap.c:1248: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] 1248 | dst[i0] = DSUBRF(proc)((double)((float *)VELTS(ra1))[i1]); | ^ ramap.c:1253: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] 1253 | dst[i0] = DSUBRF(proc)((double)VELTS(ra1)[i1]); | ^ ramap.c:1264: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] 1264 | dst[i0] = DSUBRF(proc)(((double *)VELTS(ra1))[i1]); | ^ ramap.c:1269: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] 1269 | dst[i0] = DSUBRF(proc)((double)VELTS(ra1)[i1]); | ^ ramap.c:1224:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | static int ramap_cxr(ra0, proc, ras) | ^ ramap.c:1293:29: 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] 1293 | if (FALSEP(SUBRF(proc)(RVREF(ra1, i1, e1), RVREF(ra2, i2, e2)))) | ^ ramap.c:1278:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | static int ramap_rp(ra0, proc, ras) | ^ ramap.c:1309: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] 1309 | VELTS(ra0)[i0] = SUBRF(proc)(cvref(ra1, i1, UNDEFINED)); | ^ ramap.c:1312:28: 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] 1312 | aset(ra0, SUBRF(proc)(RVREF(ra1, i1, e1)), MAKINUM(i0)); | ^ ramap.c:1297:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | static int ramap_1(ra0, proc, ras) | ^ ramap.c:1329: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] 1329 | VELTS(ra0)[i0] = SUBRF(proc)(cvref(ra1, i1, UNDEFINED), UNDEFINED); | ^ ramap.c:1332: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] 1332 | aset(ra0, SUBRF(proc)(RVREF(ra1, i1, e1), UNDEFINED), | ^ ramap.c:1344:15: 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] 1344 | SUBRF(proc)(cvref(ra1, i1, UNDEFINED), cvref(ra2, i2, UNDEFINED)); | ^ ramap.c:1348:18: 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] 1348 | SUBRF(proc)(RVREF(ra1, i1, e1), RVREF(ra2, i2, e2)), | ^ ramap.c:1315:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | static int ramap_2o(ra0, proc, ras) | ^ ramap.c:1363:28: 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] 1363 | aset(ra0, SUBRF(proc)(RVREF(ra0, i0, e0), UNDEFINED), MAKINUM(i0)); | ^ ramap.c:1370:28: 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] 1370 | aset(ra0, SUBRF(proc)(RVREF(ra0, i0, e0), RVREF(ra1, i1, e1)), | ^ ramap.c:1353:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | static int ramap_a(ra0, proc, ras) | ^ ramap.c:1439: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] 1439 | SCM prot, fill = SUBRF(proc)(UNDEFINED, UNDEFINED); | ^ ramap.c:1397:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | SCM array_map(ra0, proc, lra) | ^ ramap.c:1495:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | static int rafe(ra0, proc, ras) | ^ ramap.c:1523:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | SCM array_for_each(proc, ra0, lra) | ^ ramap.c:1550:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | SCM array_imap(ra, proc) | ^ ramap.c:1568:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1568 | hp_indv = make_uve(i+0L, MAKINUM(-32L)); | ^~~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ ramap.c:1622:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | static int raeql_1(ra0, as_equal, ra1) | ^ ramap.c:1707:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1707 | static int raeql(ra0, as_equal, ra1) | ^ ramap.c:1744:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1744 | SCM raequal(ra0, ra1) | ^ ramap.c:1750:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1750 | SCM array_equal(ra0, ra1) | ^ ramap.c:1793:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | static void init_raprocs(subra) | ^ 56 warnings generated. edline.c:52:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | SCM lreadline(prompt) | ^ edline.c:68:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | SCM ladd_history(line) | ^ 2 warnings generated. gsubr.c:57:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | SCM make_gsubr(name, req, opt, rst, fcn) | ^ gsubr.c:118: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] 118 | case 2: return (*fcn)(v[0], v[1]); | ^ gsubr.c:119: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] 119 | case 3: return (*fcn)(v[0], v[1], v[2]); | ^ gsubr.c:120: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] 120 | case 4: return (*fcn)(v[0], v[1], v[2], v[3]); | ^ gsubr.c:121: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] 121 | case 5: return (*fcn)(v[0], v[1], v[2], v[3], v[4]); | ^ gsubr.c:122: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] 122 | case 6: return (*fcn)(v[0], v[1], v[2], v[3], v[4], v[5]); | ^ gsubr.c:123: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] 123 | case 7: return (*fcn)(v[0], v[1], v[2], v[3], v[4], v[5], v[6]); | ^ gsubr.c:124: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] 124 | case 8: return (*fcn)(v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7]); | ^ gsubr.c:125: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] 125 | case 9: return (*fcn)(v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7], v[8]); | ^ gsubr.c:126: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] 126 | case 10: return (*fcn)(v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7], v[8], v[9]); | ^ gsubr.c:87:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | SCM gsubr_apply(args) | ^ gsubr.c:128:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 128 | } | ^ 12 warnings generated. ioext.c:137:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | SCM read_line(port) | ^ ioext.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | SCM read_line1(str, port) | ^ ioext.c:196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | SCM l_write_line(obj, port) | ^ ioext.c:205:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | SCM file_position(port) | ^ ioext.c:214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | SCM file_set_position(port, pos) | ^ ioext.c:257:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 257 | SCM_OPENCALL(f = freopen(CHARS(filename), cmodes, STREAM(port))); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ ioext.c:257:18: note: place parentheses around the assignment to silence this warning 257 | SCM_OPENCALL(f = freopen(CHARS(filename), cmodes, STREAM(port))); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:257:18: note: use '==' to turn this assignment into an equality comparison 257 | SCM_OPENCALL(f = freopen(CHARS(filename), cmodes, STREAM(port))); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | SCM reopen_file(filename, modes, port) | ^ ioext.c:290:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 290 | SCM_OPENCALL(tfd = dup(fileno(STREAM(oldpt)))); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ ioext.c:290:20: note: place parentheses around the assignment to silence this warning 290 | SCM_OPENCALL(tfd = dup(fileno(STREAM(oldpt)))); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:290:20: note: use '==' to turn this assignment into an equality comparison 290 | SCM_OPENCALL(tfd = dup(fileno(STREAM(oldpt)))); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:276:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | SCM l_dup(oldpt, modes) | ^ ioext.c:319:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 319 | SCM_OPENCALL(ans = dup2(oldfd, newfd)); | ~~~~^~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ ioext.c:319:20: note: place parentheses around the assignment to silence this warning 319 | SCM_OPENCALL(ans = dup2(oldfd, newfd)); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:319:20: note: use '==' to turn this assignment into an equality comparison 319 | SCM_OPENCALL(ans = dup2(oldfd, newfd)); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:310:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | SCM l_dup2(into_pt, from_pt) | ^ ioext.c:341:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 341 | SCM_OPENCALL(ds = opendir(CHARS(dirname))); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ ioext.c:341:19: note: place parentheses around the assignment to silence this warning 341 | SCM_OPENCALL(ds = opendir(CHARS(dirname))); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:341:19: note: use '==' to turn this assignment into an equality comparison 341 | SCM_OPENCALL(ds = opendir(CHARS(dirname))); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | SCM l_opendir(dirname) | ^ ioext.c:349:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | SCM l_readdir(port) | ^ ioext.c:362:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | SCM l_rewinddir(port) | ^ ioext.c:370:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | SCM l_closedir(port) | ^ ioext.c:384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | int dir_print(sexp, port, writing) | ^ ioext.c:390:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | sizet dir_free(p) | ^ ioext.c:510:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | SCM l_mkdir(path, mode) | ^ ioext.c:528:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | SCM l_rmdir(path) | ^ ioext.c:544:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | SCM lchdir(str) | ^ ioext.c:571:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | SCM l_chmod(pathname, mode) | ^ ioext.c:593:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | SCM l_utime(pathname, acctime, modtime) | ^ ioext.c:608:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | SCM l_umask(mode) | ^ ioext.c:619:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | SCM ren_fil(oldname, newname) | ^ ioext.c:641:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | SCM l_fileno(port) | ^ ioext.c:657:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | SCM l_access(pathname, mode) | ^ ioext.c:678:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | SCM l_stat(str) | ^ ioext.c:709:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | SCM stat2scm(stat_temp) | ^ ioext.c:746:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | SCM i_execv(modes, path, args) | ^ ioext.c:765:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | SCM lexec(path, arg0, args) | ^ ioext.c:770:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | SCM lexecp(path, arg0, args) | ^ ioext.c:775:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | SCM lexecv(path, args) | ^ ioext.c:780:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | SCM lexecvp(path, args) | ^ ioext.c:786:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | SCM l_putenv(str) | ^ ioext.c:869:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 869 | SCM_OPENCALL(fd = open(CHARS(fname), fdflags, cperms)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ ioext.c:869:19: note: place parentheses around the assignment to silence this warning 869 | SCM_OPENCALL(fd = open(CHARS(fname), fdflags, cperms)); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:869:19: note: use '==' to turn this assignment into an equality comparison 869 | SCM_OPENCALL(fd = open(CHARS(fname), fdflags, cperms)); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ ioext.c:841:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | SCM scm_try_create_file(fname, modes, perms) | ^ 37 warnings generated. posix.c:80:17: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | SYSCALL(val = chown(CHARS(path), INUM(owner), INUM(group));); | ^ posix.c:73:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SCM l_chown(path, owner, group) | ^ posix.c:91:17: warning: call to undeclared function 'link'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | SYSCALL(val = link(CHARS(oldpath), CHARS(newpath));); | ^ posix.c:85:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | SCM l_link(oldpath, newpath) | ^ posix.c:102:17: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | SYSCALL(ret = pipe(fd);); | ^ posix.c:106:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | close(fd[0]); | ^ posix.c:109:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | SCM_OPENCALL(f_wt = fdopen(fd[1], "w")); | ~~~~~^~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ posix.c:109:21: note: place parentheses around the assignment to silence this warning 109 | SCM_OPENCALL(f_wt = fdopen(fd[1], "w")); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ posix.c:109:21: note: use '==' to turn this assignment into an equality comparison 109 | SCM_OPENCALL(f_wt = fdopen(fd[1], "w")); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ posix.c:113:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | close(fd[1]); | ^ posix.c:105:7: warning: variable 'f_wt' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 105 | if (!f_rd) { | ^~~~~ posix.c:117:25: note: uninitialized use occurs here 117 | p_wt = scm_port_entry(f_wt, tc16_fport, mode_bits("w", (char *)0)); | ^~~~ posix.c:105:3: note: remove the 'if' if its condition is always false 105 | if (!f_rd) { | ^~~~~~~~~~~~ 106 | close(fd[0]); | ~~~~~~~~~~~~~ 107 | goto errout; | ~~~~~~~~~~~~ 108 | } | ~ posix.c:98:20: note: initialize the variable 'f_wt' to silence this warning 98 | FILE *f_rd, *f_wt; | ^ | = NULL posix.c:123:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | SCM open_pipe(pipestr, modes) | ^ posix.c:134:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 134 | SCM_OPENCALL(f = popen(CHARS(pipestr), CHARS(modes))); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ posix.c:134:17: note: place parentheses around the assignment to silence this warning 134 | SCM_OPENCALL(f = popen(CHARS(pipestr), CHARS(modes))); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ posix.c:134:17: note: use '==' to turn this assignment into an equality comparison 134 | SCM_OPENCALL(f = popen(CHARS(pipestr), CHARS(modes))); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ posix.c:148:17: warning: call to undeclared function 'getgroups'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | int ngroups = getgroups(0, 0); | ^ posix.c:174:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | SCM l_pwinfo(user) | ^ posix.c:218:28: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 218 | ve[ 3] = makfromstrs(-1, entry->gr_mem); | ^~~~~~~~~~~~~ ./scm.h:1049:62: note: passing argument to parameter 'argv' here 1049 | SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); | ^ posix.c:200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | SCM l_grinfo(name) | ^ posix.c:221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | SCM l_setgr(arg) | ^ posix.c:228:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | SCM l_setpw(arg) | ^ posix.c:237:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | SCM l_kill(pid, sig) | ^ posix.c:247:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | SCM l_waitpid(pid, options) | ^ posix.c:259:21: warning: call to undeclared function 'getppid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | return MAKINUM(0L+getppid()); | ^ posix.c:264:21: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | return MAKINUM(0L+getuid()); | ^ posix.c:268:21: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | return MAKINUM(0L+getgid()); | ^ posix.c:273:21: warning: call to undeclared function 'geteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | return MAKINUM(0L+geteuid()); | ^ posix.c:277:21: warning: call to undeclared function 'getegid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | return MAKINUM(0L+getegid()); | ^ posix.c:286:10: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | return setuid(INUM(id)) ? BOOL_F : BOOL_T; | ^ posix.c:282:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | SCM l_setuid(id) | ^ posix.c:293:10: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | return setgid(INUM(id)) ? BOOL_F : BOOL_T; | ^ posix.c:289:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | SCM l_setgid(id) | ^ posix.c:302:10: warning: call to undeclared function 'seteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 302 | return seteuid(INUM(id)) ? BOOL_F : BOOL_T; | ^ posix.c:298:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | SCM l_seteuid(id) | ^ posix.c:309:10: warning: call to undeclared function 'setegid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | return setegid(INUM(id)) ? BOOL_F : BOOL_T; | ^ posix.c:305:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | SCM l_setegid(id) | ^ posix.c:320:17: warning: call to undeclared function 'ttyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | SYSCALL(ans = ttyname(fileno(STREAM(port)));); | ^ posix.c:320:15: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] 320 | SYSCALL(ans = ttyname(fileno(STREAM(port)));); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:803:37: note: expanded from macro 'SYSCALL' 803 | # define SYSCALL(line) do{errno = 0;line}while(SCM_INTERRUPTED(errno)) | ^~~~ posix.c:314:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | SCM l_ttyname(port) | ^ posix.c:327:19: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | long pid = 0L + fork(); | ^ 36 warnings generated. record.c:84:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | SCM recordp(obj) | ^ record.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | SCM rec_pred1(cclo, obj) | ^ record.c:98:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | SCM rec_pred(rtd) | ^ record.c:108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | SCM rec_rtd(rec) | ^ record.c:117:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | SCM rec_constr(rtd, flds) | ^ record.c:153:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | static void rec_error(arg, pos, what, rtd, i) | ^ record.c:190:33: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 190 | wna: rec_error(UNDEFINED, WNA, s_rec_constr1, RCLO_RTD(cclo), -1); | ^~~ ./scm.h:1134:25: note: expanded from macro 'WNA' 1134 | #define WNA 7 | ^ record.c:173:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | SCM rec_constr1(args) | ^ record.c:200:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | static SCM makrecclo(proc, rtd, field, what) | ^ record.c:226:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 226 | rec_error(rec, ARG1, s_rec_accessor1, RCLO_RTD(cclo), i); | ^~~~ ./scm.h:1128:25: note: expanded from macro 'ARG1' 1128 | #define ARG1 2 | ^ record.c:220:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | SCM rec_accessor1(cclo, rec) | ^ record.c:237:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 237 | rec_error(rec, ARG1, s_rec_modifier1, RCLO_RTD(cclo), i); | ^~~~ ./scm.h:1128:25: note: expanded from macro 'ARG1' 1128 | #define ARG1 2 | ^ record.c:231:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | SCM rec_modifier1(cclo, rec, val) | ^ record.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | SCM rec_accessor(rtd, field) | ^ record.c:251:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | SCM rec_modifier(rtd, field) | ^ record.c:258:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | SCM makrectyp(name, fields) | ^ record.c:274:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | SCM rec_prinset(rtd, printer) | ^ record.c:284:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | static SCM markrec(ptr) | ^ record.c:292:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | static sizet freerec(ptr) | ^ record.c:298:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | static int recprin1(exp, port, writing) | ^ record.c:349:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | SCM rec_rtdprin1(rtd, port, writing_p) | ^ record.c:365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | SCM recequal(rec0, rec1) | ^ 22 warnings generated. rgx.c:121:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | sizet fregex(ptr) | ^ rgx.c:134:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | int prinregex(exp, port, writing) | ^ rgx.c:145:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | SCM markregex(ptr) | ^ rgx.c:155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | SCM lregerror(scode) | ^ rgx.c:181:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | SCM lregcomp(pattern, flags) | ^ rgx.c:299:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | SCM lregexec(prog, str) | ^ rgx.c:322:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 322 | ans = make_vector(MAKINUM(2L * nsub), MAKINUM(-1L)); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ rgx.c:333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | SCM lregmatp(prog, str) | ^ rgx.c:360:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | SCM lregsearchmatch(prog, str, args, search, vector) | ^ rgx.c:455:49: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 455 | matches = make_vector(MAKINUM(2L * nsub), MAKINUM(-1L)); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ rgx.c:472:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | SCM lregsearch(prog, str, args) | ^ rgx.c:80: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] 80 | SCM lregsearch(); | ^ rgx.c:478:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | SCM lregsearchv(prog, str, args) | ^ rgx.c:81: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] 81 | SCM lregsearchv(); | ^ rgx.c:484:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | SCM lregmatch(prog, str, args) | ^ rgx.c:490:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | SCM lregmatchv(prog, str, args) | ^ rgx.c:496:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | SCM stringsplitutil(prog, str, vector) | ^ rgx.c:554:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | SCM lstringsplit(prog, str) | ^ rgx.c:560:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | SCM lstringsplitv(prog, str) | ^ rgx.c:586:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | SCM lstringedit(prog, editspec, args) | ^ rgx.c:57:13: warning: unused variable 'rcsid' [-Wunused-variable] 57 | static char rcsid[] = | ^~~~~ 21 warnings generated. socket.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | SCM l_inetaddr (host) | ^ socket.c:99:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | SCM l_inetstr (inetid) | ^ socket.c:110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | SCM l_network (host) | ^ socket.c:120:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | SCM l_lna (host) | ^ socket.c:130:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | SCM l_makaddr (net, lna) | ^ socket.c:171:28: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 171 | ve[ 1] = makfromstrs(-1, entry->h_aliases); | ^~~~~~~~~~~~~~~~ ./scm.h:1049:62: note: passing argument to parameter 'argv' here 1049 | SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); | ^ socket.c:176:12: warning: assigning to 'const char **' from 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 176 | for(argv = entry->h_addr_list; argv[i]; i++); | ^ ~~~~~~~~~~~~~~~~~~ socket.c:142:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | SCM l_hostinfo(name) | ^ socket.c:208:28: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 208 | ve[ 1] = makfromstrs(-1, entry->n_aliases); | ^~~~~~~~~~~~~~~~ ./scm.h:1049:62: note: passing argument to parameter 'argv' here 1049 | SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); | ^ socket.c:185:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | SCM l_netinfo(name) | ^ socket.c:238:28: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 238 | ve[ 1] = makfromstrs(-1, entry->p_aliases); | ^~~~~~~~~~~~~~~~ ./scm.h:1049:62: note: passing argument to parameter 'argv' here 1049 | SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); | ^ socket.c:215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | SCM l_protoinfo(name) | ^ socket.c:271:28: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 271 | ve[ 1] = makfromstrs(-1, entry->s_aliases); | ^~~~~~~~~~~~~~~~ ./scm.h:1049:62: note: passing argument to parameter 'argv' here 1049 | SCM_EXPORT SCM makfromstrs P((int argc, const char * const *argv)); | ^ socket.c:243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | SCM l_servinfo(args) | ^ socket.c:277:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | SCM l_sethost(arg) | ^ socket.c:285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | SCM l_setnet(arg) | ^ socket.c:293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | SCM l_setproto(arg) | ^ socket.c:300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | SCM l_setserv(arg) | ^ socket.c:325:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | close(sd); | ^ socket.c:309:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | SCM l_socket(fam, proto) | ^ socket.c:357:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 357 | SCM_OPENCALL(f[0] = fdopen(sv[0], "r+")); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ socket.c:357:21: note: place parentheses around the assignment to silence this warning 357 | SCM_OPENCALL(f[0] = fdopen(sv[0], "r+")); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ socket.c:357:21: note: use '==' to turn this assignment into an equality comparison 357 | SCM_OPENCALL(f[0] = fdopen(sv[0], "r+")); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ socket.c:359:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | close(sv[0]); | ^ socket.c:362:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 362 | SCM_OPENCALL(f[1] = fdopen(sv[1], "r+")); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ socket.c:362:21: note: place parentheses around the assignment to silence this warning 362 | SCM_OPENCALL(f[1] = fdopen(sv[1], "r+")); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ socket.c:362:21: note: use '==' to turn this assignment into an equality comparison 362 | SCM_OPENCALL(f[1] = fdopen(sv[1], "r+")); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ socket.c:365:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | close(sv[1]); | ^ socket.c:343:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | SCM l_socketpair(fam, proto) | ^ socket.c:376:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | SCM l_shutdown(port, how) | ^ socket.c:397:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | SCM l_connect (sockpt, address, arg) | ^ socket.c:441:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | SCM l_bind(sockpt, address) | ^ socket.c:477:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | SCM l_listen(port, backlog) | ^ socket.c:505:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 505 | SYSCALL(newsd = accept(fileno(STREAM(sockpt)), &sad, &sadlen);); | ^~~~~~~ ./scmfig.h:803:37: note: expanded from macro 'SYSCALL' 803 | # define SYSCALL(line) do{errno = 0;line}while(SCM_INTERRUPTED(errno)) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ socket.c:514:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 514 | SCM_OPENCALL(newfd = fdopen(newsd, "r+")); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^~~~ socket.c:514:22: note: place parentheses around the assignment to silence this warning 514 | SCM_OPENCALL(newfd = fdopen(newsd, "r+")); | ^ | ( ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ socket.c:514:22: note: use '==' to turn this assignment into an equality comparison 514 | SCM_OPENCALL(newfd = fdopen(newsd, "r+")); | ^ | == ./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL' 817 | while (!0) {errno = 0; if (line) break;\ | ^ socket.c:516:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 516 | close(newsd); | ^ socket.c:495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | SCM l_accept(sockpt) | ^ socket.c:525:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | int sknm_print(exp, port, writing) | ^ socket.c:547:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | sizet sknm_free(p) | ^ socket.c:557:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | SCM l_sknm_family(snm) | ^ socket.c:564:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | SCM l_sknm_port_num(snm) | ^ socket.c:577:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | SCM l_sknm_addr(snm) | ^ socket.c:592:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | SCM maksknm(sad) | ^ socket.c:614:32: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 614 | (struct sockaddr*)&sad, &sadlen);); | ^~~~~~~ ./scmfig.h:803:37: note: expanded from macro 'SYSCALL' 803 | # define SYSCALL(line) do{errno = 0;line}while(SCM_INTERRUPTED(errno)) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:712:78: note: passing argument to parameter here 712 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ socket.c:617:18: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] 617 | return maksknm(&sad); | ^~~~ socket.c:606:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | SCM l_getpeername(sockpt) | ^ socket.c:628:32: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 628 | (struct sockaddr*)&sad, &sadlen);); | ^~~~~~~ ./scmfig.h:803:37: note: expanded from macro 'SYSCALL' 803 | # define SYSCALL(line) do{errno = 0;line}while(SCM_INTERRUPTED(errno)) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ socket.c:630:18: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] 630 | return maksknm(&sad); | ^~~~ socket.c:620:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | SCM l_getsockname(sockpt) | ^ 45 warnings generated. unix.c:84:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | SCM scm_mknod(path, mode, dev) | ^ unix.c:95:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | SCM scm_acct(path) | ^ unix.c:100:19: warning: call to undeclared function 'acct'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | SYSCALL(val = acct(0);); | ^ unix.c:104:17: warning: call to undeclared function 'acct'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | SYSCALL(val = acct(CHARS(path));); | ^ unix.c:109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | SCM scm_nice(incr) | ^ unix.c:113:10: warning: call to undeclared function 'nice'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | return nice(INUM(incr)) ? BOOL_F : BOOL_T; | ^ unix.c:118:3: warning: call to undeclared function 'sync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | sync(); | ^ unix.c:123:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | SCM scm_symlink(oldpath, newpath) | ^ unix.c:129:17: warning: call to undeclared function 'symlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | SYSCALL(val = symlink(CHARS(oldpath), CHARS(newpath));); | ^ unix.c:133:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | SCM scm_readlink(path) | ^ unix.c:139:15: warning: call to undeclared function 'readlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | SYSCALL(i = readlink(CHARS(path), buf, (sizet)sizeof(buf));); | ^ unix.c:144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | SCM scm_lstat(str) | ^ 12 warnings generated. continue.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | long stack_size(start) | ^ continue.c:88:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | CONTINUATION *make_root_continuation(stack_base) | ^ continue.c:111:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | CONTINUATION *make_continuation(parent_cont) | ^ continue.c:146:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | void free_continuation(cont) | ^ continue.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void dynthrow(a) | ^ continue.c:254:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | void throw_to_continuation(cont, val, root_cont) | ^ 6 warnings generated. scm.c:125:5: warning: call to undeclared function 'init_unix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | INITS; /* call initialization of extension files */ | ^ ./scmflags.h:2:117: note: expanded from macro 'INITS' 2 | #define INITS init_sc2();init_ramap();init_gsubr();init_ioext();init_posix();init_record();init_rgx();init_socket();init_unix(); | ^ scm.c:134:3: warning: call to undeclared function 'init_x'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | COMPILED_INITS; /* initialize statically linked add-ons */ | ^ ./scmflags.h:3:39: note: expanded from macro 'COMPILED_INITS' 3 | #define COMPILED_INITS init_edline(); init_x(); | ^ scm.c:197:17: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 197 | wta(UNDEFINED, (char *)i, ""); | ^~~~~~~~~ scm.c:280:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 280 | wta(MAKINUM(sig), (i < 0 ? s_unksig : (char *)(i + SIGNAL_BASE)), ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~ scm.c:273:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | static SIGRETTYPE err_signal(sig) | ^ scm.c:312:22: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 312 | wta(UNDEFINED, (char *)i, ""); | ^~~~~~~~~ scm.c:283:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | static SIGRETTYPE scmable_signal(sig) | ^ scm.c:345:15: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | SYSCALL(j = alarm(INUM(i));); | ^ scm.c:340:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | SCM lalarm(i) | ^ scm.c:354:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | SCM scm_setitimer(which, value, interval) | ^ scm.c:390:3: warning: call to undeclared function 'pause'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | pause(); | ^ scm.c:419:15: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | SYSCALL(j = sleep(INUM(i));); | ^ scm.c:405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | SCM l_sleep(i) | ^ scm.c:475:15: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | return kill(getpid (), (int)INUM(sig)) ? BOOL_F : BOOL_T; | ^ scm.c:467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | SCM l_raise(sig) | ^ scm.c:493:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | SCM lticks(i) | ^ scm.c:516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | void init_scm(iverbose, buf0stdin, init_heap_size) | ^ scm.c:549:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | static void init_sig1(scm_err, signo, handler) | ^ scm.c:582:3: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | alarm(0); /* kill any pending ALRM interrupts */ | ^ scm.c:679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | void scm_init_from_argv(argc, argv, script_arg, iverbose, buf0stdin) | ^ scm.c:705:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | void final_scm(freeall) | ^ scm.c:839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | int init_buf0(inport) | ^ scm.c:842:7: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 842 | if (isatty(fileno(inport))) { | ^ scm.c:866:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | SCM scm_execpath(newpath) | ^ scm.c:884:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | char *scm_find_execpath(argc, argv, script_arg) | ^ scm.c:924:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | SCM lsystem(cmd) | ^ scm.c:940: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] 940 | char *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 *); | ^ scm.c:941:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | SCM lgetenv(nam) | ^ scm.c:1014:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | void add_feature(str) | ^ 29 warnings generated. scmmain.c:73:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | char *scm_find_implpath(execpath) | ^ scmmain.c:133:32: warning: assigning to 'const char **' from 'const char *const[1]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 133 | if (0==argc) {argc = 1; argv = generic_name;} /* for macintosh */ | ^ ~~~~~~~~~~~~ scmmain.c:143:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 143 | script_arg = argv[2]; /* Save for scm_find_execpath() call */ | ^ ~~~~~~~ scmmain.c:144:31: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 144 | nargc = script_count_argv(nargv); | ^~~~~ ./scm.h:1092:51: note: passing argument to parameter 'argv' here 1092 | SCM_EXPORT int script_count_argv P((const char **argv)); | ^ scmmain.c:146:15: warning: assigning to 'char **' from 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 146 | else {nargv = argv; nargc = argc;} | ^ ~~~~ scmmain.c:148:39: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 148 | execpath = scm_find_execpath(nargc, nargv, script_arg); | ^~~~~ ./scm.h:798:69: note: passing argument to parameter 'argv' here 798 | SCM_EXPORT char *scm_find_execpath P((int argc, const char * const *argv, const char *script_arg)); | ^ scmmain.c:150:7: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | if (isatty(fileno(stdin)) && isatty(fileno(stdout))) | ^ scmmain.c:155:31: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 155 | scm_init_from_argv(nargc, nargv, script_arg, iverbose, buf0stdin); | ^~~~~ ./scm.h:791:69: note: passing argument to parameter 'argv' here 791 | SCM_EXPORT void scm_init_from_argv P((int argc, const char * const *argv, char *script_arg, | ^ scmmain.c:108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | int main(argc, argv) | ^ 9 warnings generated. findexec.c:65:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | static char *copy_of(s) | ^ findexec.c:83:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | char *dld_find_executable(name) | ^ 2 warnings generated. script.c:71:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | char *scm_cat_path(str1, str2, n) | ^ script.c:92:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | char *scm_try_path(path) | ^ script.c:107:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | char *scm_sep_init_try(path, sep, initname) | ^ script.c:168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | char *find_impl_file(exec_path, generic_name, initname, sep) | ^ script.c:173:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 173 | char *extptr = exec_path + strlen(exec_path); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ script.c:189:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 189 | extptr = exec_path + strlen(exec_path); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ script.c:305:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | char *script_read_arg(f) | ^ script.c:363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | int script_meta_arg_P(arg) | ^ script.c:378:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | char **script_process_argv(argc, argv) | ^ script.c:386:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 386 | nargv[0] = argv[0]; | ^ ~~~~~~~ script.c:401:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 401 | nargv[nargi++] = argv[argi++]; | ^ ~~~~~~~~~~~~ script.c:404:39: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 404 | while (argi <= argc) nargv[nargi++] = argv[argi++]; | ^ ~~~~~~~~~~~~ script.c:408:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | int script_count_argv(argv) | ^ 13 warnings generated. time.c:334:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | int scm_ftime(time_buffer) | ^ time.c:367:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 367 | return MAKINUM(-1); | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ time.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | long time_in_msec(x) | ^ 3 warnings generated. repl.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void intprint(n, radix, port) | ^ repl.c:175:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | void ipruk(hdr, ptr, port) | ^ repl.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | void iprlist(hdr, exp, tlr, port, writing) | ^ repl.c:217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | void iprin1(exp, port, writing) | ^ repl.c:441:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | static int input_waiting(f) | ^ repl.c:470:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | SCM char_readyp(port) | ^ repl.c:513:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 513 | ASRTER(NIMP(port) && OPINPORTP(port) && (BUF0 & SCM_PORTFLAGS(port)), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514 | port, pos, s_wfi); | ~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ repl.c:495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | SCM wait_for_input(args) | ^ repl.c:588:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | SCM eof_objectp(x) | ^ repl.c:596:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | int scm_io_error(port, what) | ^ repl.c:627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | void lfflush(port) /* internal SCM call */ | ^ repl.c:636:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | SCM lflush(port) /* user accessible as force-output */ | ^ repl.c:650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | SCM lwrite(obj, port) | ^ repl.c:658:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | SCM display(obj, port) | ^ repl.c:666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | SCM newline(port) | ^ repl.c:675:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | SCM write_char(chr, port) | ^ repl.c:684:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | SCM scm_freshline(port) | ^ repl.c:695:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | void lputc(c, port) | ^ repl.c:715:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | void lputs(s, port) | ^ repl.c:739:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | sizet lfwrite(ptr, size, nitems, port) | ^ repl.c:766:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | int lgetc(port) | ^ repl.c:802:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | void lungetc(c, port) | ^ repl.c:816:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | SCM scm_read_char(port) | ^ repl.c:826:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | SCM peek_char(port) | ^ repl.c:838:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | char *grow_tok_buf(tok_buf) | ^ repl.c:847:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | static int flush_ws(port) | ^ repl.c:873:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | SCM scm_read(port) | ^ repl.c:879:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | SCM scm_read_for_load(port) | ^ repl.c:893:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | static SCM lread1(port, flgs, what) | ^ repl.c:911:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | static SCM lreadpr(tok_buf, port, flgs) | ^ repl.c:1068:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | static SCM lreadr(tok_buf, port, flgs) | ^ repl.c:1081:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | static SCM lread_rec(tok_buf, port) | ^ repl.c:1108:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | static sizet read_token(ic, tok_buf, port) | ^ repl.c:1153:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | static SCM lreadparen(tok_buf, port, flgs, name) | ^ repl.c:1186:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | SCM swapcar(pair, value) | ^ repl.c:1200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | SCM tryarb(arb) | ^ repl.c:1214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | SCM relarb(arb) | ^ repl.c:1222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | SCM makarb(name) | ^ repl.c:1231:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | static int prinarb(exp, port, writing) | ^ repl.c:1285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | int handle_it(i) | ^ repl.c:1291:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1291 | wta(UNDEFINED, (char *)i, ""); /* sends it to def_err_response */ | ^~~~~~~~~ repl.c:1345:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | SCM scm_top_level(initpath, toplvl_fun) | ^ repl.c:1392:8: warning: call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1392 | (isspace(initpath[0]) || ';'==initpath[0] || '('==initpath[0])) | ^ repl.c:1392:8: note: include the header or explicitly provide a declaration for 'isspace' repl.c:1451:19: warning: incompatible integer to pointer conversion passing 'long' to parameter of type 'SCM *' (aka 'long *') [-Wint-conversion] 1451 | igc(s_unexec, BOOL_F); | ^~~~~~ ./scm.h:271:16: note: expanded from macro 'BOOL_F' 271 | #define BOOL_F MAKIFLAG(NUM_ISYMS+0) | ^~~~~~~~~~~~~~~~~~~~~ ./scm.h:200:21: note: expanded from macro 'MAKIFLAG' 200 | #define MAKIFLAG(n) (((n)<<9)+0x174L) | ^~~~~~~~~~~~~~~~~ repl.c:47:35: note: passing argument to parameter 'sys_protects' here 47 | void igc P((const char *what, SCM rootcont)); | ^ ./scm.h:643:26: note: expanded from macro 'rootcont' 643 | #define rootcont sys_protects[14] | ^ repl.c:1472:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | SCM scm_port_line(port) | ^ repl.c:1490:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1490 | SCM scm_port_col(port) | ^ repl.c:1510:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | SCM scm_port_filename(port) | ^ repl.c:1527:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | void growth_mon(obj, size, units, grewp) | ^ repl.c:1546:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | void gc_start(what) | ^ repl.c:1623:37: warning: call to undeclared function 'sbrk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1623 | scm_dumped_brk = (unsigned long)sbrk(0); | ^ repl.c:1629:45: warning: call to undeclared function 'sbrk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1629 | unsigned long scm_curbrk = (unsigned long)sbrk(0), | ^ repl.c:1650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | SCM lroom(opt) | ^ repl.c:1692:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | SCM prolixity(arg) | ^ repl.c:1768:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1768 | SCM quit(n) | ^ repl.c:1791:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1791 | SCM scm_unexec(newpath) | ^ repl.c:1849:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | SCM tryload(filename, reader) | ^ repl.c:1886:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | SCM scm_eval_string(str) | ^ repl.c:1899:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | SCM scm_load_string(str) | ^ repl.c:1918:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1918 | void scm_line_msg(file, linum, port) | ^ repl.c:1928:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | void scm_err_line(what, file, linum, port) | ^ repl.c:1947:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | static void err_head(str) | ^ repl.c:1971:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | void scm_warn(str1, str2, obj) | ^ repl.c:1989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | SCM lerrno(arg) | ^ repl.c:2000:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | SCM lperror(arg) | ^ repl.c:2054:47: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 2054 | lputc((long)err_pos <= ARGn ? ' ' : '1' + (int)err_pos - ARG1, cur_errp); | ^~~~~~~~~~~~ repl.c:2057:23: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 2057 | else lputs(errmsgs[((int)err_pos)-WNA].msg, cur_errp); | ^~~~~~~~~~~~ repl.c:2102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2102 | void everr(exp, env, arg, pos, s_subr, codep) | ^ repl.c:2110:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2110 | err_pos = pos; | ^ ~~~ repl.c:2111:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2111 | err_s_subr = s_subr; | ^ ~~~~~~ repl.c:2116:24: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] 2116 | COOKIE(1) : COOKIE((int)pos)); | ^~~~~~~~ ./scm.h:286:21: note: expanded from macro 'COOKIE' 286 | # define COOKIE(n) (n) | ^ repl.c:2119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | void wta(arg, pos, s_subr) | ^ repl.c:2129:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2129 | void scm_experr(arg, pos, s_subr) | ^ repl.c:2154:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | SCM set_inp(port) | ^ repl.c:2165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2165 | SCM set_outp(port) | ^ repl.c:2176:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | SCM set_errp(port) | ^ repl.c:2193:10: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2193 | return isatty(fileno(STREAM(port)))?BOOL_T:BOOL_F; | ^ repl.c:2188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2188 | SCM l_isatty(port) | ^ repl.c:2248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2248 | void init_repl( iverbose ) | ^ 78 warnings generated. scl.c:99:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | double dbl_prec(x) | ^ scl.c:113:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | static int apx_log10(x) | ^ scl.c:125:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | static double lpow10(x, n) | ^ scl.c:143:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | int inf2str(f, a) | ^ scl.c:171:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | static sizet idbl2str(f, a) | ^ scl.c:270:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | static sizet iflo2str(flt, str) | ^ scl.c:290:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | sizet iuint2str(num, rad, p) | ^ scl.c:308:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | sizet iint2str(num, rad, p) | ^ scl.c:320:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | static SCM big2str(b, radix) | ^ scl.c:359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | SCM number2string(x, radix) | ^ scl.c:396:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | int floprint(sexp, port, writing) | ^ scl.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | int bigprint(exp, port, writing) | ^ scl.c:430:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | SCM istr2int(str, len, radix) | ^ scl.c:542:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | static long scm_twos_power(n) | ^ scl.c:568:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | SCM istr2flo(str, len, radix) | ^ scl.c:777:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | SCM istring2number(str, len, radix) | ^ scl.c:815:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | SCM string2number(str, radix) | ^ scl.c:826:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | SCM makdbl (x, y) | ^ scl.c:866:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | SCM eqv(x, y) | ^ scl.c:884:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | SCM memv(x, lst) /* m.borza 12.2.91 */ | ^ scl.c:897:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | SCM assv(x, alist) /* m.borza 12.2.91 */ | ^ scl.c:915:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | SCM list_tail(lst, k) | ^ scl.c:928:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | SCM string2list(str) | ^ scl.c:939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | SCM string_copy(str) | ^ scl.c:945:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | SCM string_fill(str, chr) | ^ scl.c:957:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | SCM vector2list(v) | ^ scl.c:968:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | SCM vector_fill(v, fill) | ^ scl.c:978:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | static SCM vector_equal(x, y) | ^ scl.c:987:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | SCM bigequal(x, y) | ^ scl.c:995:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | SCM floequal(x, y) | ^ scl.c:1004:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | SCM equal(x, y) | ^ scl.c:1034:29: 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] 1034 | if (pred) return (*pred)(x, y); | ^ scl.c:1040:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | SCM numberp(obj) | ^ scl.c:1054:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | SCM scm_complex_p(obj) | ^ scl.c:1062:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | int scm_bigdblcomp(b, d) | ^ scl.c:1071:12: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'int *' [-Wincompatible-pointer-types] 1071 | frexp(d, &dlen); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/math.h:407:34: note: passing argument to parameter here 407 | extern double frexp(double, int *); | ^ scl.c:1084:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | SCM realp(x) | ^ scl.c:1095:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | SCM scm_rationalp(x) | ^ scl.c:1110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | SCM intp(x) | ^ scl.c:1128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | SCM inexactp(x) | ^ scl.c:1137:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | SCM eqp(x, y) | ^ scl.c:1211:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | SCM lessp(x, y) | ^ scl.c:1280:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | SCM greaterp(x, y) | ^ scl.c:1285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | SCM leqp(x, y) | ^ scl.c:1290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | SCM greqp(x, y) | ^ scl.c:1295:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | SCM zerop(z) | ^ scl.c:1324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | SCM positivep(x) | ^ scl.c:1353:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | SCM negativep(x) | ^ scl.c:1384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | SCM lmax(x, y) | ^ scl.c:1468:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | SCM lmin(x, y) | ^ scl.c:1552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | SCM sum(x, y) | ^ scl.c:1667:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1667 | SCM difference(x, y) | ^ scl.c:1799:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | SCM product(x, y) | ^ scl.c:1947:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | SCM divide(x, y) | ^ scl.c:2041:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2041 | if ((MAKINUM(1L)==x) || (MAKINUM(-1L)==x)) return x; | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ scl.c:2150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2150 | SCM scm_intexpt(z1, z2) | ^ scl.c:2179:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2179 | else goto overflow; | ^ scl.c:2161:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2161 | if (MAKINUM(-1L)==z1) return BOOL_F==evenp(z2)?z1:acc; | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ scl.c:2257:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2257 | double scm_truncate(x) | ^ scl.c:2264:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | double scm_round(x) | ^ scl.c:2276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2276 | void two_doubles(z1, z2, sstring, xy) | ^ scl.c:2317:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | SCM expt(z1, z2) | ^ scl.c:2324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | SCM latan2(z1, z2) | ^ scl.c:2331:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2331 | SCM makrect(z1, z2) | ^ scl.c:2338:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2338 | SCM makpolar(z1, z2) | ^ scl.c:2346:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | SCM real_part(z) | ^ scl.c:2364:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2364 | SCM imag_part(z) | ^ scl.c:2382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2382 | SCM scm_abs(z) | ^ scl.c:2395:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2395 | SCM scm_magnitude(z) | ^ scl.c:2423:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2423 | SCM angle(z) | ^ scl.c:2445:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2445 | SCM ex2in(z) | ^ scl.c:2455:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2455 | } | ^ scl.c:2456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2456 | SCM in2ex(z) | ^ scl.c:2502:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2502 | SCM scm_iabs(x) | ^ scl.c:2527:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2527 | SCM dbl2big(d) | ^ scl.c:2547:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2547 | double big2dbl(b) | ^ scl.c:2557:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2557 | static double big2scaldbl(b, expt) | ^ scl.c:2580:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2580 | static SCM bigdblop(op, b, re, im) | ^ scl.c:2614:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2614 | static SCM inex_divbigbig(a, b) | ^ scl.c:2636:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2636 | SCM scm_dfloat_parts(f) | ^ scl.c:2650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2650 | SCM scm_make_dfloat(mant, expt) | ^ scl.c:2661:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2661 | SCM scm_next_dfloat(f1, f2) | ^ scl.c:2695:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2695 | unsigned long hasher(obj, n, d) | ^ scl.c:2771:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2771 | SCM hash(obj, n) | ^ scl.c:2779:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | SCM hashv(obj, n) | ^ scl.c:2789:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2789 | SCM hashq(obj, n) | ^ scl.c:2917:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2917 | static void safe_add_1(f, fsum) | ^ scl.c:2917:13: warning: unused function 'safe_add_1' [-Wunused-function] 2917 | static void safe_add_1(f, fsum) | ^~~~~~~~~~ 88 warnings generated. eval.c:404:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | SCM *ilookup(iloc) | ^ eval.c:425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | SCM *farlookup(farloc) | ^ eval.c:458:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | SCM scm_env_lookup(var, stenv) | ^ eval.c:537:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | static SCM *lookupcar(vloc) | ^ eval.c:548:12: warning: variable 'pv' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 548 | else if (NIMP(addr) && IM_KEYWORD==CAR(addr)) { /* local macro binding */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:173:17: note: expanded from macro 'NIMP' 173 | #define NIMP(x) (!IMP(x)) | ^ eval.c:566:10: note: uninitialized use occurs here 566 | return pv; | ^~ eval.c:548:8: note: remove the 'if' if its condition is always false 548 | else if (NIMP(addr) && IM_KEYWORD==CAR(addr)) { /* local macro binding */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 549 | badkey: wta(var, s_badkey, ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 550 | } | ~ 551 | # endif | ~~~~~~~ 552 | #endif | ~~~~~~ 553 | else { /* global ref */ | ~~~~ eval.c:540:10: note: initialize the variable 'pv' to silence this warning 540 | SCM *pv, val, var = CAR(vloc), env = STATIC_ENV; | ^ | = NULL eval.c:571:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | static SCM scm_lookupval(vloc, memo) | ^ eval.c:604:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | static SCM evalatomcar(x, toplevelp) | ^ eval.c:652:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | SCM scm_multi_set(syms, vals) | ^ eval.c:680:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | static SCM scm_case_selector(x) | ^ eval.c:728:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | static SCM acro_call(x, env) | ^ eval.c:753:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | static SCM toplevel_define(xorig, env) | ^ eval.c:772:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | SCM eval_args(l) | ^ eval.c:790:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | static void ecache_evalx(x) | ^ eval.c:812:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | static void ecache_undefs(x) | ^ eval.c:837:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | static int ecache_eval_args(proc, arg1, arg2, arg3, x) | ^ eval.c:863:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | static SCM asubr_apply(proc, arg1, arg2, arg3, args) | ^ eval.c:868: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] 868 | arg1 = SUBRF(proc)(arg1, arg2); | ^ eval.c:869: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] 869 | arg1 = SUBRF(proc)(arg1, arg3); | ^ eval.c:871: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] 871 | arg1 = SUBRF(proc)(arg1, CAR(args)); | ^ eval.c:876: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] 876 | if (FALSEP(SUBRF(proc)(arg1, arg2))) return BOOL_F; | ^ eval.c:878:29: 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] 878 | if (FALSEP(SUBRF(proc)(arg2, arg3))) return BOOL_F; | ^ eval.c:890:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | SCM scm_values(arg1, arg2, rest, what) | ^ eval.c:931:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | static int topdenote_eq(sym, id, env) | ^ eval.c:941:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | static SCM id2sym(id) | ^ eval.c:956:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | static void unpaint(p) | ^ eval.c:985:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | SCM m_quote(xorig, env, ctxt) | ^ eval.c:996:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | SCM m_begin(xorig, env, ctxt) | ^ eval.c:1006:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | static int constant_p(x) | ^ eval.c:1012:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | SCM m_if(xorig, env, ctxt) | ^ eval.c:1030:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | SCM m_set(xorig, env, ctxt) | ^ eval.c:1043:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | SCM m_and(xorig, env, ctxt) | ^ eval.c:1064:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | SCM m_or(xorig, env, ctxt) | ^ eval.c:1091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | SCM m_case(xorig, env, ctxt) | ^ eval.c:1150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | SCM m_cond(xorig, env, ctxt) | ^ eval.c:1179:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | static int varcheck(vars, op, what) | ^ eval.c:1209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | SCM m_lambda(xorig, env, ctxt) | ^ eval.c:1281:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | int scm_nullenv_p(env) | ^ eval.c:1299:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | static SCM m_letstar1(imm, vars, inits, body, env, ctxt) | ^ eval.c:1315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | SCM m_letstar(xorig, env, ctxt) | ^ eval.c:1339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | SCM m_do(xorig, env, ctxt) | ^ eval.c:1376:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | static SCM evalcar(x) | ^ eval.c:1384:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | static SCM iqq(form) | ^ eval.c:1405:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | static SCM m_iqq(form, depth, env, ctxt) | ^ eval.c:1465:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | SCM m_quasiquote(xorig, env, ctxt) | ^ eval.c:1474:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | SCM m_delay(xorig, env, ctxt) | ^ eval.c:1481:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | static int built_inp(name, x) | ^ eval.c:1500:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | static void checked_define(name, val, what) | ^ eval.c:1530:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | SCM m_define(xorig, env, ctxt) | ^ eval.c:1550:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | static SCM m_parse_let(imm, xorig, x, vars, inits) | ^ eval.c:1582:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | static SCM m_let_null(body, env, ctxt) | ^ eval.c:1594:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1594 | static SCM m_letrec1(imm, xorig, env, ctxt) | ^ eval.c:1606:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | SCM m_letrec(xorig, env, ctxt) | ^ eval.c:1612:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | SCM m_let(xorig, env, ctxt) | ^ eval.c:1639:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | SCM m_apply(xorig, env, ctxt) | ^ eval.c:1646:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | static SCM m_body(xorig, env, ctxt) | ^ eval.c:1687:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | static SCM m_binding(name, value, env, ctxt) | ^ eval.c:1694:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | static SCM m_bindings(names, values, env, ctxt) | ^ eval.c:1704:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | static SCM m_seq(x, env, ctxt) | ^ eval.c:1722:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | static SCM m_expr(x, env, ctxt) | ^ eval.c:1733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | SCM scm_check_linum(x, linum) | ^ eval.c:1744:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1744 | SCM scm_add_linum(linum, x) | ^ eval.c:1761:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | static SCM macroexp1(xorig, env, ctxt, mode) | ^ eval.c:1943:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | int badargsp(formals, args) | ^ eval.c:1955:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | int scm_arity_check(proc, argc, what) | ^ eval.c:2037:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | SCM ceval(x, static_env, env) | ^ eval.c:2052:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | SCM scm_eval_values(x, env, valenv) | ^ eval.c:2086: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] 2086 | y = DSUBRF(proc)((double) INUM(arg1)); | ^ eval.c:2091: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] 2091 | y = DSUBRF(proc)(REALPART(arg1)); | ^ eval.c:2098: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] 2098 | y = DSUBRF(proc)(big2dbl(arg1)); | ^ eval.c:2079:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2079 | SCM scm_apply_cxr(proc, arg1) | ^ eval.c:2131:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | static SCM ceval_1(x) | ^ eval.c:2464: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] 2464 | return SUBRF(proc) (UNDEFINED); | ^ eval.c:2466: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] 2466 | return SUBRF(proc)(EOL); | ^ eval.c:2470: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] 2470 | return SUBRF(proc)(UNDEFINED, UNDEFINED); | ^ eval.c:2553: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] 2553 | return SUBRF(proc)(arg1, UNDEFINED); | ^ eval.c:2556: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] 2556 | return SUBRF(proc)(arg1); | ^ eval.c:2562: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] 2562 | return SUBRF(proc)(arg1, UNDEFINED); | ^ eval.c:2564: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] 2564 | return SUBRF(proc)(cons(arg1, EOL)); | ^ eval.c:2641:20: 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] 2641 | return SUBRF(proc)(arg1, arg2); | ^ eval.c:2643:20: 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] 2643 | return SUBRF(proc)(cons2(arg1, arg2, EOL)); | ^ eval.c:2645:20: 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] 2645 | return SUBRF(proc)(arg1, arg2, EOL); | ^ eval.c:2648:20: 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] 2648 | return SUBRF(proc)(arg1, arg2); | ^ eval.c:2754:20: 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] 2754 | return SUBRF(proc)(arg1, arg2, arg3); | ^ eval.c:2760:20: 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] 2760 | return SUBRF(proc)(arg1, arg2, cons(arg3, x)); | ^ eval.c:2762:20: 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] 2762 | return SUBRF(proc)(cons2(arg1, arg2, cons(arg3, x))); | ^ eval.c:2825:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2825 | SCM procedurep(obj) | ^ eval.c:2839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | SCM l_proc_doc(proc) | ^ eval.c:2862:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2862 | SCM nconc2copy(lst) | ^ eval.c:2883:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2883 | SCM scm_cp_list(lst, minlen) | ^ eval.c:2898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2898 | SCM scm_v2lst(n, v, end) | ^ eval.c:2906:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2906 | SCM apply(proc, arg1, args) | ^ eval.c:2929: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] 2929 | return SUBRF(proc)(arg1, args); | ^ eval.c:2935: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] 2935 | return SUBRF(proc)(arg1, args); | ^ eval.c:2942: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] 2942 | return SUBRF(proc)(arg1); | ^ eval.c:2949: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] 2949 | return SUBRF(proc)(arg1, CAR(args), CAR(CDR(args))); | ^ eval.c:2951: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] 2951 | return SUBRF(proc)(UNBNDP(arg1) ? EOL : cons(arg1, args)); | ^ eval.c:2954: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] 2954 | return SUBRF(proc)(arg1, CAR(args), CDR(args)); | ^ eval.c:2956:40: 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] 2956 | if (NULLP(args)) return SUBRF(proc)(arg1, UNDEFINED); | ^ eval.c:2959: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] 2959 | arg1 = SUBRF(proc)(arg1, CAR(args)); | ^ eval.c:2967:29: 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] 2967 | if (FALSEP(SUBRF(proc)(arg1, CAR(args)))) return BOOL_F; | ^ eval.c:2999:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2999 | SCM scm_cvapply(proc, n, argv) | ^ eval.c:3010: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] 3010 | if (1==n) return SUBRF(proc)(argv[0], UNDEFINED); | ^ eval.c:3013: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] 3013 | return SUBRF(proc)(argv[0], argv[1]); | ^ eval.c:3017: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] 3017 | if (0==n) return SUBRF(proc)(UNDEFINED); | ^ eval.c:3020: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] 3020 | return SUBRF(proc)(argv[0]); | ^ eval.c:3024: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] 3024 | return SUBRF(proc)(argv[0], argv[1], argv[2]); | ^ eval.c:3026: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] 3026 | return SUBRF(proc)(0==n ? EOL : scm_v2lst(n, argv, EOL)); | ^ eval.c:3028: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] 3028 | return SUBRF(proc)(argv[0], argv[1], | ^ eval.c:3031: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] 3031 | if (1 >= n) return SUBRF(proc)(0==n ? UNDEFINED: argv[0], UNDEFINED); | ^ eval.c:3034: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] 3034 | res = SUBRF(proc)(res, argv[i]); | ^ eval.c:3039:29: 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] 3039 | if (FALSEP(SUBRF(proc)(argv[i], argv[i+1]))) return BOOL_F; | ^ eval.c:3082:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3082 | SCM map(proc, arg1, args) | ^ eval.c:3123:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 3123 | ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_map); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ eval.c:3131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | SCM for_each(proc, arg1, args) | ^ eval.c:3170:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 3170 | ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_for_each); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ eval.c:3182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3182 | SCM closure(code, argc) | ^ eval.c:3200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3200 | SCM makprom(code) | ^ eval.c:3209:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3209 | static int prinprom(exp, port, writing) | ^ eval.c:3222:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | static SCM makro(code, flags, what) | ^ eval.c:3236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3236 | SCM makacro(code) | ^ eval.c:3242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3242 | SCM makmacro(code) | ^ eval.c:3248:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3248 | SCM makmmacro(code) | ^ eval.c:3254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3254 | SCM makidmacro(code) | ^ eval.c:3269:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3269 | SCM scm_macroexpand1(x, env) | ^ eval.c:3287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3287 | SCM scm_eval_syntax(x, env) | ^ eval.c:3296:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3296 | static int prinmacro(exp, port, writing) | ^ eval.c:3319:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3319 | static int prinenv(exp, port, writing) | ^ eval.c:3331:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3331 | static int prinid(exp, port, writing) | ^ eval.c:3347:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3347 | SCM force(x) | ^ eval.c:3387:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3387 | SCM copytree(obj) | ^ eval.c:3406:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3406 | SCM eval(obj) | ^ eval.c:3414:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3414 | SCM definedp(xorig, env, ctxt) | ^ eval.c:3433:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3433 | SCM identp(obj) | ^ eval.c:3440:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3440 | SCM ident_eqp(id1, id2, env) | ^ eval.c:3465:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3465 | SCM ident2sym(id) | ^ eval.c:3474:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3474 | SCM renamed_ident(id, env) | ^ eval.c:3511:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3511 | SCM m_syn_quote(xorig, env, ctxt) | ^ eval.c:3519:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3519 | SCM m_defsyntax(xorig, env, ctxt) | ^ eval.c:3533:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3533 | SCM m_let_syntax(xorig, env, ctxt) | ^ eval.c:3552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3552 | SCM m_letrec_syntax(xorig, env, ctxt) | ^ eval.c:3575:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3575 | SCM m_the_macro(xorig, env, ctxt) | ^ eval.c:3634:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3634 | SCM make_synt(name, flags, fcn) | ^ eval.c:3648:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3648 | SCM make_specfun(name, typ, flags) | ^ 143 warnings generated. sys.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | SCM i_setbuf0(port) /* should be called with DEFER_INTS active */ | ^ sys.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | long mode_bits(modes, cmodes) | ^ sys.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | SCM try_open_file(filename, modes) | ^ sys.c:206:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | SCM open_file(filename, modes) | ^ sys.c:215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | SCM close_port(port) | ^ sys.c:240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | SCM input_portp(x) | ^ sys.c:246:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | SCM output_portp(x) | ^ sys.c:252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | SCM port_closedp(port) | ^ sys.c:259:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | SCM scm_port_type(port) | ^ sys.c:285:11: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 285 | SYSCALL(tmpnam(name);); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:287:1: note: 'tmpnam' has been explicitly marked deprecated here 287 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /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))) | ^ sys.c:339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | SCM del_fil(str) | ^ sys.c:352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | void prinport(exp, port, type) | ^ sys.c:369:47: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | if (OPENP(exp) && tc16_fport==TYP16(exp) && isatty(fileno(STREAM(exp)))) | ^ sys.c:370:11: warning: call to undeclared function 'ttyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | lputs(ttyname(fileno(STREAM(exp))), port); | ^ sys.c:370:11: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 370 | lputs(ttyname(fileno(STREAM(exp))), port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:777:38: note: passing argument to parameter 's' here 777 | SCM_EXPORT void lputs P((const char *s, SCM port)); | ^ sys.c:396:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | static int stputc(c, p) | ^ sys.c:405:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | sizet stwrite(str, siz, num, p) | ^ sys.c:419:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | static int stputs(s, p) | ^ sys.c:425:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | static int stgetc(p) | ^ sys.c:433:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | static int stclose(p) | ^ sys.c:439:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | static int stungetc(c, p) | ^ sys.c:451:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | int noop0(stream) | ^ sys.c:456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | SCM mkstrport(pos, str, modes, caller) | ^ sys.c:476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | SCM cwos(proc) | ^ sys.c:485:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | SCM cwis(str, proc) | ^ sys.c:561:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | static int sfputc(c, p) | ^ sys.c:569:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | sizet sfwrite(str, siz, num, p) | ^ sys.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | static int sfputs(s, p) | ^ sys.c:585:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | int sfflush(stream) | ^ sys.c:594:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | static int sfgetc(p) | ^ sys.c:604:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | static int sfclose(p) | ^ sys.c:614:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | SCM mksfpt(pv, modes) | ^ sys.c:654:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | static int clputc(c, p) | ^ sys.c:659:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | static sizet clwrite(str, siz, num, p) | ^ sys.c:665:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | static int clputs(s, p) | ^ sys.c:670:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | static int clgetc(p) | ^ sys.c:698:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | static sizet syswrite(str, siz, num, p) | ^ sys.c:731:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | static int sysputs(s, p) | ^ sys.c:737:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | static int sysputc(c, p) | ^ sys.c:744:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | static int sysflush(p) | ^ sys.c:770:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | SCM mksafeport(maxlen, port) | ^ sys.c:784:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | int reset_safeport(sfp, maxlen, port) | ^ sys.c:796:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | static sizet safewrite(str, siz, num, p) | ^ sys.c:815:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | static int safeputs(s, p) | ^ sys.c:821:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | static int safeputc(c, p) | ^ sys.c:828:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | static int safeflush(p) | ^ sys.c:834:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | static SCM marksafep(ptr) | ^ sys.c:839:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | static int freesafep(ptr) | ^ sys.c:858:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | static int freeprint(exp, port, writing) | ^ sys.c:952:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | void add_final(final) | ^ sys.c:960:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | SCM scm_add_finalizer(value, finalizer) | ^ sys.c:984:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | static SCM make_stk_seg(size, contents) | ^ sys.c:1018:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | void scm_estk_reset(size) | ^ sys.c:1071:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | void scm_env_cons(x, y) | ^ sys.c:1089:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | void scm_env_cons2(w, x, y) | ^ sys.c:1110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | void scm_env_cons3(v, w, x, y) | ^ sys.c:1134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | void scm_env_v2lst(argc, argv) | ^ sys.c:1174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | void old_scm_extend_env(names) | ^ sys.c:1242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | void grew_lim(nm) | ^ sys.c:1256:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | static char *igc_for_alloc(where, olen, size, what) | ^ sys.c:1284:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | char *must_malloc(len, what) | ^ sys.c:1302:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | SCM must_malloc_cell(len, c, what) | ^ sys.c:1325:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | char *must_realloc(where, olen, len, what) | ^ sys.c:1346:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | void must_realloc_cell(z, olen, len, what) | ^ sys.c:1366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | void must_free(obj, len) | ^ sys.c:1387:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | SCM sym2vcell(sym) | ^ sys.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1398 | } | ^ sys.c:1401:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | SCM intern(name, len) | ^ sys.c:1433:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | SCM sysintern(name, val) | ^ sys.c:1464:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | SCM cons(x, y) | ^ sys.c:1473:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | SCM cons2(w, x, y) | ^ sys.c:1486:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | SCM acons(w, x, y) | ^ sys.c:1500:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | SCM makstr(len) | ^ sys.c:1516:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | SCM scm_maksubr(name, type, fcn) | ^ sys.c:1549:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | SCM make_subr(name, type, fcn) | ^ sys.c:1559:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | SCM makcclo(proc, len) | ^ sys.c:1604:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | SCM dynwind(thunk1, thunk2, thunk3) | ^ sys.c:1615:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1615 | void downd(to, delta) | ^ sys.c:1633:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | void dowinds(to) | ^ sys.c:1645:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1645 | sizet n; | ^ sys.c:1662:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1662 | if (!ncont) wta(MAKINUM(-1), (char *)NALLOC, s_cont); | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ sys.c:1682:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | void scm_dynthrow(tocont, arg1, arg2, rest) | ^ sys.c:1722:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | SCM obhash(obj) | ^ sys.c:1733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | SCM obunhash(obj) | ^ sys.c:1776:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | unsigned long strhash(str, len, n) | ^ sys.c:1796:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | static void fixconfig(s1, s2, s) | ^ sys.c:1826:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1826 | sizet init_heap_seg(seg_org, size) | ^ sys.c:1897:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | void scm_init_gra(gra, eltsize, len, maxlen, what) | ^ sys.c:1919:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | int scm_grow_gra(gra, elt) | ^ sys.c:1946:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | void scm_trim_gra(gra) | ^ sys.c:1960:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1960 | void scm_free_gra(gra) | ^ sys.c:1967:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | void gra_report1(gra) | ^ sys.c:1988:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | long newsmob(smob) | ^ sys.c:1994:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | long newptob(ptob) | ^ sys.c:2002:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | SCM scm_port_entry(stream, ptype, flags) | ^ sys.c:2060:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | SCM markcdr(ptr) | ^ sys.c:2065:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | sizet free0(ptr) | ^ sys.c:2070:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | SCM equal0(ptr1, ptr2) | ^ sys.c:2078:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2078 | void init_storage(stack_start_ptr, init_heap_size) | ^ sys.c:2178:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2178 | sysintern("most-negative-fixnum", (SCM)MAKINUM(MOST_NEGATIVE_FIXNUM)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ sys.c:2293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | SCM gc(arg) | ^ sys.c:2305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | void scm_run_finalizers(exiting) | ^ sys.c:2347:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2347 | void igc(what, basecont) | ^ sys.c:2478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2478 | void scm_protect_temp(ptr) | ^ sys.c:2485:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2485 | void gc_mark(p) | ^ sys.c:2617:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2617 | void mark_locations(x, n) | ^ sys.c:2624:22: warning: cast to smaller integer type 'int' from 'SCM *' (aka 'long *') [-Wpointer-to-int-cast] 2624 | while(0 <= --m) if (CELLP(*(SCM **)&x[m])) { | ^~~~~~~~~~~~~~~~~~~~~ ./scm.h:301:20: note: expanded from macro 'CELLP' 301 | #define CELLP(x) (!NCELLP(x)) | ^~~~~~~~~ ./scm.h:302:39: note: expanded from macro 'NCELLP' 302 | #define NCELLP(x) ((sizeof(cell)-1) & (int)(x)) | ^~~~~~~~ sys.c:2640:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2640 | static void gc_sweep(contin_bad) | ^ sys.c:2837:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2837 | static void mark_syms(v) | ^ sys.c:2869:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2869 | static void mark_sym_values(v) | ^ sys.c:2884:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2884 | static void sweep_symhash(v) | ^ sys.c:2910:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2910 | static void mark_finalizers(finalizers, pending) | ^ sys.c:2964:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2964 | static void mark_port_table(port) | ^ sys.c:3032:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | static void egc_copy(px) | ^ sys.c:3058:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3058 | static void egc_copy_locations(ve, len) | ^ sys.c:3073:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3073 | static void egc_copy_stack(stk, len) | ^ 116 warnings generated. subr.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | SCM lnot(x) | ^ subr.c:94:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | SCM booleanp(obj) | ^ subr.c:101:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | SCM eq(x, y) | ^ subr.c:108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | SCM consp(x) | ^ subr.c:114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | SCM setcar(pair, value) | ^ subr.c:121:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | SCM setcdr(pair, value) | ^ subr.c:128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | SCM nullp(x) | ^ subr.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | long ilength(sx) | ^ subr.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | SCM listp(x) | ^ subr.c:158:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | SCM list(objs) | ^ subr.c:163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | SCM length(x) | ^ subr.c:170:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | SCM append(args) | ^ subr.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | SCM reverse(lst) | ^ subr.c:209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | SCM list_ref(lst, k) | ^ subr.c:220:8: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 220 | erout: ASRTER(NIMP(lst) && CONSP(lst), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | NULLP(lst)?k:lst, NULLP(lst)?OUTOFRANGE:ARG1, s_list_ref); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1123:85: note: expanded from macro 'ASRTER' 1123 | # define ASRTER(_cond, _arg, _pos, _subr) if (SCM_EXPECT_FALSE(!(_cond))) wta(_arg, (char *)(_pos), _subr); | ^~~~~~~~~~~~~~ subr.c:224:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | SCM memq(x, lst) | ^ subr.c:234:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | SCM member(x, lst) | ^ subr.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | SCM assq(x, alist) | ^ subr.c:257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | SCM assoc(x, alist) | ^ subr.c:272:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | SCM promisep(x) | ^ subr.c:278:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | SCM symbolp(x) | ^ subr.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | SCM symbol2string(s) | ^ subr.c:290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | SCM string2symbol(s) | ^ subr.c:298:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | SCM exactp(x) | ^ subr.c:307:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | SCM oddp(n) | ^ subr.c:320:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | SCM evenp(n) | ^ subr.c:333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | SCM lquotient(x, y) | ^ subr.c:403:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | SCM lremainder(x, y) | ^ subr.c:444:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | SCM modulo(x, y) | ^ subr.c:456:9: warning: variable 'yy' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 456 | if (!(z = INUM(y))) goto ov; | ^~~~~~~~~~~~~~ subr.c:476:15: note: uninitialized use occurs here 476 | z = INUM(x)%yy; | ^~ subr.c:456:5: note: remove the 'if' if its condition is always false 456 | if (!(z = INUM(y))) goto ov; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ subr.c:447:19: note: initialize the variable 'yy' to silence this warning 447 | register long yy, z; | ^ | = 0 subr.c:481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | SCM lgcd(x, y) | ^ subr.c:539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | SCM llcm(n1, n2) | ^ subr.c:596:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | SCM scm_copy_big_dec(b, sign) | ^ subr.c:615:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | SCM scm_copy_smaller(x, nx, zsgn) | ^ subr.c:633:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | SCM scm_big_ior(x, nx, xsgn, bigy) | ^ subr.c:665:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | SCM scm_big_xor(x, nx, xsgn, bigy) | ^ subr.c:697:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | SCM scm_big_and(x, nx, xsgn, bigy, zsgn) | ^ subr.c:741:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | SCM scm_big_test(x, nx, xsgn, bigy) | ^ subr.c:785:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | static SCM scm_copy_big_2scomp(x, blen, sign) | ^ subr.c:854:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | static void scm_2scomp1(b) | ^ subr.c:873:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | SCM scm_big_ash(x, cnt) | ^ subr.c:891:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 891 | if (blen <= -cnt) return sign ? MAKINUM(-1) : INUM0; | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:940:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | SCM scm_logior(x, y) | ^ subr.c:989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | SCM scm_logand(x, y) | ^ subr.c:993:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 993 | if (UNBNDP(x)) return MAKINUM(-1); | ^~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1038:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | SCM scm_logxor(x, y) | ^ subr.c:1080:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | SCM scm_logtest(x, y) | ^ subr.c:1118:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | SCM scm_logbitp(index, j1) | ^ subr.c:1149:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | SCM scm_copybit(index, j1, bit) | ^ subr.c:1187:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | SCM scm_lognot(n) | ^ subr.c:1190:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1190 | return difference(MAKINUM(-1L), n); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1193:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | SCM scm_ash(n, cnt) | ^ subr.c:1223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | SCM scm_bitfield(n, start, end) | ^ subr.c:1263:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | SCM scm_bitif(mask, n0, n1) | ^ subr.c:1278:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | SCM scm_copybitfield(to, from, rest) | ^ subr.c:1315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | SCM scm_logcount(n) | ^ subr.c:1324:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1324 | if (BIGSIGN(n)) return scm_logcount(difference(MAKINUM(-1L), n)); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | SCM scm_intlength(n) | ^ subr.c:1349:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1349 | if (BIGSIGN(n)) return scm_intlength(difference(MAKINUM(-1L), n)); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ subr.c:1363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | SCM charp(x) | ^ subr.c:1368:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | SCM char_lessp(x, y) | ^ subr.c:1375:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | SCM char_leqp(x, y) | ^ subr.c:1382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | SCM char_grp(x, y) | ^ subr.c:1389:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | SCM char_geqp(x, y) | ^ subr.c:1396:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | SCM chci_eq(x, y) | ^ subr.c:1403:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | SCM chci_lessp(x, y) | ^ subr.c:1410:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | SCM chci_leqp(x, y) | ^ subr.c:1417:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | SCM chci_grp(x, y) | ^ subr.c:1424:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | SCM chci_geqp(x, y) | ^ subr.c:1431:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | SCM char_alphap(chr) | ^ subr.c:1437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | SCM char_nump(chr) | ^ subr.c:1443:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | SCM char_whitep(chr) | ^ subr.c:1449:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | SCM char_upperp(chr) | ^ subr.c:1455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | SCM char_lowerp(chr) | ^ subr.c:1461:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | SCM char2int(chr) | ^ subr.c:1467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1467 | SCM int2char(n) | ^ subr.c:1475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | SCM char_upcase(chr) | ^ subr.c:1481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | SCM char_downcase(chr) | ^ subr.c:1488:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | SCM stringp(x) | ^ subr.c:1494:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | SCM string(chrs) | ^ subr.c:1509:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | SCM make_string(k, chr) | ^ subr.c:1525:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | SCM st_length(str) | ^ subr.c:1531:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | SCM st_ref(str, k) | ^ subr.c:1539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | SCM st_set(str, k, chr) | ^ subr.c:1549:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | SCM st_equal(s1, s2) | ^ subr.c:1563:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | SCM stci_equal(s1, s2) | ^ subr.c:1577:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | SCM st_lessp(s1, s2) | ^ subr.c:1597:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | SCM st_leqp(s1, s2) | ^ subr.c:1602:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1602 | SCM st_grp(s1, s2) | ^ subr.c:1607:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | SCM st_geqp(s1, s2) | ^ subr.c:1612:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | SCM stci_lessp(s1, s2) | ^ subr.c:1632:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | SCM stci_leqp(s1, s2) | ^ subr.c:1637:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | SCM stci_grp(s1, s2) | ^ subr.c:1642:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | SCM stci_geqp(s1, s2) | ^ subr.c:1647:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | SCM substring(str, start, end) | ^ subr.c:1660:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | SCM st_append(args) | ^ subr.c:1684:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | SCM vectorp(x) | ^ subr.c:1690:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | SCM vector_length(v) | ^ subr.c:1696:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | SCM vector(l) | ^ subr.c:1708:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1708 | SCM vector_ref(v, k) | ^ subr.c:1716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | SCM vector_set(v, k, obj) | ^ subr.c:1726:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | SCM make_vector(k, fill) | ^ subr.c:1750:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1750 | SCM mkbig(nlen, sign) | ^ subr.c:1763:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | SCM big2inum(b, l) | ^ subr.c:1777:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | SCM adjbig(b, nlen) | ^ subr.c:1791:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1791 | SCM normbig(b) | ^ subr.c:1800:31: warning: while loop has empty body [-Wempty-body] 1800 | while (nlen-- && !zds[nlen]); nlen++; | ^ subr.c:1800:31: note: put the semicolon on a separate line to silence this warning subr.c:1806:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | SCM copybig(b, sign) | ^ subr.c:1816:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | SCM long2big(n) | ^ subr.c:1830:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | SCM ulong2big(n) | ^ subr.c:1844:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | int bigcomp(x, y) | ^ subr.c:1862:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | long pseudolong(x) | ^ subr.c:1886:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | SCM addbig(x, nx, xsgn, bigy, sgny) | ^ subr.c:1934:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | SCM mulbig(x, nx, y, ny, sgn) | ^ subr.c:1957:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1957 | unsigned int divbigdig(ds, h, div) | ^ subr.c:1960:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter] 1960 | BIGDIG div; | ^ ./scm.h:1077:66: note: previous declaration is here 1077 | SCM_EXPORT unsigned int divbigdig P((BIGDIG *ds, sizet h, BIGDIG div)); | ^ subr.c:1970:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1970 | SCM divbigint(x, z, sgn, mode) | ^ subr.c:1996:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | SCM divbigbig(x, nx, y, ny, sgn, modes) | ^ subr.c:2225:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2225 | void init_iprocs(subra, type) | ^ 119 warnings generated. debug.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | SCM scm_env_rlookup(addr, stenv, what) | ^ debug.c:109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | SCM scm_env_addprop(prop, val, env) | ^ debug.c:116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | SCM scm_env_getprop(prop, env) | ^ debug.c:133:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | static SCM prinhead(x, port, writing) | ^ debug.c:143:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | static void prinbindings(names, inits, init_env, | ^ debug.c:167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | void scm_princode(code, env, port, writing) | ^ debug.c:313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | void scm_princlosure(proc, port, writing) | ^ debug.c:347:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | SCM scm_int2linum(n) | ^ debug.c:356:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | SCM scm_linum2int(linum) | ^ debug.c:363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | SCM scm_linump(obj) | ^ debug.c:370:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | SCM scm_remove_linums(x) | ^ debug.c:403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | long num_frames(estk, i) | ^ debug.c:416:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | SCM *estk_frame(estk, i, nf) | ^ debug.c:434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | SCM stacktrace1(estk, i) | ^ debug.c:470:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | SCM *cont_frame(contin, nf) | ^ debug.c:482:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | SCM scm_stack_trace(contin) | ^ debug.c:503:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | SCM scm_frame_trace(contin, nf) | ^ debug.c:520:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | SCM scm_frame2env(contin, nf) | ^ debug.c:533:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | SCM scm_frame_eval(contin, nf, expr) | ^ debug.c:553:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | SCM scm_scope_trace(env) | ^ debug.c:620:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | SCM scm_env_annotation(var, stenv) | ^ debug.c:682:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | SCM scm_wrapcode(code, env) | ^ debug.c:692:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | static int princodeptr(exp, port, writing) | ^ 23 warnings generated. unif.c:69:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | SCM resizuve(vect, len) | ^ unif.c:140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | SCM makflo (x) | ^ unif.c:141:12: warning: promoted type 'double' of K&R function parameter is not compatible with the parameter type 'float' declared in a previous prototype [-Wknr-promoted-parameter] 141 | float x; | ^ ./scm.h:1005:33: note: previous declaration is here 1005 | SCM_EXPORT SCM makflo P((float x)); | ^ unif.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | long scm_prot2type(prot) | ^ unif.c:185:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | SCM make_uve(k, prot) | ^ unif.c:239:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | SCM arrayp(v, prot) | ^ unif.c:271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | SCM array_rank(ra) | ^ unif.c:286:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | SCM array_dims(ra) | ^ unif.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | long aind(ra, args, what) | ^ unif.c:341:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | SCM make_ra(ndim) | ^ unif.c:356:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | SCM shap2ra(args, what) | ^ unif.c:390:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | int rafill(ra, fill, ignore) | ^ unif.c:522:12: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] 522 | sizet k, vlen = 1; | ^ unif.c:519:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | SCM dims2ura(dims, prot, fill) | ^ unif.c:576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | void ra_set_contp(ra) | ^ unif.c:592:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | SCM make_sh_array(oldra, mapfunc, dims) | ^ unif.c:692:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | SCM trans_array(args) | ^ unif.c:755:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | SCM encl_array(axes) | ^ unif.c:813:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | SCM array_inbp(args) | ^ unif.c:855:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | SCM aref(v, args) | ^ unif.c:860:5: warning: variable 'pos' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 860 | ASRTGO(NULLP(args), badarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1124:36: note: expanded from macro 'ASRTGO' 1124 | # define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:467:32: note: expanded from macro 'SCM_EXPECT_FALSE' 467 | #define SCM_EXPECT_FALSE(expr) (__builtin_expect(expr, 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unif.c:882:23: note: uninitialized use occurs here 882 | outrng: wta(MAKINUM(pos), (char *)OUTOFRANGE, s_aref); | ^~~ ./scmfig.h:590:24: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ^ unif.c:860:5: note: remove the 'if' if its condition is always false 860 | ASRTGO(NULLP(args), badarg); | ^ ./scm.h:1124:32: note: expanded from macro 'ASRTGO' 1124 | # define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label; | ^ unif.c:858:11: note: initialize the variable 'pos' to silence this warning 858 | long pos; | ^ | = 0 unif.c:940:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | SCM scm_array_ref(args) | ^ unif.c:949:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | SCM cvref(v, pos, last) | ^ unif.c:1058:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | SCM aset(v, obj, args) | ^ unif.c:1098:38: warning: call to undeclared function 'num2char'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1098 | ((signed char *)VELTS(v))[pos] = num2char(obj, (char *)ARG2, s_aset); break; | ^ unif.c:1062:3: warning: variable 'pos' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1062 | ASRTGO(NIMP(v), badarg1); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1124:36: note: expanded from macro 'ASRTGO' 1124 | # define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:467:32: note: expanded from macro 'SCM_EXPECT_FALSE' 467 | #define SCM_EXPECT_FALSE(expr) (__builtin_expect(expr, 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unif.c:1081:23: note: uninitialized use occurs here 1081 | outrng: wta(MAKINUM(pos), (char *)OUTOFRANGE, s_aset); | ^~~ ./scmfig.h:590:24: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ^ unif.c:1062:3: note: remove the 'if' if its condition is always false 1062 | ASRTGO(NIMP(v), badarg1); | ^ ./scm.h:1124:32: note: expanded from macro 'ASRTGO' 1124 | # define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label; | ^ unif.c:1061:11: note: initialize the variable 'pos' to silence this warning 1061 | long pos; | ^ | = 0 unif.c:1147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | SCM array_contents(ra, strict) | ^ unif.c:1184:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | SCM uve_read(v, port) | ^ unif.c:1257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | SCM uve_write(v, port) | ^ unif.c:1321:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | SCM lcount(item, seq) | ^ unif.c:1381:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | SCM bit_position(item, v, k) | ^ unif.c:1396:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1396 | if (0==len) return MAKINUM(-1L); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ unif.c:1450:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | SCM bit_set(v, kv, obj) | ^ unif.c:1492:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | SCM bit_count(v, kv, obj) | ^ unif.c:1538:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | SCM bit_inv(v) | ^ unif.c:1555:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | SCM strup(v) | ^ unif.c:1573:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | SCM strdown(v) | ^ unif.c:1592:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1592 | SCM strcap(v) | ^ unif.c:1618:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | SCM istr2bve(str, len) | ^ unif.c:1641:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | static SCM ra2l(ra, base, k) | ^ unif.c:1666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | SCM array2list(v) | ^ unif.c:1749:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | SCM list2ura(ndim, prot, lst) | ^ unif.c:1782:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | static int l2ra(lst, ra, base, k) | ^ unif.c:1813:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1813 | static void rapr1(ra, j, k, port, writing) | ^ unif.c:1914:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | int raprin1(exp, port, writing) | ^ unif.c:2006:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2006 | SCM array_prot(ra) | ^ unif.c:2022:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2022 | case tc7_VfixZ32: return MAKINUM(-32L); | ^~~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ unif.c:2024:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2024 | case tc7_VfixZ16: return MAKINUM(-16L); | ^~~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ unif.c:2026:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2026 | case tc7_VfixZ8: return MAKINUM(-8L); | ^~~~~~~~~~~~ ./scmfig.h:590:26: note: expanded from macro 'MAKINUM' 590 | # define MAKINUM(x) (((x)<<2)+2L) | ~~~^ unif.c:2041:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | SCM scm_logaref(args) | ^ unif.c:2077:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | SCM scm_logaset(ra, obj, args) | ^ unif.c:2161:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | static SCM markra(ptr) | ^ unif.c:2166:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | static sizet freera(ptr) | ^ 53 warnings generated. rope.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | SCM long2num(sl) | ^ rope.c:65:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | SCM ulong2num(sl) | ^ rope.c:83:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | unsigned char num2uchar(num, pos, s_caller) | ^ rope.c:91:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | unsigned short num2ushort(num, pos, s_caller) | ^ rope.c:99:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | unsigned long num2ulong(num, pos, s_caller) | ^ rope.c:129:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 129 | } | ^ rope.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | long num2long(num, pos, s_caller) | ^ rope.c:161:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 161 | } | ^ rope.c:162:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | short num2short(num, pos, s_caller) | ^ rope.c:170:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 170 | } | ^ rope.c:171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | signed char num2char(num, pos, s_caller) | ^ rope.c:179:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 179 | } | ^ rope.c:181:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | double num2dbl(num, pos, s_caller) | ^ rope.c:193:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 193 | } | ^ rope.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | SCM makfromstr(src, len) | ^ rope.c:208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | SCM makfrom0str(src) | ^ rope.c:216:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | SCM makfromstrs(argc, argv) | ^ rope.c:228:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | char **makargvfrmstrs(args, s_name) | ^ rope.c:248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | void must_free_argv(argv) | ^ rope.c:253:15: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 253 | must_free(argv[i], 1+strlen(argv[i])); | ^~~~~~~ ./scm.h:720:36: note: passing argument to parameter 'obj' here 720 | SCM_EXPORT void must_free P((char *obj, sizet len)); | ^ rope.c:259:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | SCM scm_evstr(str) | ^ rope.c:268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | void scm_ldstr(str) | ^ rope.c:277:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | int scm_ldfile(path) | ^ rope.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | int scm_ldprog(path) | ^ rope.c:296:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | unsigned long scm_addr(args, s_name) | ^ rope.c:357:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | unsigned long scm_base_addr(v, s_name) | ^ rope.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | int scm_cell_p(x) | ^ rope.c:436:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | SCM scm_gc_protect(obj) | ^ 28 warnings generated. unexelf.c:426:10: fatal error: 'elf.h' file not found 426 | #include | ^~~~~~~ 1 error generated. x.c:297:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | SCM make_xwindow(display, screen_number, win, pxmp, rootp) | ^ x.c:320:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | static SCM mark_xwindow(ptr) | ^ x.c:326:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | static sizet free_xwindow(ptr) | ^ x.c:344:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | SCM make_xcolormap(sdpy, cmp) | ^ x.c:361:51: warning: incompatible integer to pointer conversion passing 'SCM' (aka 'long') to parameter of type 'const char *' [-Wint-conversion] 361 | XSaveContext(XDISPLAY(sdpy), (XID)cmp, xtc_cmp, z); | ^ /var/tmp/work/lang/scm/work/.buildlink/include/X11/Xutil.h:581:1: note: passing argument to parameter here 581 | ); | ^ x.c:365:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | static SCM mark_xcolormap(ptr) | ^ x.c:374:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | static sizet free_xcolormap(ptr) | ^ x.c:385:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | SCM make_xdisplay(d) | ^ x.c:422:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | static SCM mark_xdisplay(ptr) | ^ x.c:444:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | static sizet free_xdisplay(ptr) | ^ x.c:460:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | SCM make_xgcontext(d, screen_number, gc, rootp) | ^ x.c:484:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | static SCM mark_xgcontext(ptr) | ^ x.c:494:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | static sizet free_xgcontext(ptr) | ^ x.c:508:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | SCM make_xcursor(display, cursor) | ^ x.c:524:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | static SCM mark_xcursor(ptr) | ^ x.c:530:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | static sizet free_xcursor(ptr) | ^ x.c:542:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | SCM make_xfont(display, font, name) | ^ x.c:560:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | static SCM mark_xfont(ptr) | ^ x.c:567:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | static sizet free_xfont(ptr) | ^ x.c:580:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | SCM make_xvisual(vsl) | ^ x.c:592:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | SCM CCC2SCM_P(ccc) | ^ x.c:600:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | SCM CCC2SCM(ccc) | ^ x.c:609:47: warning: incompatible integer to pointer conversion passing 'SCM' (aka 'long') to parameter of type 'const char *' [-Wint-conversion] 609 | XSaveContext(ccc->dpy, (XID)ccc, xtc_ccc, s_ccc); | ^~~~~ /var/tmp/work/lang/scm/work/.buildlink/include/X11/Xutil.h:581:1: note: passing argument to parameter here 581 | ); | ^ x.c:614:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | static sizet free_xccc(ptr) | ^ x.c:623:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | SCM make_xevent(e) | ^ x.c:638:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | sizet x_free_xevent(ptr) | ^ x.c:652:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | void scm2XPoint(signp, dat, ipr, pos, s_caller) | ^ x.c:702:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | int scm2XColor(s_dat, xclr) | ^ x.c:734:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | int scm2xpointslen(sara, s_caller) | ^ x.c:750:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | void scm2display_screen(dat, optidx, dspscn, s_caller) | ^ x.c:778:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | SCM thevalue(obj) | ^ x.c:786:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | Pixmap thepxmap(obj, s_caller) | ^ x.c:795:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | Font thefont(obj, s_caller) | ^ x.c:802:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | Colormap thecmap(obj, s_caller) | ^ x.c:810:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | Cursor thecsr(obj, s_caller) | ^ x.c:818:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | Bool thebool(obj, s_caller) | ^ x.c:826:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | int theint(obj, s_caller) | ^ x.c:834:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | int theuint(obj, s_caller) | ^ x.c:843:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | static int args2valmask(oargs, s_caller) | ^ x.c:858:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | static int args2xgcvalues(sgc, vlu, oargs) | ^ x.c:927:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | static int args2winattribs(vlu, oargs) | ^ x.c:968:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | static int args2wincfgs(vlu, oargs) | ^ x.c:1001:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | SCM x_open_display(dpy_name) | ^ x.c:1010:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | SCM x_display_debug(sd, si) | ^ x.c:1013:9: warning: variable 'previous_after_function' set but not used [-Wunused-but-set-variable] 1013 | int (*previous_after_function)(); | ^ x.c:1020:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | SCM x_default_screen(sdpy) | ^ x.c:1027:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | SCM x_create_window(swin, spos, sargs) | ^ x.c:1077:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | SCM x_create_pixmap(obj, s_size, s_depth) | ^ x.c:1106:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | SCM x_window_ref(oargs) | ^ x.c:1147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | SCM x_window_set(args) | ^ x.c:1164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | SCM x_window_geometry(swin) | ^ x.c:1182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | SCM x_window_geometry_set(args) | ^ x.c:1199:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | SCM x_close(obj) | ^ x.c:1220:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | SCM x_flush(sd, si) | ^ x.c:1235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | SCM x_create_colormap(swin, s_vis, s_alloc) | ^ x.c:1252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | SCM x_recreate_colormap(s_cm) | ^ x.c:1261:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | SCM x_install_colormap(s_cm, s_flg) | ^ x.c:1293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | SCM x_alloc_color_cells(scmap, spxls, sargs) | ^ x.c:1315:10: warning: passing 'SCM *' (aka 'long *') to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] 1315 | VELTS(pxra), npixels, | ^~~~~~~~~~~ ./scm.h:455:18: note: expanded from macro 'VELTS' 455 | #define VELTS(x) ((SCM *)CDR(x)) | ^~~~~~~~~~~~~~~ /var/tmp/work/lang/scm/work/.buildlink/include/X11/Xlib.h:1988:39: note: passing argument to parameter here 1988 | unsigned long* /* pixels_return */, | ^ x.c:1328:7: warning: passing 'SCM *' (aka 'long *') to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] 1328 | VELTS(plra), nplanes, VELTS(pxra), npixels); | ^~~~~~~~~~~ ./scm.h:455:18: note: expanded from macro 'VELTS' 455 | #define VELTS(x) ((SCM *)CDR(x)) | ^~~~~~~~~~~~~~~ /var/tmp/work/lang/scm/work/.buildlink/include/X11/Xlib.h:1978:44: note: passing argument to parameter here 1978 | unsigned long* /* plane_masks_return */, | ^ x.c:1328:29: warning: passing 'SCM *' (aka 'long *') to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] 1328 | VELTS(plra), nplanes, VELTS(pxra), npixels); | ^~~~~~~~~~~ ./scm.h:455:18: note: expanded from macro 'VELTS' 455 | #define VELTS(x) ((SCM *)CDR(x)) | ^~~~~~~~~~~~~~~ /var/tmp/work/lang/scm/work/.buildlink/include/X11/Xlib.h:1980:39: note: passing argument to parameter here 1980 | unsigned long* /* pixels_return */, | ^ x.c:1333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | SCM x_free_color_cells(scmap, spxls, sargs) | ^ x.c:1347:36: warning: passing 'SCM *' (aka 'long *') to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] 1347 | XFreeColors(xcm->dpy, xcm->cm, VELTS(spxls), INUM(spxls), planes); | ^~~~~~~~~~~~ ./scm.h:455:18: note: expanded from macro 'VELTS' 455 | #define VELTS(x) ((SCM *)CDR(x)) | ^~~~~~~~~~~~~~~ /var/tmp/work/lang/scm/work/.buildlink/include/X11/Xlib.h:2538:32: note: passing argument to parameter here 2538 | unsigned long* /* pixels */, | ^ x.c:1352:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | SCM x_find_color(scmap, dat) | ^ x.c:1370:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | SCM x_color_set(scmap, s_pix, dat) | ^ x.c:1388:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | SCM x_color_ref(scmap, sidx) | ^ x.c:1407:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | SCM x_map_window(swin) | ^ x.c:1416:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | SCM x_map_subwindows(swin) | ^ x.c:1425:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | SCM x_unmap_window(swin) | ^ x.c:1434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | SCM x_unmap_subwindows(swin) | ^ x.c:1444:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1444 | SCM x_create_gc(args) | ^ x.c:1465:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | SCM x_gc_set(args) | ^ x.c:1481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | SCM x_copy_gc(dst, src, args) | ^ x.c:1497:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | SCM x_gc_ref(oargs) | ^ x.c:1568:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | SCM x_create_cursor(sdpy, scsr, sargs) | ^ x.c:1631:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | SCM x_load_font(sdpy, fntnam) | ^ x.c:1644:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1644 | SCM x_protocol_version(sd, si) | ^ x.c:1652:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | SCM x_server_vendor(sd, si) | ^ x.c:1659:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | SCM x_vendor_release(sd, si) | ^ x.c:1666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | int x_scm_error_handler(display, xee) | ^ x.c:1679:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | SCM x_q_length(sd, si) | ^ x.c:1686:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | SCM x_pending(sd, si) | ^ x.c:1693:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | SCM x_events_queued(sd, si) | ^ x.c:1700:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | SCM x_next_event(sd, si) | ^ x.c:1709:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1709 | SCM x_peek_event(sd, si) | ^ x.c:1720:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | SCM x_screen_count(sd, si) | ^ x.c:1727:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1727 | SCM x_screen_cells(sd, si) | ^ x.c:1734:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1734 | SCM x_screen_depth(sd, si) | ^ x.c:1743:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | SCM x_screen_depths(sd, si) | ^ x.c:1758:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1758 | SCM x_screen_size(sd, si) | ^ x.c:1767:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | SCM x_screen_dimm(sd, si) | ^ x.c:1776:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | SCM x_screen_black(sd, si) | ^ x.c:1785:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | SCM x_screen_white(sd, si) | ^ x.c:1795:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1795 | XVisualInfo *visual2visualinfo(dsp, vis) | ^ x.c:1810:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1810 | SCM x_make_visual(sd, sdepth, sclass) | ^ x.c:1829:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1829 | static sizet free_visual(ptr) | ^ x.c:1835:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1835 | SCM x_visual_geometry(svsl) | ^ x.c:1845:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | SCM x_visual_class(svsl) | ^ x.c:1854:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1854 | SCM x_root_window(sdpy, sscr) | ^ x.c:1865:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | SCM x_default_colormap(sdpy, sscr) | ^ x.c:1876:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1876 | SCM x_default_gcontext(sdpy, sscr) | ^ x.c:1887:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | SCM x_default_visual(sdpy, sscr) | ^ x.c:1898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | SCM x_default_ccc(sdpy, sscr) | ^ x.c:1929:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1929 | SCM x_propdata2scm(type, format, nitems, data) | ^ x.c:1958:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1958 | case 8: return makfrom0str(data); | ^~~~ ./scm.h:1050:44: note: passing argument to parameter 'scr' here 1050 | SCM_EXPORT SCM makfrom0str P((const char *scr)); | ^ x.c:1982:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1982 | SCM x_get_window_property(swin, sprop, sargs) | ^ x.c:2021:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2021 | SCM x_list_properties(swin) | ^ x.c:2046:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2046 | SCM x_clear_area(swin, spos, sargs) | ^ x.c:2060:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | SCM x_fill_rectangle(swin, sgc, sargs) | ^ x.c:2075:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | void xldraw_string(sdbl, sgc, sargs, proc, s_caller) | ^ x.c:2088:7: 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] 2088 | proc(XWINDISPLAY(sdbl), XWINDOW(sdbl), XGCONTEXT(sgc), | ^ x.c:2091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2091 | SCM x_draw_string(sdbl, sgc, sargs) | ^ x.c:2094:35: warning: incompatible function pointer types passing 'int (*)(Display *, Drawable, GC, int, int, const char *, int)' (aka 'int (*)(struct _XDisplay *, unsigned long, struct _XGC *, int, int, const char *, int)') to parameter of type 'int (*)(void)' [-Wincompatible-function-pointer-types] 2094 | xldraw_string(sdbl, sgc, sargs, &XDrawString, s_x_draw_string); | ^~~~~~~~~~~~ x.c:2097:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | SCM x_image_string(sdbl, sgc, sargs) | ^ x.c:2100:35: warning: incompatible function pointer types passing 'int (*)(Display *, Drawable, GC, int, int, const char *, int)' (aka 'int (*)(struct _XDisplay *, unsigned long, struct _XGC *, int, int, const char *, int)') to parameter of type 'int (*)(void)' [-Wincompatible-function-pointer-types] 2100 | xldraw_string(sdbl, sgc, sargs, &XDrawImageString, s_x_image_string); | ^~~~~~~~~~~~~~~~~ x.c:2104:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2104 | SCM x_draw_points(sdbl, sgc, sargs) | ^ x.c:2136:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2136 | SCM xldraw_lines(sdbl, sgc, sargs, funcod, s_caller) | ^ x.c:2195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2195 | SCM x_draw_segments(sdbl, sgc, sargs) | ^ x.c:2200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | SCM x_draw_lines(sdbl, sgc, sargs) | ^ x.c:2205:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2205 | SCM x_fill_poly(sdbl, sgc, sargs) | ^ x.c:2212:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | SCM x_read_bitmap_file(sdbl, sfname) | ^ x.c:2232:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2232 | SCM x_make_bool(f) | ^ x.c:2238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2238 | SCM x_event_ref(sevent, sfield) | ^ x.c:2260:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | static char *x__event_name(type) | ^ x.c:2269:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2269 | SCM x_event_keysym(sevent) | ^ x.c:2274:3: warning: variable 'ev' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 2274 | ASRTGO(NIMP(sevent) && XEVENTP(sevent), badarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scm.h:1124:36: note: expanded from macro 'ASRTGO' 1124 | # define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./scmfig.h:467:32: note: expanded from macro 'SCM_EXPECT_FALSE' 467 | #define SCM_EXPECT_FALSE(expr) (__builtin_expect(expr, 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x.c:2283:23: note: uninitialized use occurs here 2283 | ans = XLookupKeysym(ev, ev->state); | ^~ x.c:2274:3: note: remove the 'if' if its condition is always false 2274 | ASRTGO(NIMP(sevent) && XEVENTP(sevent), badarg); | ^ ./scm.h:1124:32: note: expanded from macro 'ASRTGO' 1124 | # define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label; | ^ x.c:2272:16: note: initialize the variable 'ev' to silence this warning 2272 | XKeyEvent *ev; | ^ | = NULL x.c:2290:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2290 | static int print_xevent(exp, f, writing) | ^ x.c:2300:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2300 | static int print_xdisplay(exp, f, writing) | ^ x.c:2313:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2313 | static int print_xwindow(exp, f, writing) | ^ x.c:2324:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | static int print_xcursor(exp, f, writing) | ^ x.c:2334:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2334 | static int print_xfont(exp, f, writing) | ^ x.c:2344:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2344 | static int print_xcolormap(exp, f, writing) | ^ x.c:2354:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2354 | static int print_xgcontext(exp, f, writing) | ^ x.c:2366:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2366 | char *xvisualclass2name(class) | ^ x.c:2380:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2380 | static int print_xvisual(exp, f, writing) | ^ x.c:2397:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2397 | static int print_xccc(exp, f, writing) | ^ 136 warnings generated. mv: rename scm to scm~: No such file or directory clang: error: no such file or directory: 'unexelf.o' *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/scm *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/scm