=> Bootstrap dependency digest>=20211023: found digest-20220214
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]
        wta(UNDEFINED, (char *)i, "");
                       ^~~~~~~~~
scm.c:280:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
  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 C2x [-Wdeprecated-non-prototype]
static SIGRETTYPE err_signal(sig)
                  ^
scm.c:312:22: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
      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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  pause();
  ^
scm.c:419:15: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *getenv();
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
int scm_ftime(time_buffer)
    ^
time.c:367:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return MAKINUM(-1);
           ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM char_readyp(port)
    ^
repl.c:513:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
    ASRTER(NIMP(port) && OPINPORTP(port) && (BUF0 & SCM_PORTFLAGS(port)),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
int handle_it(i)
    ^
repl.c:1291:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
    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 C2x [-Wdeprecated-non-prototype]
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]
             (isspace(initpath[0]) || ';'==initpath[0] || '('==initpath[0]))
              ^
repl.c:1392:8: note: include the header <ctype.h> 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM lperror(arg)
    ^
repl.c:2054:47: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
    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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  err_pos = pos;
          ^ ~~~
repl.c:2111:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  err_s_subr = s_subr;
             ^ ~~~~~~
repl.c:2116:24: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast]
           COOKIE(1) : COOKIE((int)pos));
                              ^~~~~~~~
./scm.h:286:21: note: expanded from macro 'COOKIE'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM sum(x, y)
    ^
scl.c:1665:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
scl.c:1667:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SCM difference(x, y)
    ^
scl.c:1797:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
scl.c:1799:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM divide(x, y)
    ^
scl.c:2128:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if ((MAKINUM(1L)==x) || (MAKINUM(-1L)==x)) return x;
                             ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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]
}
^
scl.c:2150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SCM scm_intexpt(z1, z2)
    ^
scl.c:2179:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else goto overflow;
        ^
scl.c:2161:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (MAKINUM(-1L)==z1) return BOOL_F==evenp(z2)?z1:acc;
      ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  SYSCALL(tmpnam(name););
          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here
__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.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
        #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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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]
    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]
    lputs(ttyname(fileno(STREAM(exp))), port);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:777:38: note: passing argument to parameter 's' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM sym2vcell(sym)
    ^
sys.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
sys.c:1401:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
void dowinds(to)
     ^
sys.c:1662:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (!ncont) wta(MAKINUM(-1), (char *)NALLOC, s_cont);
                  ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
void init_storage(stack_start_ptr, init_heap_size)
     ^
sys.c:2178:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        sysintern("most-negative-fixnum", (SCM)MAKINUM(MOST_NEGATIVE_FIXNUM));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
void mark_locations(x, n)
     ^
sys.c:2624:22: warning: cast to smaller integer type 'int' from 'SCM *' (aka 'long *') [-Wpointer-to-int-cast]
        while(0 <= --m) if (CELLP(*(SCM **)&x[m])) {
                            ^~~~~~~~~~~~~~~~~~~~~
./scm.h:301:20: note: expanded from macro 'CELLP'
#define CELLP(x) (!NCELLP(x))
                   ^~~~~~~~~
./scm.h:302:39: note: expanded from macro 'NCELLP'
#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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
SCM map(proc, arg1, args)
    ^
eval.c:3123:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
      ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_map);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
SCM for_each(proc, arg1, args)
    ^
eval.c:3170:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
      ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_for_each);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM list_ref(lst, k)
    ^
subr.c:220:8: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
erout:  ASRTER(NIMP(lst) && CONSP(lst),
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_logand(x, y)
    ^
subr.c:993:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (UNBNDP(x)) return MAKINUM(-1);
                          ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_lognot(n)
    ^
subr.c:1190:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  return difference(MAKINUM(-1L), n);
                    ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:162:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    must_free(argv[i], 1+strlen(argv[i]));
              ^~~~~~~
./scm.h:720:36: note: passing argument to parameter 'obj' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
char **script_process_argv(argc, argv)
       ^
script.c:386:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  nargv[0] = argv[0];
           ^ ~~~~~~~
script.c:401:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      nargv[nargi++] = argv[argi++];
                     ^ ~~~~~~~~~~~~
script.c:404:39: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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]
    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]
    nargc = script_count_argv(nargv);
                              ^~~~~
./scm.h:1092:51: note: passing argument to parameter 'argv' here
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]
  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]
  execpath = scm_find_execpath(nargc, nargv, script_arg);
                                      ^~~~~
./scm.h:798:69: note: passing argument to parameter 'argv' here
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]
  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]
    scm_init_from_argv(nargc, nargv, script_arg, iverbose, buf0stdin);
                              ^~~~~
./scm.h:791:69: note: passing argument to parameter 'argv' here
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 C2x [-Wdeprecated-non-prototype]
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)
 #<primitive-procedure boolean?>
    #<primitive-procedure char?>
       #<primitive-procedure null?>
          #<primitive-procedure number?>
             #<primitive-procedure pair?>
                #<primitive-procedure procedure?>
                   #<primitive-procedure string?>
                      #<primitive-procedure symbol?>
                         #<primitive-procedure vector?>
(#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)#<CLOSURE record-error "r4rstest.scm": (e) (set! errs (cons (list cur-section e) errs))>
(#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)
(#<primitive-procedure *> 3 4)  ==> 12
SECTION(4 1 4)
(#<CLOSURE <anon> "r4rstest.scm": (x) (+ x x)> 4)  ==> 8
(#<CLOSURE reverse-subtract "r4rstest.scm": (x y) (- y x)> 7 10)  ==> 3
(#<CLOSURE <anon> "r4rstest.scm": (y) (+ x y)> 6)  ==> 10
(#<CLOSURE <anon> "r4rstest.scm": x x> 3 4 5 6)  ==> (3 4 5 6)
(#<CLOSURE <anon> "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
(#<CLOSURE add3 "r4rstest.scm": (x) (#@+ #@x 3)> 6)  ==> (3 6)
(#<CLOSURE add3 "r4rstest.scm": (x) (#@+ #@x 3)> 6)  ==> 9
SECTION(5 2 2)
(define 45)  ==> 45
(#<CLOSURE foo "r4rstest.scm": () (#@define ((x 5))  x)>)  ==> 5
(define 34)  ==> 34
(#<CLOSURE foo "r4rstest.scm": () (#@define ((x 5))  x)>)  ==> 5
(define 34)  ==> 34
(#<CLOSURE foo "r4rstest.scm": (x) ((lambda () (define x 5) x)) x> 88)  ==> 88
(#<CLOSURE foo "r4rstest.scm": (x) (#@let ()  (#@define ((x 5))  #@x)) #@x> 4)  ==> 4
(define 34)  ==> 34
(internal-define 99)  ==> 99
(internal-define 77)  ==> 77
SECTION(6 1)
(#<primitive-procedure not> #t)  ==> #f
(#<primitive-procedure not> 3)  ==> #f
(#<primitive-procedure not> (3))  ==> #f
(#<primitive-procedure not> #f)  ==> #t
(#<primitive-procedure not> ())  ==> #f
(#<primitive-procedure not> ())  ==> #f
(#<primitive-procedure not> nil)  ==> #f
SECTION(6 2)
(#<primitive-procedure eqv?> a a)  ==> #t
(#<primitive-procedure eqv?> a b)  ==> #f
(#<primitive-procedure eqv?> 2 2)  ==> #t
(#<primitive-procedure eqv?> () ())  ==> #t
(#<primitive-procedure eqv?> 10000 10000)  ==> #t
(#<primitive-procedure eqv?> (1 . 2) (1 . 2))  ==> #f
(#<primitive-procedure eqv?> #<CLOSURE <anon> "r4rstest.scm": () 1> #<CLOSURE <anon> "r4rstest.scm": () 2>)  ==> #f
(#<primitive-procedure eqv?> #f nil)  ==> #f
(#<primitive-procedure eqv?> #<CLOSURE p "r4rstest.scm": (x) x> #<CLOSURE p "r4rstest.scm": (x) x>)  ==> #t
(#<primitive-procedure eqv?> #<CLOSURE <anon> "r4rstest.scm": () (set! n (+ n 1)) n> #<CLOSURE <anon> "r4rstest.scm": () (set! n (+ n 1)) n>)  ==> #t
(#<primitive-procedure eqv?> #<CLOSURE <anon> "r4rstest.scm": () (set! n (+ n 1)) n> #<CLOSURE <anon> "r4rstest.scm": () (set! n (+ n 1)) n>)  ==> #f
(#<primitive-procedure eqv?> #<CLOSURE f "r4rstest.scm": () (if (eqv? f g) (quote f) (quote both))> #<CLOSURE g "r4rstest.scm": () (if (eqv? f g) (quote g) (quote both))>)  ==> #f
(#<primitive-procedure eq?> a a)  ==> #t
(#<primitive-procedure eq?> (a) (a))  ==> #f
(#<primitive-procedure eq?> () ())  ==> #t
(#<primitive-procedure eq?> #<primitive-procedure car> #<primitive-procedure car>)  ==> #t
(#<primitive-procedure eq?> (a) (a))  ==> #t
(#<primitive-procedure eq?> #() #())  ==> #t
(#<primitive-procedure eq?> #<CLOSURE x "r4rstest.scm": (x) x> #<CLOSURE x "r4rstest.scm": (x) x>)  ==> #t
(#<primitive-procedure equal?> a a)  ==> #t
(#<primitive-procedure equal?> (a) (a))  ==> #t
(#<primitive-procedure equal?> (a (b) c) (a (b) c))  ==> #t
(#<primitive-procedure equal?> "abc" "abc")  ==> #t
(#<primitive-procedure equal?> 2 2)  ==> #t
(#<primitive-procedure equal?> #(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)
(#<primitive-procedure list?> (a b c))  ==> #t
(set-cdr! (a . 4))  ==> (a . 4)
(#<primitive-procedure eqv?> (a . 4) (a . 4))  ==> #t
(dot (a b c . d))  ==> (a b c . d)
(#<primitive-procedure list?> (a . 4))  ==> #f
(list? #f)  ==> #f
(#<primitive-procedure cons> a ())  ==> (a)
(#<primitive-procedure cons> (a) (b c d))  ==> ((a) b c d)
(#<primitive-procedure cons> "a" (b c))  ==> ("a" b c)
(#<primitive-procedure cons> a 3)  ==> (a . 3)
(#<primitive-procedure cons> (a b) c)  ==> ((a b) . c)
(#<primitive-procedure car> (a b c))  ==> a
(#<primitive-procedure car> ((a) b c d))  ==> (a)
(#<primitive-procedure car> (1 . 2))  ==> 1
(#<primitive-procedure cdr> ((a) b c d))  ==> (b c d)
(#<primitive-procedure cdr> (1 . 2))  ==> 2
(#<primitive-procedure list> a 7 c)  ==> (a 7 c)
(#<primitive-procedure list>)  ==> ()
(#<primitive-procedure length> (a b c))  ==> 3
(#<primitive-procedure length> (a (b) (c d e)))  ==> 3
(#<primitive-procedure length> ())  ==> 0
(#<primitive-procedure append> (x) (y))  ==> (x y)
(#<primitive-procedure append> (a) (b c d))  ==> (a b c d)
(#<primitive-procedure append> (a (b)) ((c)))  ==> (a (b) (c))
(#<primitive-procedure append>)  ==> ()
(#<primitive-procedure append> (a b) (c . d))  ==> (a b c . d)
(#<primitive-procedure append> () a)  ==> a
(#<primitive-procedure reverse> (a b c))  ==> (c b a)
(#<primitive-procedure reverse> (a (b c) d (e (f))))  ==> ((e (f)) d (b c) a)
(#<primitive-procedure list-ref> (a b c d) 2)  ==> c
(#<primitive-procedure memq> a (a b c))  ==> (a b c)
(#<primitive-procedure memq> b (a b c))  ==> (b c)
(#<primitive-procedure memq> a (b c d))  ==> #f
(#<primitive-procedure memq> (a) (b (a) c))  ==> #f
(#<primitive-procedure member> (a) (b (a) c))  ==> ((a) c)
(#<primitive-procedure memv> 101 (100 101 102))  ==> (101 102)
(#<primitive-procedure assq> a ((a 1) (b 2) (c 3)))  ==> (a 1)
(#<primitive-procedure assq> b ((a 1) (b 2) (c 3)))  ==> (b 2)
(#<primitive-procedure assq> d ((a 1) (b 2) (c 3)))  ==> #f
(#<primitive-procedure assq> (a) (((a)) ((b)) ((c))))  ==> #f
(#<primitive-procedure assoc> (a) (((a)) ((b)) ((c))))  ==> ((a))
(#<primitive-procedure assv> 5 ((2 3) (5 7) (11 13)))  ==> (5 7)
SECTION(6 4)
(#<primitive-procedure symbol?> a)  ==> #t
(standard-case #t)  ==> #t
(standard-case #t)  ==> #t
(#<primitive-procedure symbol->string> flying-fish)  ==> "flying-fish"
(#<primitive-procedure symbol->string> martin)  ==> "martin"
(#<primitive-procedure symbol->string> \Malvina)  ==> "Malvina"
(standard-case #t)  ==> #t
(string-set! "cb")  ==> "cb"
(#<primitive-procedure symbol->string> ab)  ==> "ab"
(#<primitive-procedure string->symbol> "ab")  ==> ab
(#<primitive-procedure eq?> mississippi mississippi)  ==> #t
(string->symbol #f)  ==> #f
(#<primitive-procedure string->symbol> "jollywog")  ==> jollywog
SECTION(6 5 5)
(#<primitive-procedure number?> 3)  ==> #t
(#<primitive-procedure complex?> 3)  ==> #t
(#<primitive-procedure real?> 3)  ==> #t
(#<primitive-procedure rational?> 3)  ==> #t
(#<primitive-procedure integer?> 3)  ==> #t
(#<primitive-procedure exact?> 3)  ==> #t
(#<primitive-procedure inexact?> 3)  ==> #f
(#<primitive-procedure integer-expt> 0 0)  ==> 1
(#<primitive-procedure integer-expt> 0 1)  ==> 0
(#<primitive-procedure integer-expt> 0 256)  ==> 0
(#<primitive-procedure integer-expt> -1 256)  ==> 1
(#<primitive-procedure integer-expt> -1 255)  ==> -1
(#<primitive-procedure integer-expt> -1 -256)  ==> 1
(#<primitive-procedure integer-expt> -1 -255)  ==> -1
(#<primitive-procedure integer-expt> 256 0)  ==> 1
(#<primitive-procedure integer-expt> -256 0)  ==> 1
(#<primitive-procedure integer-expt> 256 1)  ==> 256
(#<primitive-procedure integer-expt> -256 1)  ==> -256
(#<primitive-procedure integer-expt> 2 3)  ==> 8
(#<primitive-procedure integer-expt> -2 3)  ==> -8
(#<primitive-procedure integer-expt> 3 2)  ==> 9
(#<primitive-procedure integer-expt> -3 2)  ==> 9
(#<primitive-procedure => 22 22 22)  ==> #t
(#<primitive-procedure => 22 22)  ==> #t
(#<primitive-procedure => 34 34 35)  ==> #f
(#<primitive-procedure => 34 35)  ==> #f
(#<primitive-procedure >> 3 -6246)  ==> #t
(#<primitive-procedure >> 9 9 -2424)  ==> #f
(#<primitive-procedure >=> 3 -4 -6246)  ==> #t
(#<primitive-procedure >=> 9 9)  ==> #t
(#<primitive-procedure >=> 8 9)  ==> #f
(#<primitive-procedure <> -1 2 3 4 5 6 7 8)  ==> #t
(#<primitive-procedure <> -1 2 3 4 4 5 6 7)  ==> #f
(#<primitive-procedure <=> -1 2 3 4 5 6 7 8)  ==> #t
(#<primitive-procedure <=> -1 2 3 4 4 5 6 7)  ==> #t
(#<primitive-procedure <> 1 3 2)  ==> #f
(#<primitive-procedure >=> 1 3 2)  ==> #f
(#<primitive-procedure zero?> 0)  ==> #t
(#<primitive-procedure zero?> 1)  ==> #f
(#<primitive-procedure zero?> -1)  ==> #f
(#<primitive-procedure zero?> -100)  ==> #f
(#<primitive-procedure positive?> 4)  ==> #t
(#<primitive-procedure positive?> -4)  ==> #f
(#<primitive-procedure positive?> 0)  ==> #f
(#<primitive-procedure negative?> 4)  ==> #f
(#<primitive-procedure negative?> -4)  ==> #t
(#<primitive-procedure negative?> 0)  ==> #f
(#<primitive-procedure odd?> 3)  ==> #t
(#<primitive-procedure odd?> 2)  ==> #f
(#<primitive-procedure odd?> -4)  ==> #f
(#<primitive-procedure odd?> -1)  ==> #t
(#<primitive-procedure even?> 3)  ==> #f
(#<primitive-procedure even?> 2)  ==> #t
(#<primitive-procedure even?> -4)  ==> #t
(#<primitive-procedure even?> -1)  ==> #f
(#<primitive-procedure max> 34 5 7 38 6)  ==> 38
(#<primitive-procedure min> 3 5 5 330 4 -24)  ==> -24
(#<primitive-procedure +> 3 4)  ==> 7
(#<primitive-procedure +> 3)  ==> 3
(#<primitive-procedure +>)  ==> 0
(#<primitive-procedure *> 4)  ==> 4
(#<primitive-procedure *>)  ==> 1
(#<primitive-procedure -> 3 4)  ==> -1
(#<primitive-procedure -> 3)  ==> -3
(#<primitive-procedure abs> -7)  ==> 7
(#<primitive-procedure abs> 7)  ==> 7
(#<primitive-procedure abs> 0)  ==> 0
(#<primitive-procedure quotient> 35 7)  ==> 5
(#<primitive-procedure quotient> -35 7)  ==> -5
(#<primitive-procedure quotient> 35 -7)  ==> -5
(#<primitive-procedure quotient> -35 -7)  ==> 5
(#<primitive-procedure modulo> 13 4)  ==> 1
(#<primitive-procedure remainder> 13 4)  ==> 1
(#<primitive-procedure modulo> -13 4)  ==> 3
(#<primitive-procedure remainder> -13 4)  ==> -1
(#<primitive-procedure modulo> 13 -4)  ==> -3
(#<primitive-procedure remainder> 13 -4)  ==> 1
(#<primitive-procedure modulo> -13 -4)  ==> -1
(#<primitive-procedure remainder> -13 -4)  ==> -1
(#<primitive-procedure modulo> 0 86400)  ==> 0
(#<primitive-procedure modulo> 0 -86400)  ==> 0
(#<CLOSURE divtest "r4rstest.scm": (n1 n2) (= n1 (+ (* n2 (quotient n1 n2)) (remainder n1 n2)))> 238 9)  ==> #t
(#<CLOSURE divtest "r4rstest.scm": (n1 n2) (#@= #@n1 (#@+ (#@* #@n2 (#@quotient #@n1 #@n2)) (#@remainder #@n1 #@n2)))> -238 9)  ==> #t
(#<CLOSURE divtest "r4rstest.scm": (n1 n2) (#@= #@n1 (#@+ (#@* #@n2 (#@quotient #@n1 #@n2)) (#@remainder #@n1 #@n2)))> 238 -9)  ==> #t
(#<CLOSURE divtest "r4rstest.scm": (n1 n2) (#@= #@n1 (#@+ (#@* #@n2 (#@quotient #@n1 #@n2)) (#@remainder #@n1 #@n2)))> -238 -9)  ==> #t
(#<primitive-procedure gcd> 0 4)  ==> 4
(#<primitive-procedure gcd> -4 0)  ==> 4
(#<primitive-procedure gcd> 32 -36)  ==> 4
(#<primitive-procedure gcd>)  ==> 0
(#<primitive-procedure lcm> 32 -36)  ==> 288
(#<primitive-procedure lcm>)  ==> 1
SECTION(6 5 5)
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (string->number str)))  (cond ((not ans) #t) ((number? ans) #t) (else ans)))> "+#.#")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-#.#")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#.#")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "1/0")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-1/0")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "0/0")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "+1/0i")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-1/0i")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "0/0i")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "0/0-0/0i")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "1/0-1/0i")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "-1/0+1/0i")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#i")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#e")  ==> #t
(#<CLOSURE test-string->number "r4rstest.scm": (str) (#@define ((ans (#@string->number #@str)))  (#@cond ((#@not #@ans) #t) ((number? ans) #t) (#t ans)))> "#")  ==> #t
(#<CLOSURE test-string->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)
(#<primitive-procedure number->string> 0)  ==> "0"
(#<primitive-procedure number->string> 100)  ==> "100"
(#<primitive-procedure number->string> 256 16)  ==> "100"
(#<primitive-procedure string->number> "100")  ==> 100
(#<primitive-procedure string->number> "100" 16)  ==> 256
(#<primitive-procedure string->number> "")  ==> #f
(#<primitive-procedure string->number> ".")  ==> #f
(#<primitive-procedure string->number> "d")  ==> #f
(#<primitive-procedure string->number> "D")  ==> #f
(#<primitive-procedure string->number> "i")  ==> #f
(#<primitive-procedure string->number> "I")  ==> #f
(#<primitive-procedure string->number> "3i")  ==> #f
(#<primitive-procedure string->number> "3I")  ==> #f
(#<primitive-procedure string->number> "33i")  ==> #f
(#<primitive-procedure string->number> "33I")  ==> #f
(#<primitive-procedure string->number> "3.3i")  ==> #f
(#<primitive-procedure string->number> "3.3I")  ==> #f
(#<primitive-procedure string->number> "-")  ==> #f
(#<primitive-procedure string->number> "+")  ==> #f
(string->number #t)  ==> #t
(string->number #t)  ==> #t
SECTION(6 6)
(#<primitive-procedure eqv?> #\space #\space)  ==> #t
(#<primitive-procedure eqv?> #\space #\space)  ==> #t
(#<primitive-procedure char?> #\a)  ==> #t
(#<primitive-procedure char?> #\()  ==> #t
(#<primitive-procedure char?> #\space)  ==> #t
(#<primitive-procedure char?> #\nl)  ==> #t
(#<primitive-procedure char=?> #\A #\B)  ==> #f
(#<primitive-procedure char=?> #\a #\b)  ==> #f
(#<primitive-procedure char=?> #\9 #\0)  ==> #f
(#<primitive-procedure char=?> #\A #\A)  ==> #t
(#<primitive-procedure char<?> #\A #\B)  ==> #t
(#<primitive-procedure char<?> #\a #\b)  ==> #t
(#<primitive-procedure char<?> #\9 #\0)  ==> #f
(#<primitive-procedure char<?> #\A #\A)  ==> #f
(#<primitive-procedure char>?> #\A #\B)  ==> #f
(#<primitive-procedure char>?> #\a #\b)  ==> #f
(#<primitive-procedure char>?> #\9 #\0)  ==> #t
(#<primitive-procedure char>?> #\A #\A)  ==> #f
(#<primitive-procedure char<=?> #\A #\B)  ==> #t
(#<primitive-procedure char<=?> #\a #\b)  ==> #t
(#<primitive-procedure char<=?> #\9 #\0)  ==> #f
(#<primitive-procedure char<=?> #\A #\A)  ==> #t
(#<primitive-procedure char>=?> #\A #\B)  ==> #f
(#<primitive-procedure char>=?> #\a #\b)  ==> #f
(#<primitive-procedure char>=?> #\9 #\0)  ==> #t
(#<primitive-procedure char>=?> #\A #\A)  ==> #t
(#<primitive-procedure char-ci=?> #\A #\B)  ==> #f
(#<primitive-procedure char-ci=?> #\a #\B)  ==> #f
(#<primitive-procedure char-ci=?> #\A #\b)  ==> #f
(#<primitive-procedure char-ci=?> #\a #\b)  ==> #f
(#<primitive-procedure char-ci=?> #\9 #\0)  ==> #f
(#<primitive-procedure char-ci=?> #\A #\A)  ==> #t
(#<primitive-procedure char-ci=?> #\A #\a)  ==> #t
(#<primitive-procedure char-ci<?> #\A #\B)  ==> #t
(#<primitive-procedure char-ci<?> #\a #\B)  ==> #t
(#<primitive-procedure char-ci<?> #\A #\b)  ==> #t
(#<primitive-procedure char-ci<?> #\a #\b)  ==> #t
(#<primitive-procedure char-ci<?> #\9 #\0)  ==> #f
(#<primitive-procedure char-ci<?> #\A #\A)  ==> #f
(#<primitive-procedure char-ci<?> #\A #\a)  ==> #f
(#<primitive-procedure char-ci>?> #\A #\B)  ==> #f
(#<primitive-procedure char-ci>?> #\a #\B)  ==> #f
(#<primitive-procedure char-ci>?> #\A #\b)  ==> #f
(#<primitive-procedure char-ci>?> #\a #\b)  ==> #f
(#<primitive-procedure char-ci>?> #\9 #\0)  ==> #t
(#<primitive-procedure char-ci>?> #\A #\A)  ==> #f
(#<primitive-procedure char-ci>?> #\A #\a)  ==> #f
(#<primitive-procedure char-ci<=?> #\A #\B)  ==> #t
(#<primitive-procedure char-ci<=?> #\a #\B)  ==> #t
(#<primitive-procedure char-ci<=?> #\A #\b)  ==> #t
(#<primitive-procedure char-ci<=?> #\a #\b)  ==> #t
(#<primitive-procedure char-ci<=?> #\9 #\0)  ==> #f
(#<primitive-procedure char-ci<=?> #\A #\A)  ==> #t
(#<primitive-procedure char-ci<=?> #\A #\a)  ==> #t
(#<primitive-procedure char-ci>=?> #\A #\B)  ==> #f
(#<primitive-procedure char-ci>=?> #\a #\B)  ==> #f
(#<primitive-procedure char-ci>=?> #\A #\b)  ==> #f
(#<primitive-procedure char-ci>=?> #\a #\b)  ==> #f
(#<primitive-procedure char-ci>=?> #\9 #\0)  ==> #t
(#<primitive-procedure char-ci>=?> #\A #\A)  ==> #t
(#<primitive-procedure char-ci>=?> #\A #\a)  ==> #t
(#<primitive-procedure char-alphabetic?> #\a)  ==> #t
(#<primitive-procedure char-alphabetic?> #\A)  ==> #t
(#<primitive-procedure char-alphabetic?> #\z)  ==> #t
(#<primitive-procedure char-alphabetic?> #\Z)  ==> #t
(#<primitive-procedure char-alphabetic?> #\0)  ==> #f
(#<primitive-procedure char-alphabetic?> #\9)  ==> #f
(#<primitive-procedure char-alphabetic?> #\space)  ==> #f
(#<primitive-procedure char-alphabetic?> #\;)  ==> #f
(#<primitive-procedure char-numeric?> #\a)  ==> #f
(#<primitive-procedure char-numeric?> #\A)  ==> #f
(#<primitive-procedure char-numeric?> #\z)  ==> #f
(#<primitive-procedure char-numeric?> #\Z)  ==> #f
(#<primitive-procedure char-numeric?> #\0)  ==> #t
(#<primitive-procedure char-numeric?> #\9)  ==> #t
(#<primitive-procedure char-numeric?> #\space)  ==> #f
(#<primitive-procedure char-numeric?> #\;)  ==> #f
(#<primitive-procedure char-whitespace?> #\a)  ==> #f
(#<primitive-procedure char-whitespace?> #\A)  ==> #f
(#<primitive-procedure char-whitespace?> #\z)  ==> #f
(#<primitive-procedure char-whitespace?> #\Z)  ==> #f
(#<primitive-procedure char-whitespace?> #\0)  ==> #f
(#<primitive-procedure char-whitespace?> #\9)  ==> #f
(#<primitive-procedure char-whitespace?> #\space)  ==> #t
(#<primitive-procedure char-whitespace?> #\;)  ==> #f
(#<primitive-procedure char-upper-case?> #\0)  ==> #f
(#<primitive-procedure char-upper-case?> #\9)  ==> #f
(#<primitive-procedure char-upper-case?> #\space)  ==> #f
(#<primitive-procedure char-upper-case?> #\;)  ==> #f
(#<primitive-procedure char-lower-case?> #\0)  ==> #f
(#<primitive-procedure char-lower-case?> #\9)  ==> #f
(#<primitive-procedure char-lower-case?> #\space)  ==> #f
(#<primitive-procedure char-lower-case?> #\;)  ==> #f
(#<primitive-procedure integer->char> 46)  ==> #\.
(#<primitive-procedure integer->char> 65)  ==> #\A
(#<primitive-procedure integer->char> 97)  ==> #\a
(#<primitive-procedure char-upcase> #\A)  ==> #\A
(#<primitive-procedure char-upcase> #\a)  ==> #\A
(#<primitive-procedure char-downcase> #\A)  ==> #\a
(#<primitive-procedure char-downcase> #\a)  ==> #\a
SECTION(6 7)
(#<primitive-procedure string?> "The word \"recursion\\\" has many meanings.")  ==> #t
(string-set! "?**")  ==> "?**"
(#<primitive-procedure string> #\a #\b #\c)  ==> "abc"
(#<primitive-procedure string>)  ==> ""
(#<primitive-procedure string-length> "abc")  ==> 3
(#<primitive-procedure string-ref> "abc" 0)  ==> #\a
(#<primitive-procedure string-ref> "abc" 2)  ==> #\c
(#<primitive-procedure string-length> "")  ==> 0
(#<primitive-procedure substring> "ab" 0 0)  ==> ""
(#<primitive-procedure substring> "ab" 1 1)  ==> ""
(#<primitive-procedure substring> "ab" 2 2)  ==> ""
(#<primitive-procedure substring> "ab" 0 1)  ==> "a"
(#<primitive-procedure substring> "ab" 1 2)  ==> "b"
(#<primitive-procedure substring> "ab" 0 2)  ==> "ab"
(#<primitive-procedure string-append> "foo" "bar")  ==> "foobar"
(#<primitive-procedure string-append> "foo")  ==> "foo"
(#<primitive-procedure string-append> "foo" "")  ==> "foo"
(#<primitive-procedure string-append> "" "foo")  ==> "foo"
(#<primitive-procedure string-append>)  ==> ""
(#<primitive-procedure make-string> 0)  ==> ""
(#<primitive-procedure string=?> "" "")  ==> #t
(#<primitive-procedure string<?> "" "")  ==> #f
(#<primitive-procedure string>?> "" "")  ==> #f
(#<primitive-procedure string<=?> "" "")  ==> #t
(#<primitive-procedure string>=?> "" "")  ==> #t
(#<primitive-procedure string-ci=?> "" "")  ==> #t
(#<primitive-procedure string-ci<?> "" "")  ==> #f
(#<primitive-procedure string-ci>?> "" "")  ==> #f
(#<primitive-procedure string-ci<=?> "" "")  ==> #t
(#<primitive-procedure string-ci>=?> "" "")  ==> #t
(#<primitive-procedure string=?> "A" "B")  ==> #f
(#<primitive-procedure string=?> "a" "b")  ==> #f
(#<primitive-procedure string=?> "9" "0")  ==> #f
(#<primitive-procedure string=?> "A" "A")  ==> #t
(#<primitive-procedure string<?> "A" "B")  ==> #t
(#<primitive-procedure string<?> "a" "b")  ==> #t
(#<primitive-procedure string<?> "9" "0")  ==> #f
(#<primitive-procedure string<?> "A" "A")  ==> #f
(#<primitive-procedure string>?> "A" "B")  ==> #f
(#<primitive-procedure string>?> "a" "b")  ==> #f
(#<primitive-procedure string>?> "9" "0")  ==> #t
(#<primitive-procedure string>?> "A" "A")  ==> #f
(#<primitive-procedure string<=?> "A" "B")  ==> #t
(#<primitive-procedure string<=?> "a" "b")  ==> #t
(#<primitive-procedure string<=?> "9" "0")  ==> #f
(#<primitive-procedure string<=?> "A" "A")  ==> #t
(#<primitive-procedure string>=?> "A" "B")  ==> #f
(#<primitive-procedure string>=?> "a" "b")  ==> #f
(#<primitive-procedure string>=?> "9" "0")  ==> #t
(#<primitive-procedure string>=?> "A" "A")  ==> #t
(#<primitive-procedure string-ci=?> "A" "B")  ==> #f
(#<primitive-procedure string-ci=?> "a" "B")  ==> #f
(#<primitive-procedure string-ci=?> "A" "b")  ==> #f
(#<primitive-procedure string-ci=?> "a" "b")  ==> #f
(#<primitive-procedure string-ci=?> "9" "0")  ==> #f
(#<primitive-procedure string-ci=?> "A" "A")  ==> #t
(#<primitive-procedure string-ci=?> "A" "a")  ==> #t
(#<primitive-procedure string-ci<?> "A" "B")  ==> #t
(#<primitive-procedure string-ci<?> "a" "B")  ==> #t
(#<primitive-procedure string-ci<?> "A" "b")  ==> #t
(#<primitive-procedure string-ci<?> "a" "b")  ==> #t
(#<primitive-procedure string-ci<?> "9" "0")  ==> #f
(#<primitive-procedure string-ci<?> "A" "A")  ==> #f
(#<primitive-procedure string-ci<?> "A" "a")  ==> #f
(#<primitive-procedure string-ci>?> "A" "B")  ==> #f
(#<primitive-procedure string-ci>?> "a" "B")  ==> #f
(#<primitive-procedure string-ci>?> "A" "b")  ==> #f
(#<primitive-procedure string-ci>?> "a" "b")  ==> #f
(#<primitive-procedure string-ci>?> "9" "0")  ==> #t
(#<primitive-procedure string-ci>?> "A" "A")  ==> #f
(#<primitive-procedure string-ci>?> "A" "a")  ==> #f
(#<primitive-procedure string-ci<=?> "A" "B")  ==> #t
(#<primitive-procedure string-ci<=?> "a" "B")  ==> #t
(#<primitive-procedure string-ci<=?> "A" "b")  ==> #t
(#<primitive-procedure string-ci<=?> "a" "b")  ==> #t
(#<primitive-procedure string-ci<=?> "9" "0")  ==> #f
(#<primitive-procedure string-ci<=?> "A" "A")  ==> #t
(#<primitive-procedure string-ci<=?> "A" "a")  ==> #t
(#<primitive-procedure string-ci>=?> "A" "B")  ==> #f
(#<primitive-procedure string-ci>=?> "a" "B")  ==> #f
(#<primitive-procedure string-ci>=?> "A" "b")  ==> #f
(#<primitive-procedure string-ci>=?> "a" "b")  ==> #f
(#<primitive-procedure string-ci>=?> "9" "0")  ==> #t
(#<primitive-procedure string-ci>=?> "A" "A")  ==> #t
(#<primitive-procedure string-ci>=?> "A" "a")  ==> #t
SECTION(6 8)
(#<primitive-procedure vector?> #(0 (2 2 2 2) "Anna"))  ==> #t
(#<primitive-procedure vector> a b c)  ==> #(a b c)
(#<primitive-procedure vector>)  ==> #()
(#<primitive-procedure vector-length> #(0 (2 2 2 2) "Anna"))  ==> 3
(#<primitive-procedure vector-length> #())  ==> 0
(#<primitive-procedure vector-ref> #(1 1 2 3 5 8 13 21) 5)  ==> 8
(vector-set #(0 ("Sue" "Sue") "Anna"))  ==> #(0 ("Sue" "Sue") "Anna")
(#<primitive-procedure make-vector> 2 hi)  ==> #(hi hi)
(#<primitive-procedure make-vector> 0)  ==> #()
(#<primitive-procedure make-vector> 0 a)  ==> #()
SECTION(6 9)
(#<primitive-procedure procedure?> #<primitive-procedure car>)  ==> #t
(#<primitive-procedure procedure?> #<CLOSURE <anon> "r4rstest.scm": (x) (* x x)>)  ==> #t
(#<primitive-procedure procedure?> (lambda (x) (* x x)))  ==> #f
(#<primitive-procedure call-with-current-continuation> #<primitive-procedure procedure?>)  ==> #t
(#<primitive-procedure apply> #<primitive-procedure +> (3 4))  ==> 7
(#<primitive-procedure apply> #<CLOSURE <anon> "r4rstest.scm": (a b) (+ a b)> (3 4))  ==> 7
(#<primitive-procedure apply> #<primitive-procedure +> 10 (3 4))  ==> 17
(#<primitive-procedure apply> #<primitive-procedure list> ())  ==> ()
(#<CLOSURE <anon> "r4rstest.scm": args (f (apply g args))> 12 75)  ==> 30
(#<primitive-procedure map> #<primitive-procedure cadr> ((a b) (d e) (g h)))  ==> (b e h)
(#<primitive-procedure map> #<primitive-procedure +> (1 2 3) (4 5 6))  ==> (5 7 9)
(#<primitive-procedure map> #<primitive-procedure +> (1 2 3))  ==> (1 2 3)
(#<primitive-procedure map> #<primitive-procedure *> (1 2 3))  ==> (1 2 3)
(#<primitive-procedure map> #<primitive-procedure -> (1 2 3))  ==> (-1 -2 -3)
(for-each #(0 1 4 9 16))  ==> #(0 1 4 9 16)
(#<primitive-procedure call-with-current-continuation> #<CLOSURE <anon> "r4rstest.scm": (exit) (for-each (lambda (x) (if (negative? x) (exit x))) (quote (54 0 37 -3 245 19))) #t>)  ==> -3
(#<CLOSURE list-length "r4rstest.scm": (obj) (call-with-current-continuation (lambda (return) (letrec ((r (lambda (obj) (cond ((null? obj) 0) ((pair? obj) (+ (r (cdr obj)) 1)) (else (return #f)))))) (r obj))))> (1 2 3 4))  ==> 4
(#<CLOSURE list-length "r4rstest.scm": (obj) (#@call-with-current-continuation (#@lambda (return) (#@letrec ((r (#@lambda (obj) (#@cond ((#@null? #@obj) 0) ((#@pair? #@obj) (#@+ (#@r (#@cdr #@obj)) 1)) (#t (return #f))))))  (#@r #@obj))))> (a b . c))  ==> #f
(#<primitive-procedure map> #<primitive-procedure cadr> ())  ==> ()
SECTION(6 10 1)
(#<primitive-procedure input-port?> #<input-port 0>)  ==> #t
(#<primitive-procedure output-port?> #<output-port 1 L1 C1>)  ==> #t
(#<CLOSURE call-with-input-file "/Users/pbulk/build/lang/scm/work/scm/Init5e3.scm": (str proc) (#@call-with-open-ports (#@open-input-file #@str) #@proc)> "r4rstest.scm" #<primitive-procedure input-port?>)  ==> #t
(#<primitive-procedure input-port?> #<input-port "r4rstest.scm">)  ==> #t
SECTION(6 10 2)
(#<primitive-procedure peek-char> #<input-port "r4rstest.scm">)  ==> #\;
(#<primitive-procedure read-char> #<input-port "r4rstest.scm">)  ==> #\;
(#<primitive-procedure read> #<input-port "r4rstest.scm">)  ==> (define cur-section (quote ()))
(#<primitive-procedure peek-char> #<input-port "r4rstest.scm">)  ==> #\(
(#<primitive-procedure read> #<input-port "r4rstest.scm">)  ==> (define errs (quote ()))
SECTION(6 10 3)
(#<CLOSURE call-with-output-file "/Users/pbulk/build/lang/scm/work/scm/Init5e3.scm": (str proc) (#@call-with-open-ports (#@open-output-file #@str) #@proc)> "tmp1" #<CLOSURE <anon> "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
(#<primitive-procedure read> #<input-port "tmp1">)  ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c))))
(#<primitive-procedure eof-object?> #<eof>)  ==> #t
(#<primitive-procedure eof-object?> #<eof>)  ==> #t
(input-port? #t)  ==> #t
(#<primitive-procedure read-char> #<input-port "tmp1">)  ==> #\;
(#<primitive-procedure read-char> #<input-port "tmp1">)  ==> #\;
(#<primitive-procedure read-char> #<input-port "tmp1">)  ==> #\;
(#<primitive-procedure read> #<input-port "tmp1">)  ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c))
(#<primitive-procedure read> #<input-port "tmp1">)  ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c))))
(#<primitive-procedure output-port?> #<output-port "tmp2">)  ==> #t
(#<primitive-procedure read> #<input-port "tmp2">)  ==> (define foo (quote (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c))))
(#<primitive-procedure eof-object?> #<eof>)  ==> #t
(#<primitive-procedure eof-object?> #<eof>)  ==> #t
(input-port? #t)  ==> #t
(#<primitive-procedure read-char> #<input-port "tmp2">)  ==> #\;
(#<primitive-procedure read-char> #<input-port "tmp2">)  ==> #\;
(#<primitive-procedure read-char> #<input-port "tmp2">)  ==> #\;
(#<primitive-procedure read> #<input-port "tmp2">)  ==> (#t #f a () 9739 -3 . #((test) "te \" \" st" "" test #() b c))
(#<primitive-procedure read> #<input-port "tmp2">)  ==> (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)
(#<primitive-procedure string->list> "P l")  ==> (#\P #\space #\l)
(#<primitive-procedure string->list> "")  ==> ()
(#<primitive-procedure list->string> (#\1 #\\ #\"))  ==> "1\\\""
(#<primitive-procedure list->string> ())  ==> ""
SECTION(6 8)
(#<primitive-procedure vector->list> #(dah dah didah))  ==> (dah dah didah)
(#<primitive-procedure vector->list> #())  ==> ()
(#<primitive-procedure list->vector> (dididit dah))  ==> #(dididit dah)
(#<primitive-procedure list->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
(#<primitive-procedure force> #<promise #<CLOSURE test-delay "r4rstest.scm": () (begin (set! count (+ count 1)) (if (> count x) count (force p)))>>)  ==> 6
(#<primitive-procedure force> #<promise 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
        wta(UNDEFINED, (char *)i, "");
                       ^~~~~~~~~
scm.c:280:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
  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 C2x [-Wdeprecated-non-prototype]
static SIGRETTYPE err_signal(sig)
                  ^
scm.c:312:22: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
      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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  pause();
  ^
scm.c:419:15: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *getenv();
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
char **script_process_argv(argc, argv)
       ^
script.c:386:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  nargv[0] = argv[0];
           ^ ~~~~~~~
script.c:401:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      nargv[nargi++] = argv[argi++];
                     ^ ~~~~~~~~~~~~
script.c:404:39: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
int scm_ftime(time_buffer)
    ^
time.c:367:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return MAKINUM(-1);
           ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM char_readyp(port)
    ^
repl.c:513:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
    ASRTER(NIMP(port) && OPINPORTP(port) && (BUF0 & SCM_PORTFLAGS(port)),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
int handle_it(i)
    ^
repl.c:1291:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
    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 C2x [-Wdeprecated-non-prototype]
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]
             (isspace(initpath[0]) || ';'==initpath[0] || '('==initpath[0]))
              ^
repl.c:1392:8: note: include the header <ctype.h> 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM lperror(arg)
    ^
repl.c:2054:47: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
    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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  err_pos = pos;
          ^ ~~~
repl.c:2111:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  err_s_subr = s_subr;
             ^ ~~~~~~
repl.c:2116:24: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast]
           COOKIE(1) : COOKIE((int)pos));
                              ^~~~~~~~
./scm.h:286:21: note: expanded from macro 'COOKIE'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  frexp(d, &dlen);
           ^~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:401:34: note: passing argument to parameter here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM divide(x, y)
    ^
scl.c:2041:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if ((MAKINUM(1L)==x) || (MAKINUM(-1L)==x)) return x;
                             ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
SCM scm_intexpt(z1, z2)
    ^
scl.c:2179:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else goto overflow;
        ^
scl.c:2161:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (MAKINUM(-1L)==z1) return BOOL_F==evenp(z2)?z1:acc;
      ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM ex2in(z)
    ^
scl.c:2455:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
scl.c:2456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
SCM map(proc, arg1, args)
    ^
eval.c:3123:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
      ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_map);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
SCM for_each(proc, arg1, args)
    ^
eval.c:3170:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
      ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_for_each);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  SYSCALL(tmpnam(name););
          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here
__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.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
        #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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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]
    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]
    lputs(ttyname(fileno(STREAM(exp))), port);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:777:38: note: passing argument to parameter 's' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM sym2vcell(sym)
    ^
sys.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
sys.c:1401:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
void dowinds(to)
     ^
sys.c:1662:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (!ncont) wta(MAKINUM(-1), (char *)NALLOC, s_cont);
                  ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
void init_storage(stack_start_ptr, init_heap_size)
     ^
sys.c:2178:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        sysintern("most-negative-fixnum", (SCM)MAKINUM(MOST_NEGATIVE_FIXNUM));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
void mark_locations(x, n)
     ^
sys.c:2624:22: warning: cast to smaller integer type 'int' from 'SCM *' (aka 'long *') [-Wpointer-to-int-cast]
        while(0 <= --m) if (CELLP(*(SCM **)&x[m])) {
                            ^~~~~~~~~~~~~~~~~~~~~
./scm.h:301:20: note: expanded from macro 'CELLP'
#define CELLP(x) (!NCELLP(x))
                   ^~~~~~~~~
./scm.h:302:39: note: expanded from macro 'NCELLP'
#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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM list_ref(lst, k)
    ^
subr.c:220:8: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
erout:  ASRTER(NIMP(lst) && CONSP(lst),
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_big_ash(x, cnt)
    ^
subr.c:891:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (blen <= -cnt) return sign ? MAKINUM(-1) : INUM0;
                                    ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_logand(x, y)
    ^
subr.c:993:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (UNBNDP(x)) return MAKINUM(-1);
                          ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_lognot(n)
    ^
subr.c:1190:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  return difference(MAKINUM(-1L), n);
                    ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_logcount(n)
    ^
subr.c:1324:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (BIGSIGN(n)) return scm_logcount(difference(MAKINUM(-1L), n));
                                                   ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
SCM scm_intlength(n)
    ^
subr.c:1349:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (BIGSIGN(n)) return scm_intlength(difference(MAKINUM(-1L), n));
                                                    ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM normbig(b)
    ^
subr.c:1800:31: warning: while loop has empty body [-Wempty-body]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
     BIGDIG div;
            ^
./scm.h:1077:66: note: previous declaration is here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
     float x;
           ^
./scm.h:1005:33: note: previous declaration is here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    ((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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM bit_position(item, v, k)
    ^
unif.c:1396:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (0==len) return MAKINUM(-1L);
                       ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM array_prot(ra)
    ^
unif.c:2022:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  case tc7_VfixZ32: return MAKINUM(-32L);
                           ^~~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# define MAKINUM(x) (((x)<<2)+2L)
                      ~~~^
unif.c:2024:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  case tc7_VfixZ16: return MAKINUM(-16L);
                           ^~~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# define MAKINUM(x) (((x)<<2)+2L)
                      ~~~^
unif.c:2026:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  case tc7_VfixZ8: return MAKINUM(-8L);
                          ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:162:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:181:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    must_free(argv[i], 1+strlen(argv[i]));
              ^~~~~~~
./scm.h:720:36: note: passing argument to parameter 'obj' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 /Users/pbulk/build/lang/scm/work/scm && env USETOOLS=no GOTMPDIR=/Users/pbulk/build MACOSX_DEPLOYMENT_TARGET=12.3 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=/Users/pbulk/build/lang/scm/work/.cwrapper/bin:/Users/pbulk/build/lang/scm/work/.buildlink/bin:/Users/pbulk/build/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=/Users/pbulk/build/lang/scm/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/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=/Users/pbulk/build/lang/scm/work/.tools/bin/install-info MAKEINFO=/Users/pbulk/build/lang/scm/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/lang/scm/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/lang/scm/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/lang/scm/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/lang/scm/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/lang/scm/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/lang/scm/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
          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 C2x [-Wdeprecated-non-prototype]
          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 C2x [-Wdeprecated-non-prototype]
int ramapc(cproc, data, ra0, lra, what)
    ^
ramap.c:212:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        hp_indv = make_uve(ARRAY_NDIM(ra0)+0L, MAKINUM(-32L));
                                               ^~~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
          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 C2x [-Wdeprecated-non-prototype]
             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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM array_imap(ra, proc)
    ^
ramap.c:1568:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    hp_indv = make_uve(i+0L, MAKINUM(-32L));
                             ^~~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
SCM gsubr_apply(args)
    ^
gsubr.c:128:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM file_set_position(port, pos)
    ^
ioext.c:257:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  SCM_OPENCALL(f = freopen(CHARS(filename), cmodes, STREAM(port)));
  ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
ioext.c:257:18: note: place parentheses around the assignment to silence this warning
  SCM_OPENCALL(f = freopen(CHARS(filename), cmodes, STREAM(port)));
                 ^
               (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
ioext.c:257:18: note: use '==' to turn this assignment into an equality comparison
  SCM_OPENCALL(f = freopen(CHARS(filename), cmodes, STREAM(port)));
                 ^
                 ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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 C2x [-Wdeprecated-non-prototype]
SCM reopen_file(filename, modes, port)
    ^
ioext.c:290:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  SCM_OPENCALL(tfd = dup(fileno(STREAM(oldpt))));
  ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
ioext.c:290:20: note: place parentheses around the assignment to silence this warning
  SCM_OPENCALL(tfd = dup(fileno(STREAM(oldpt))));
                   ^
               (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
ioext.c:290:20: note: use '==' to turn this assignment into an equality comparison
  SCM_OPENCALL(tfd = dup(fileno(STREAM(oldpt))));
                   ^
                   ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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 C2x [-Wdeprecated-non-prototype]
SCM l_dup(oldpt, modes)
    ^
ioext.c:319:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  SCM_OPENCALL(ans = dup2(oldfd, newfd));
               ~~~~^~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
ioext.c:319:20: note: place parentheses around the assignment to silence this warning
  SCM_OPENCALL(ans = dup2(oldfd, newfd));
                   ^
               (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
ioext.c:319:20: note: use '==' to turn this assignment into an equality comparison
  SCM_OPENCALL(ans = dup2(oldfd, newfd));
                   ^
                   ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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 C2x [-Wdeprecated-non-prototype]
SCM l_dup2(into_pt, from_pt)
    ^
ioext.c:341:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  SCM_OPENCALL(ds = opendir(CHARS(dirname)));
  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
ioext.c:341:19: note: place parentheses around the assignment to silence this warning
  SCM_OPENCALL(ds = opendir(CHARS(dirname)));
                  ^
               (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
ioext.c:341:19: note: use '==' to turn this assignment into an equality comparison
  SCM_OPENCALL(ds = opendir(CHARS(dirname)));
                  ^
                  ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM l_putenv(str)
    ^
ioext.c:869:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  SCM_OPENCALL(fd = open(CHARS(fname), fdflags, cperms));
  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
ioext.c:869:19: note: place parentheses around the assignment to silence this warning
  SCM_OPENCALL(fd = open(CHARS(fname), fdflags, cperms));
                  ^
               (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
ioext.c:869:19: note: use '==' to turn this assignment into an equality comparison
  SCM_OPENCALL(fd = open(CHARS(fname), fdflags, cperms));
                  ^
                  ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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]
    close(fd[0]);
    ^
posix.c:109:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  SCM_OPENCALL(f_wt = fdopen(fd[1], "w"));
               ~~~~~^~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
posix.c:109:21: note: place parentheses around the assignment to silence this warning
  SCM_OPENCALL(f_wt = fdopen(fd[1], "w"));
                    ^
               (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
posix.c:109:21: note: use '==' to turn this assignment into an equality comparison
  SCM_OPENCALL(f_wt = fdopen(fd[1], "w"));
                    ^
                    ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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]
    close(fd[1]);
    ^
posix.c:105:7: warning: variable 'f_wt' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  if (!f_rd) {
      ^~~~~
posix.c:117:25: note: uninitialized use occurs here
  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
  if (!f_rd) {
  ^~~~~~~~~~~~
posix.c:98:20: note: initialize the variable 'f_wt' to silence this warning
  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 C2x [-Wdeprecated-non-prototype]
SCM open_pipe(pipestr, modes)
    ^
posix.c:134:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        SCM_OPENCALL(f = popen(CHARS(pipestr), CHARS(modes)));
        ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
posix.c:134:17: note: place parentheses around the assignment to silence this warning
        SCM_OPENCALL(f = popen(CHARS(pipestr), CHARS(modes)));
                       ^
                     (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
posix.c:134:17: note: use '==' to turn this assignment into an equality comparison
        SCM_OPENCALL(f = popen(CHARS(pipestr), CHARS(modes)));
                       ^
                       ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  ve[ 3] = makfromstrs(-1, entry->gr_mem);
                           ^~~~~~~~~~~~~
./scm.h:1049:62: note: passing argument to parameter 'argv' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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]
  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]
  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]
  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]
  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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  SYSCALL(ans = ttyname(fileno(STREAM(port))););
                ^
posix.c:320:15: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
  SYSCALL(ans = ttyname(fileno(STREAM(port))););
  ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:803:37: note: expanded from macro 'SYSCALL'
# 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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
      wna: rec_error(UNDEFINED, WNA, s_rec_constr1, RCLO_RTD(cclo), -1);
                                ^~~
./scm.h:1134:25: note: expanded from macro 'WNA'
#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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    rec_error(rec, ARG1, s_rec_accessor1, RCLO_RTD(cclo), i);
                   ^~~~
./scm.h:1128:25: note: expanded from macro 'ARG1'
#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 C2x [-Wdeprecated-non-prototype]
SCM rec_accessor1(cclo, rec)
    ^
record.c:237:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion]
    rec_error(rec, ARG1, s_rec_modifier1, RCLO_RTD(cclo), i);
                   ^~~~
./scm.h:1128:25: note: expanded from macro 'ARG1'
#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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM lregexec(prog, str)
    ^
rgx.c:322:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      ans = make_vector(MAKINUM(2L * nsub), MAKINUM(-1L));
                                            ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM lregsearchmatch(prog, str, args, search, vector)
    ^
rgx.c:455:49: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      matches = make_vector(MAKINUM(2L * nsub), MAKINUM(-1L));
                                                ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM lstringedit(prog, editspec, args)
    ^
rgx.c:57:13: warning: unused variable 'rcsid' [-Wunused-variable]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  ve[ 1] = makfromstrs(-1, entry->h_aliases);
                           ^~~~~~~~~~~~~~~~
./scm.h:1049:62: note: passing argument to parameter 'argv' here
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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  ve[ 1] = makfromstrs(-1, entry->n_aliases);
                           ^~~~~~~~~~~~~~~~
./scm.h:1049:62: note: passing argument to parameter 'argv' here
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 C2x [-Wdeprecated-non-prototype]
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]
  ve[ 1] = makfromstrs(-1, entry->p_aliases);
                           ^~~~~~~~~~~~~~~~
./scm.h:1049:62: note: passing argument to parameter 'argv' here
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 C2x [-Wdeprecated-non-prototype]
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]
  ve[ 1] = makfromstrs(-1, entry->s_aliases);
                           ^~~~~~~~~~~~~~~~
./scm.h:1049:62: note: passing argument to parameter 'argv' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    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 C2x [-Wdeprecated-non-prototype]
SCM l_socket(fam, proto)
    ^
socket.c:357:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  SCM_OPENCALL(f[0] = fdopen(sv[0], "r+"));
               ~~~~~^~~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
socket.c:357:21: note: place parentheses around the assignment to silence this warning
  SCM_OPENCALL(f[0] = fdopen(sv[0], "r+"));
                    ^
               (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
socket.c:357:21: note: use '==' to turn this assignment into an equality comparison
  SCM_OPENCALL(f[0] = fdopen(sv[0], "r+"));
                    ^
                    ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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]
    close(sv[0]);
    ^
socket.c:362:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  SCM_OPENCALL(f[1] = fdopen(sv[1], "r+"));
               ~~~~~^~~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
socket.c:362:21: note: place parentheses around the assignment to silence this warning
  SCM_OPENCALL(f[1] = fdopen(sv[1], "r+"));
                    ^
               (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
socket.c:362:21: note: use '==' to turn this assignment into an equality comparison
  SCM_OPENCALL(f[1] = fdopen(sv[1], "r+"));
                    ^
                    ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  SYSCALL(newsd = accept(fileno(STREAM(sockpt)), &sad, &sadlen););
                                                       ^~~~~~~
./scmfig.h:803:37: note: expanded from macro 'SYSCALL'
# define SYSCALL(line) do{errno = 0;line}while(SCM_INTERRUPTED(errno))
                                    ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:704:73: note: passing argument to parameter here
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]
  SCM_OPENCALL(newfd = fdopen(newsd, "r+"));
               ~~~~~~^~~~~~~~~~~~~~~~~~~~~
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^~~~
socket.c:514:22: note: place parentheses around the assignment to silence this warning
  SCM_OPENCALL(newfd = fdopen(newsd, "r+"));
                     ^
               (
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             while (!0) {errno = 0; if (line) break;\
                                                        ^
socket.c:514:22: note: use '==' to turn this assignment into an equality comparison
  SCM_OPENCALL(newfd = fdopen(newsd, "r+"));
                     ^
                     ==
./scmfig.h:817:36: note: expanded from macro 'SCM_OPENCALL'
                             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]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
                            (struct sockaddr*)&sad, &sadlen););
                                                    ^~~~~~~
./scmfig.h:803:37: note: expanded from macro 'SYSCALL'
# define SYSCALL(line) do{errno = 0;line}while(SCM_INTERRUPTED(errno))
                                    ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:708:78: note: passing argument to parameter here
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]
  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 C2x [-Wdeprecated-non-prototype]
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]
                            (struct sockaddr*)&sad, &sadlen););
                                                    ^~~~~~~
./scmfig.h:803:37: note: expanded from macro 'SYSCALL'
# define SYSCALL(line) do{errno = 0;line}while(SCM_INTERRUPTED(errno))
                                    ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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]
  sync();
  ^
unix.c:123:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    INITS;                      /* call initialization of extension files */
    ^
./scmflags.h:2:117: note: expanded from macro 'INITS'
#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]
  COMPILED_INITS;               /* initialize statically linked add-ons */
  ^
./scmflags.h:3:39: note: expanded from macro 'COMPILED_INITS'
#define COMPILED_INITS init_edline(); init_x();
                                      ^
scm.c:197:17: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
        wta(UNDEFINED, (char *)i, "");
                       ^~~~~~~~~
scm.c:280:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
  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 C2x [-Wdeprecated-non-prototype]
static SIGRETTYPE err_signal(sig)
                  ^
scm.c:312:22: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
      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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  pause();
  ^
scm.c:419:15: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *getenv();
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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]
    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]
    nargc = script_count_argv(nargv);
                              ^~~~~
./scm.h:1092:51: note: passing argument to parameter 'argv' here
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]
  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]
  execpath = scm_find_execpath(nargc, nargv, script_arg);
                                      ^~~~~
./scm.h:798:69: note: passing argument to parameter 'argv' here
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]
  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]
    scm_init_from_argv(nargc, nargv, script_arg, iverbose, buf0stdin);
                              ^~~~~
./scm.h:791:69: note: passing argument to parameter 'argv' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
char **script_process_argv(argc, argv)
       ^
script.c:386:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  nargv[0] = argv[0];
           ^ ~~~~~~~
script.c:401:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      nargv[nargi++] = argv[argi++];
                     ^ ~~~~~~~~~~~~
script.c:404:39: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
int scm_ftime(time_buffer)
    ^
time.c:367:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return MAKINUM(-1);
           ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM char_readyp(port)
    ^
repl.c:513:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
    ASRTER(NIMP(port) && OPINPORTP(port) && (BUF0 & SCM_PORTFLAGS(port)),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
int handle_it(i)
    ^
repl.c:1291:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
    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 C2x [-Wdeprecated-non-prototype]
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]
             (isspace(initpath[0]) || ';'==initpath[0] || '('==initpath[0]))
              ^
repl.c:1392:8: note: include the header <ctype.h> 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]
    igc(s_unexec, BOOL_F);
                  ^~~~~~
./scm.h:271:16: note: expanded from macro 'BOOL_F'
#define BOOL_F MAKIFLAG(NUM_ISYMS+0)
               ^~~~~~~~~~~~~~~~~~~~~
./scm.h:200:21: note: expanded from macro 'MAKIFLAG'
#define MAKIFLAG(n) (((n)<<9)+0x174L)
                    ^~~~~~~~~~~~~~~~~
repl.c:47:35: note: passing argument to parameter 'sys_protects' here
void    igc P((const char *what, SCM rootcont));
                                     ^
./scm.h:643:26: note: expanded from macro 'rootcont'
#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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM lperror(arg)
    ^
repl.c:2054:47: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
    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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  err_pos = pos;
          ^ ~~~
repl.c:2111:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  err_s_subr = s_subr;
             ^ ~~~~~~
repl.c:2116:24: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast]
           COOKIE(1) : COOKIE((int)pos));
                              ^~~~~~~~
./scm.h:286:21: note: expanded from macro 'COOKIE'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  frexp(d, &dlen);
           ^~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:401:34: note: passing argument to parameter here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM divide(x, y)
    ^
scl.c:2041:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if ((MAKINUM(1L)==x) || (MAKINUM(-1L)==x)) return x;
                             ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
SCM scm_intexpt(z1, z2)
    ^
scl.c:2179:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else goto overflow;
        ^
scl.c:2161:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (MAKINUM(-1L)==z1) return BOOL_F==evenp(z2)?z1:acc;
      ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM ex2in(z)
    ^
scl.c:2455:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
scl.c:2456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
static void safe_add_1(f, fsum)
            ^
scl.c:2917:13: warning: unused function 'safe_add_1' [-Wunused-function]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
static SCM *lookupcar(vloc)
            ^
eval.c:548:12: warning: variable 'pv' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  else if (NIMP(addr) && IM_KEYWORD==CAR(addr)) { /* local macro binding */
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:173:17: note: expanded from macro 'NIMP'
#define NIMP(x) (!IMP(x))
                ^
eval.c:566:10: note: uninitialized use occurs here
  return pv;
         ^~
eval.c:548:8: note: remove the 'if' if its condition is always false
  else if (NIMP(addr) && IM_KEYWORD==CAR(addr)) { /* local macro binding */
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eval.c:540:10: note: initialize the variable 'pv' to silence this warning
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
SCM map(proc, arg1, args)
    ^
eval.c:3123:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
      ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_map);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
SCM for_each(proc, arg1, args)
    ^
eval.c:3170:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
      ASRTER(CONSP(ve[i]), ve[i], 0==i ? ARG2 : ARGn, s_for_each);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  SYSCALL(tmpnam(name););
          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here
__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.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
        #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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  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]
    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]
    lputs(ttyname(fileno(STREAM(exp))), port);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:777:38: note: passing argument to parameter 's' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM sym2vcell(sym)
    ^
sys.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
sys.c:1401:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
void dowinds(to)
     ^
sys.c:1645:9: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  sizet n;
        ^
sys.c:1662:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (!ncont) wta(MAKINUM(-1), (char *)NALLOC, s_cont);
                  ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
void init_storage(stack_start_ptr, init_heap_size)
     ^
sys.c:2178:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        sysintern("most-negative-fixnum", (SCM)MAKINUM(MOST_NEGATIVE_FIXNUM));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
void mark_locations(x, n)
     ^
sys.c:2624:22: warning: cast to smaller integer type 'int' from 'SCM *' (aka 'long *') [-Wpointer-to-int-cast]
        while(0 <= --m) if (CELLP(*(SCM **)&x[m])) {
                            ^~~~~~~~~~~~~~~~~~~~~
./scm.h:301:20: note: expanded from macro 'CELLP'
#define CELLP(x) (!NCELLP(x))
                   ^~~~~~~~~
./scm.h:302:39: note: expanded from macro 'NCELLP'
#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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM list_ref(lst, k)
    ^
subr.c:220:8: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
erout:  ASRTER(NIMP(lst) && CONSP(lst),
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1123:85: note: expanded from macro 'ASRTER'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM modulo(x, y)
    ^
subr.c:456:9: warning: variable 'yy' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
    if (!(z = INUM(y))) goto ov;
        ^~~~~~~~~~~~~~
subr.c:476:15: note: uninitialized use occurs here
  z = INUM(x)%yy;
              ^~
subr.c:456:5: note: remove the 'if' if its condition is always false
    if (!(z = INUM(y))) goto ov;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
subr.c:447:19: note: initialize the variable 'yy' to silence this warning
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_big_ash(x, cnt)
    ^
subr.c:891:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (blen <= -cnt) return sign ? MAKINUM(-1) : INUM0;
                                    ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_logand(x, y)
    ^
subr.c:993:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (UNBNDP(x)) return MAKINUM(-1);
                          ^~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_lognot(n)
    ^
subr.c:1190:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  return difference(MAKINUM(-1L), n);
                    ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_logcount(n)
    ^
subr.c:1324:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (BIGSIGN(n)) return scm_logcount(difference(MAKINUM(-1L), n));
                                                   ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
SCM scm_intlength(n)
    ^
subr.c:1349:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (BIGSIGN(n)) return scm_intlength(difference(MAKINUM(-1L), n));
                                                    ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM normbig(b)
    ^
subr.c:1800:31: warning: while loop has empty body [-Wempty-body]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
     BIGDIG div;
            ^
./scm.h:1077:66: note: previous declaration is here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
     float x;
           ^
./scm.h:1005:33: note: previous declaration is here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
int rafill(ra, fill, ignore)
    ^
unif.c:522:12: warning: variable 'vlen' set but not used [-Wunused-but-set-variable]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM aref(v, args)
    ^
unif.c:860:5: warning: variable 'pos' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
    ASRTGO(NULLP(args), badarg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1124:36: note: expanded from macro 'ASRTGO'
# define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label;
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:467:32: note: expanded from macro 'SCM_EXPECT_FALSE'
#define SCM_EXPECT_FALSE(expr) (__builtin_expect(expr, 0))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
unif.c:882:23: note: uninitialized use occurs here
  outrng: wta(MAKINUM(pos), (char *)OUTOFRANGE, s_aref);
                      ^~~
./scmfig.h:590:24: note: expanded from macro 'MAKINUM'
# define MAKINUM(x) (((x)<<2)+2L)
                       ^
unif.c:860:5: note: remove the 'if' if its condition is always false
    ASRTGO(NULLP(args), badarg);
    ^
./scm.h:1124:32: note: expanded from macro 'ASRTGO'
# define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label;
                               ^
unif.c:858:11: note: initialize the variable 'pos' to silence this warning
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    ((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]
  ASRTGO(NIMP(v), badarg1);
  ^~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1124:36: note: expanded from macro 'ASRTGO'
# define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label;
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:467:32: note: expanded from macro 'SCM_EXPECT_FALSE'
#define SCM_EXPECT_FALSE(expr) (__builtin_expect(expr, 0))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
unif.c:1081:23: note: uninitialized use occurs here
  outrng: wta(MAKINUM(pos), (char *)OUTOFRANGE, s_aset);
                      ^~~
./scmfig.h:590:24: note: expanded from macro 'MAKINUM'
# define MAKINUM(x) (((x)<<2)+2L)
                       ^
unif.c:1062:3: note: remove the 'if' if its condition is always false
  ASRTGO(NIMP(v), badarg1);
  ^
./scm.h:1124:32: note: expanded from macro 'ASRTGO'
# define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label;
                               ^
unif.c:1061:11: note: initialize the variable 'pos' to silence this warning
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM bit_position(item, v, k)
    ^
unif.c:1396:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (0==len) return MAKINUM(-1L);
                       ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM array_prot(ra)
    ^
unif.c:2022:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  case tc7_VfixZ32: return MAKINUM(-32L);
                           ^~~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# define MAKINUM(x) (((x)<<2)+2L)
                      ~~~^
unif.c:2024:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  case tc7_VfixZ16: return MAKINUM(-16L);
                           ^~~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# define MAKINUM(x) (((x)<<2)+2L)
                      ~~~^
unif.c:2026:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  case tc7_VfixZ8: return MAKINUM(-8L);
                          ^~~~~~~~~~~~
./scmfig.h:590:26: note: expanded from macro 'MAKINUM'
# 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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:162:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:181:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
}
^
rope.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    must_free(argv[i], 1+strlen(argv[i]));
              ^~~~~~~
./scm.h:720:36: note: passing argument to parameter 'obj' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM scm_gc_protect(obj)
    ^
28 warnings generated.
unexelf.c:426:10: fatal error: 'elf.h' file not found
#include <elf.h>
         ^~~~~~~
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
  XSaveContext(XDISPLAY(sdpy), (XID)cmp, xtc_cmp, z);
                                                  ^
/Users/pbulk/build/lang/scm/work/.buildlink/include/X11/Xutil.h:581:1: note: passing argument to parameter here
);
^
x.c:365:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    XSaveContext(ccc->dpy, (XID)ccc, xtc_ccc, s_ccc);
                                              ^~~~~
/Users/pbulk/build/lang/scm/work/.buildlink/include/X11/Xutil.h:581:1: note: passing argument to parameter here
);
^
x.c:614:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM x_display_debug(sd, si)
    ^
x.c:1013:9: warning: variable 'previous_after_function' set but not used [-Wunused-but-set-variable]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
                              VELTS(pxra), npixels,
                              ^~~~~~~~~~~
./scm.h:455:18: note: expanded from macro 'VELTS'
#define VELTS(x) ((SCM *)CDR(x))
                 ^~~~~~~~~~~~~~~
/Users/pbulk/build/lang/scm/work/.buildlink/include/X11/Xlib.h:1988:39: note: passing argument to parameter here
    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]
                           VELTS(plra), nplanes, VELTS(pxra), npixels);
                           ^~~~~~~~~~~
./scm.h:455:18: note: expanded from macro 'VELTS'
#define VELTS(x) ((SCM *)CDR(x))
                 ^~~~~~~~~~~~~~~
/Users/pbulk/build/lang/scm/work/.buildlink/include/X11/Xlib.h:1978:44: note: passing argument to parameter here
    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]
                           VELTS(plra), nplanes, VELTS(pxra), npixels);
                                                 ^~~~~~~~~~~
./scm.h:455:18: note: expanded from macro 'VELTS'
#define VELTS(x) ((SCM *)CDR(x))
                 ^~~~~~~~~~~~~~~
/Users/pbulk/build/lang/scm/work/.buildlink/include/X11/Xlib.h:1980:39: note: passing argument to parameter here
    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 C2x [-Wdeprecated-non-prototype]
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]
    XFreeColors(xcm->dpy, xcm->cm, VELTS(spxls), INUM(spxls), planes);
                                   ^~~~~~~~~~~~
./scm.h:455:18: note: expanded from macro 'VELTS'
#define VELTS(x) ((SCM *)CDR(x))
                 ^~~~~~~~~~~~~~~
/Users/pbulk/build/lang/scm/work/.buildlink/include/X11/Xlib.h:2538:32: note: passing argument to parameter here
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
      case 8: return makfrom0str(data);
                                 ^~~~
./scm.h:1050:44: note: passing argument to parameter 'scr' here
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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]
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
SCM x_event_keysym(sevent)
    ^
x.c:2274:3: warning: variable 'ev' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  ASRTGO(NIMP(sevent) && XEVENTP(sevent), badarg);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./scm.h:1124:36: note: expanded from macro 'ASRTGO'
# define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label;
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
./scmfig.h:467:32: note: expanded from macro 'SCM_EXPECT_FALSE'
#define SCM_EXPECT_FALSE(expr) (__builtin_expect(expr, 0))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
x.c:2283:23: note: uninitialized use occurs here
  ans = XLookupKeysym(ev, ev->state);
                      ^~
x.c:2274:3: note: remove the 'if' if its condition is always false
  ASRTGO(NIMP(sevent) && XEVENTP(sevent), badarg);
  ^
./scm.h:1124:32: note: expanded from macro 'ASRTGO'
# define ASRTGO(_cond, _label) if (SCM_EXPECT_FALSE(!(_cond))) goto _label;
                               ^
x.c:2272:16: note: initialize the variable 'ev' to silence this warning
  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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/scm
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/scm