=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for klh10-2.0h make -f ../../src/Makefile.mk kn10-kl dprpxx dptm03 dpni20 wfconv tapedd vdkfmt wxtest uexbconv "SRC = ../../src" "CC = cc" "CFLAGS = -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 " "LDFLAGS = " "LIBS = " "CENVFLAGS = -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h" "CONFFLAGS = -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\\\"MyKL\\\" " cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/klh10.c ../../src/klh10.c:472:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] fprintf(f, "%s\n", KLH10_COPYRIGHT); ^ ../../src/klh10.h:63:15: note: expanded from macro 'KLH10_COPYRIGHT' Copyright 2002 Kenneth L. Harrenstien -- All Rights Reserved." ^~~~ ../../src/klh10.c:501:5: warning: implicit declaration of function 'fe_ctyinit' is invalid in C99 [-Wimplicit-function-declaration] fe_ctyinit(); /* Initialize console, KLH10 UI */ ^ ../../src/klh10.c:2249:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (vp = fevm_xmap(ddt_cloc, ddt_clmode)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/klh10.c:2249:12: note: place parentheses around the assignment to silence this warning if (vp = fevm_xmap(ddt_cloc, ddt_clmode)) { ^ ( ) ../../src/klh10.c:2249:12: note: use '==' to turn this assignment into an equality comparison if (vp = fevm_xmap(ddt_cloc, ddt_clmode)) { ^ == ../../src/klh10.c:2291:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (vp = fevm_xmap(ddt_cloc, ddt_clmode)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/klh10.c:2291:12: note: place parentheses around the assignment to silence this warning if (vp = fevm_xmap(ddt_cloc, ddt_clmode)) ^ ( ) ../../src/klh10.c:2291:12: note: use '==' to turn this assignment into an equality comparison if (vp = fevm_xmap(ddt_cloc, ddt_clmode)) ^ == ../../src/klh10.c:2923:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (vp = fevm_xmap(e, FEVM_CUR)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/klh10.c:2923:14: note: place parentheses around the assignment to silence this warning if (vp = fevm_xmap(e, FEVM_CUR)) ^ ( ) ../../src/klh10.c:2923:14: note: use '==' to turn this assignment into an equality comparison if (vp = fevm_xmap(e, FEVM_CUR)) ^ == 5 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/prmstr.c ../../src/prmstr.c:281:4: warning: data argument not used by format string [-Wformat-extra-args] *(int *)p->prmv_loc); ^ ../../src/prmstr.c:397:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr(str, ',')) { ~~~^~~~~~~~~~~~~~~~~~ ../../src/prmstr.c:397:12: note: place parentheses around the assignment to silence this warning if (cp = strchr(str, ',')) { ^ ( ) ../../src/prmstr.c:397:12: note: use '==' to turn this assignment into an equality comparison if (cp = strchr(str, ',')) { ^ == ../../src/prmstr.c:467:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p->prm_val = strchr(cp, '=')) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../src/prmstr.c:467:20: note: place parentheses around the assignment to silence this warning if (p->prm_val = strchr(cp, '=')) ^ ( ) ../../src/prmstr.c:467:20: note: use '==' to turn this assignment into an equality comparison if (p->prm_val = strchr(cp, '=')) ^ == ../../src/prmstr.c:508:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (kidx = 0; ts = ((struct prmkey_s *)keytab)->prmk_key; ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/prmstr.c:508:25: note: place parentheses around the assignment to silence this warning for (kidx = 0; ts = ((struct prmkey_s *)keytab)->prmk_key; ^ ( ) ../../src/prmstr.c:508:25: note: use '==' to turn this assignment into an equality comparison for (kidx = 0; ts = ((struct prmkey_s *)keytab)->prmk_key; ^ == ../../src/prmstr.c:682:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *s1++) { ~~~^~~~~~~ ../../src/prmstr.c:682:15: note: place parentheses around the assignment to silence this warning while (c1 = *s1++) { ^ ( ) ../../src/prmstr.c:682:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *s1++) { ^ == ../../src/prmstr.c:704:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = (char *)malloc(strlen(s)+1)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/prmstr.c:704:12: note: place parentheses around the assignment to silence this warning if (cp = (char *)malloc(strlen(s)+1)) ^ ( ) ../../src/prmstr.c:704:12: note: use '==' to turn this assignment into an equality comparison if (cp = (char *)malloc(strlen(s)+1)) ^ == 6 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/fecmd.c ../../src/fecmd.c:233:2: warning: implicit declaration of function 'fe_shutdown' is invalid in C99 [-Wimplicit-function-declaration] fe_shutdown(); ^ 1 warning generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/feload.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/wfio.c ../../src/wfio.c:177:11: warning: comparison of 0 <= unsigned enum expression is always true [-Wtautological-compare] if (0 <= wf->wftype && wf->wftype < WF_NTYPES) ~ ^ ~~~~~~~~~~ ../../src/wfio.c:379:13: warning: enumeration value 'WFT_U36' not handled in switch [-Wswitch] switch (wf->wftype) { ^ 2 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/osdsup.c ../../src/osdsup.c:173:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(status); ^ ../../src/osdsup.c:173:5: note: please include the header or explicitly provide a declaration for 'exit' ../../src/osdsup.c:1491:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (julian = (tm->tm_yday - julian)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/osdsup.c:1491:16: note: place parentheses around the assignment to silence this warning if (julian = (tm->tm_yday - julian)) ^ ( ) ../../src/osdsup.c:1491:16: note: use '==' to turn this assignment into an equality comparison if (julian = (tm->tm_yday - julian)) ^ == ../../src/osdsup.c:1492:26: warning: implicitly declaring library function 'abs' with type 'int (int)' zn += ((julian < 0) == (abs(julian) == 1)) ? -24*60 : 24*60; ^ ../../src/osdsup.c:1492:26: note: please include the header or explicitly provide a declaration for 'abs' 3 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/kn10cpu.c ../../src/kn10cpu.c:197:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (haltval = _setjmp(aprhaltbuf)) { /* If longjmp back, */ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../../src/kn10cpu.c:197:17: note: place parentheses around the assignment to silence this warning if (haltval = _setjmp(aprhaltbuf)) { /* If longjmp back, */ ^ ( ) ../../src/kn10cpu.c:197:17: note: use '==' to turn this assignment into an equality comparison if (haltval = _setjmp(aprhaltbuf)) { /* If longjmp back, */ ^ == ../../src/kn10cpu.c:476:15: warning: implicit declaration of function 'fe_haltcode' is invalid in C99 [-Wimplicit-function-declaration] apr_halt(fe_haltcode()); /* And halt processor! */ ^ ../../src/kn10cpu.c:502:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pilev = pi_check()) /* If PI interrupt requested, */ ~~~~~~^~~~~~~~~~~~ ../../src/kn10cpu.c:502:16: note: place parentheses around the assignment to silence this warning if (pilev = pi_check()) /* If PI interrupt requested, */ ^ ( ) ../../src/kn10cpu.c:502:16: note: use '==' to turn this assignment into an equality comparison if (pilev = pi_check()) /* If PI interrupt requested, */ ^ == ../../src/kn10cpu.c:1823:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cpu.pi.pilev_timreq |= cpu.tim.tim_lev) /* Add PI if any */ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../src/kn10cpu.c:1823:26: note: place parentheses around the assignment to silence this warning if (cpu.pi.pilev_timreq |= cpu.tim.tim_lev) /* Add PI if any */ ^ ( ) ../../src/kn10cpu.c:1823:26: note: use '!=' to turn this compound assignment into an inequality comparison if (cpu.pi.pilev_timreq |= cpu.tim.tim_lev) /* Add PI if any */ ^~ != ../../src/kn10cpu.c:2373:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cpu.pi.pilev_dreq = (cpu.pi.pilev_aprreq ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10cpu.c:2373:27: note: place parentheses around the assignment to silence this warning if (cpu.pi.pilev_dreq = (cpu.pi.pilev_aprreq ^ ../../src/kn10cpu.c:2373:27: note: use '==' to turn this assignment into an equality comparison if (cpu.pi.pilev_dreq = (cpu.pi.pilev_aprreq ^ == 5 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/kn10pag.c ../../src/kn10pag.c:1073:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (vmp = pag_refill(cpu.vmap.xrw, e, VMF_NOTRAP)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10pag.c:1073:13: note: place parentheses around the assignment to silence this warning if (vmp = pag_refill(cpu.vmap.xrw, e, VMF_NOTRAP)) { ^ ( ) ../../src/kn10pag.c:1073:13: note: use '==' to turn this assignment into an equality comparison if (vmp = pag_refill(cpu.vmap.xrw, e, VMF_NOTRAP)) { ^ == ../../src/kn10pag.c:1550:26: warning: '&&' within '||' [-Wlogical-op-parentheses] && ((f & VMF_WRITE) && (cpu.mr_abk_cond & ABK_WRITE) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10pag.c:1550:26: note: place parentheses around the '&&' expression to silence this warning && ((f & VMF_WRITE) && (cpu.mr_abk_cond & ABK_WRITE) ^ ( ) ../../src/kn10pag.c:1568:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (vmp = pag_t20map(p, vpag, (f & VMF_ACC))) /* Try mapping */ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10pag.c:1568:13: note: place parentheses around the assignment to silence this warning if (vmp = pag_t20map(p, vpag, (f & VMF_ACC))) /* Try mapping */ ^ ( ) ../../src/kn10pag.c:1568:13: note: use '==' to turn this assignment into an equality comparison if (vmp = pag_t20map(p, vpag, (f & VMF_ACC))) /* Try mapping */ ^ == 3 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/kn10clk.c ../../src/kn10clk.c:369:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cpu.clk.clk_ithzfix = KLH10_CLK_ITHZFIX) { ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../../src/kn10clk.c:369:29: note: place parentheses around the assignment to silence this warning if (cpu.clk.clk_ithzfix = KLH10_CLK_ITHZFIX) { ^ ( ) ../../src/kn10clk.c:369:29: note: use '==' to turn this assignment into an equality comparison if (cpu.clk.clk_ithzfix = KLH10_CLK_ITHZFIX) { ^ == ../../src/kn10clk.c:562:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce = cpu.clk.clk_itickl) { ~~~^~~~~~~~~~~~~~~~~~~~ ../../src/kn10clk.c:562:12: note: place parentheses around the assignment to silence this warning if (ce = cpu.clk.clk_itickl) { ^ ( ) ../../src/kn10clk.c:562:12: note: use '==' to turn this assignment into an equality comparison if (ce = cpu.clk.clk_itickl) { ^ == ../../src/kn10clk.c:572:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (ce = nce); ~~~^~~~~ ../../src/kn10clk.c:572:14: note: place parentheses around the assignment to silence this warning } while (ce = nce); ^ ( ) ../../src/kn10clk.c:572:14: note: use '==' to turn this assignment into an equality comparison } while (ce = nce); ^ == ../../src/kn10clk.c:589:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce->cke_prev->cke_next = nce) /* Take off queue */ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../../src/kn10clk.c:589:30: note: place parentheses around the assignment to silence this warning if (ce->cke_prev->cke_next = nce) /* Take off queue */ ^ ( ) ../../src/kn10clk.c:589:30: note: use '==' to turn this assignment into an equality comparison if (ce->cke_prev->cke_next = nce) /* Take off queue */ ^ == ../../src/kn10clk.c:597:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce->cke_prev->cke_next = nce) /* Take off queue */ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../../src/kn10clk.c:597:30: note: place parentheses around the assignment to silence this warning if (ce->cke_prev->cke_next = nce) /* Take off queue */ ^ ( ) ../../src/kn10clk.c:597:30: note: use '==' to turn this assignment into an equality comparison if (ce->cke_prev->cke_next = nce) /* Take off queue */ ^ == ../../src/kn10clk.c:601:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce->cke_next = cpu.clk.clk_quiet) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../../src/kn10clk.c:601:20: note: place parentheses around the assignment to silence this warning if (ce->cke_next = cpu.clk.clk_quiet) ^ ( ) ../../src/kn10clk.c:601:20: note: use '==' to turn this assignment into an equality comparison if (ce->cke_next = cpu.clk.clk_quiet) ^ == ../../src/kn10clk.c:608:34: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce->cke_prev->cke_next = nce) /* Take off queue */ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../../src/kn10clk.c:608:34: note: place parentheses around the assignment to silence this warning if (ce->cke_prev->cke_next = nce) /* Take off queue */ ^ ( ) ../../src/kn10clk.c:608:34: note: use '==' to turn this assignment into an equality comparison if (ce->cke_prev->cke_next = nce) /* Take off queue */ ^ == ../../src/kn10clk.c:655:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce = cpu.clk.clk_free) { ~~~^~~~~~~~~~~~~~~~~~ ../../src/kn10clk.c:655:12: note: place parentheses around the assignment to silence this warning if (ce = cpu.clk.clk_free) { ^ ( ) ../../src/kn10clk.c:655:12: note: use '==' to turn this assignment into an equality comparison if (ce = cpu.clk.clk_free) { ^ == ../../src/kn10clk.c:695:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce = cpu.clk.clk_free) { /* Get a free entry */ ~~~^~~~~~~~~~~~~~~~~~ ../../src/kn10clk.c:695:12: note: place parentheses around the assignment to silence this warning if (ce = cpu.clk.clk_free) { /* Get a free entry */ ^ ( ) ../../src/kn10clk.c:695:12: note: use '==' to turn this assignment into an equality comparison if (ce = cpu.clk.clk_free) { /* Get a free entry */ ^ == ../../src/kn10clk.c:703:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce->cke_next = cpu.clk.clk_itickl) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../src/kn10clk.c:703:19: note: place parentheses around the assignment to silence this warning if (ce->cke_next = cpu.clk.clk_itickl) ^ ( ) ../../src/kn10clk.c:703:19: note: use '==' to turn this assignment into an equality comparison if (ce->cke_next = cpu.clk.clk_itickl) ^ == ../../src/kn10clk.c:743:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_qdelete(ce); /* Take off mtick queue list */ ^~~~~~~~~~~~~~~ ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:743:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:743:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:767:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_qdelete(ce); /* Take off its list */ ^~~~~~~~~~~~~~~ ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:767:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:767:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:777:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_2ldelete(ce); /* Take off its list */ ^~~~~~~~~~~~~~~~ ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:777:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:777:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:784:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce->cke_next = cpu.clk.clk_quiet) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../../src/kn10clk.c:784:22: note: place parentheses around the assignment to silence this warning if (ce->cke_next = cpu.clk.clk_quiet) ^ ( ) ../../src/kn10clk.c:784:22: note: use '==' to turn this assignment into an equality comparison if (ce->cke_next = cpu.clk.clk_quiet) ^ == ../../src/kn10clk.c:801:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_2ldelete(ce); /* Take off its list */ ^~~~~~~~~~~~~~~~ ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:801:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:801:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:806:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce->cke_next = cpu.clk.clk_itickl) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../src/kn10clk.c:806:19: note: place parentheses around the assignment to silence this warning if (ce->cke_next = cpu.clk.clk_itickl) ^ ( ) ../../src/kn10clk.c:806:19: note: use '==' to turn this assignment into an equality comparison if (ce->cke_next = cpu.clk.clk_itickl) ^ == ../../src/kn10clk.c:812:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_2ldelete(ce); /* Take off its list */ ^~~~~~~~~~~~~~~~ ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:812:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:812:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:818:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_2ldelete(ce); /* Take off its list */ ^~~~~~~~~~~~~~~~ ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:818:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:818:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:848:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_qdelete(ce); /* Take off clock queue */ ^~~~~~~~~~~~~~~ ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:848:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:848:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:855:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_2ldelete(ce); /* Take off its list */ ^~~~~~~~~~~~~~~~ ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:855:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:855:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:321:30: note: expanded from macro 'clk_2ldelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:881:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (nce = pce; nce = nce->cke_next; pce = nce) { ~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:881:25: note: place parentheses around the assignment to silence this warning for (nce = pce; nce = nce->cke_next; pce = nce) { ^ ( ) ../../src/kn10clk.c:881:25: note: use '==' to turn this assignment into an equality comparison for (nce = pce; nce = nce->cke_next; pce = nce) { ^ == ../../src/kn10clk.c:894:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ce->cke_next = nce) ~~~~~~~~~~~~~^~~~~ ../../src/kn10clk.c:894:22: note: place parentheses around the assignment to silence this warning if (ce->cke_next = nce) ^ ( ) ../../src/kn10clk.c:894:22: note: use '==' to turn this assignment into an equality comparison if (ce->cke_next = nce) ^ == ../../src/kn10clk.c:930:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_qdelete(ce); ^~~~~~~~~~~~~~~ ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:930:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:930:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:936:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] clk_qdelete(ce); /* Take off clock queue */ ^~~~~~~~~~~~~~~ ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../src/kn10clk.c:936:2: note: place parentheses around the assignment to silence this warning ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:936:2: note: use '==' to turn this assignment into an equality comparison ../../src/kn10clk.c:326:30: note: expanded from macro 'clk_qdelete' if ((e)->cke_prev->cke_next = (e)->cke_next) \ ^ ../../src/kn10clk.c:1091:10: warning: 6 enumeration values not handled in switch: 'CLKENT_ST_FREE', 'CLKENT_ST_CTICK', 'CLKENT_ST_ITICK'... [-Wswitch] switch (ce->cke_state) { ^ 25 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/opdata.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/kn10ops.c ../../src/kn10ops.c:370:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (reg = LHGET(w)) i = 17; /* Find right halfword and set up */ ~~~~^~~~~~~~~~ ../../src/kn10ops.c:370:13: note: place parentheses around the assignment to silence this warning if (reg = LHGET(w)) i = 17; /* Find right halfword and set up */ ^ ( ) ../../src/kn10ops.c:370:13: note: use '==' to turn this assignment into an equality comparison if (reg = LHGET(w)) i = 17; /* Find right halfword and set up */ ^ == ../../src/kn10ops.c:371:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (reg = RHGET(w)) i = 17+18; ~~~~^~~~~~~~~~ ../../src/kn10ops.c:371:18: note: place parentheses around the assignment to silence this warning else if (reg = RHGET(w)) i = 17+18; ^ ( ) ../../src/kn10ops.c:371:18: note: use '==' to turn this assignment into an equality comparison else if (reg = RHGET(w)) i = 17+18; ^ == ../../src/kn10ops.c:400:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (reg = LHGET(d.HI)) i = 17; /* Find right halfword and set up */ ~~~~^~~~~~~~~~~~~ ../../src/kn10ops.c:400:13: note: place parentheses around the assignment to silence this warning if (reg = LHGET(d.HI)) i = 17; /* Find right halfword and set up */ ^ ( ) ../../src/kn10ops.c:400:13: note: use '==' to turn this assignment into an equality comparison if (reg = LHGET(d.HI)) i = 17; /* Find right halfword and set up */ ^ == ../../src/kn10ops.c:401:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (reg = RHGET(d.HI)) i = 17+18; ~~~~^~~~~~~~~~~~~ ../../src/kn10ops.c:401:18: note: place parentheses around the assignment to silence this warning else if (reg = RHGET(d.HI)) i = 17+18; ^ ( ) ../../src/kn10ops.c:401:18: note: use '==' to turn this assignment into an equality comparison else if (reg = RHGET(d.HI)) i = 17+18; ^ == ../../src/kn10ops.c:402:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (reg = (LHGET(d.LO)&H10MAGS)) i = 17+36-1; ~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:402:18: note: place parentheses around the assignment to silence this warning else if (reg = (LHGET(d.LO)&H10MAGS)) i = 17+36-1; ^ ( ) ../../src/kn10ops.c:402:18: note: use '==' to turn this assignment into an equality comparison else if (reg = (LHGET(d.LO)&H10MAGS)) i = 17+36-1; ^ == ../../src/kn10ops.c:403:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (reg = RHGET(d.LO)) i = 17+36+18-1; ~~~~^~~~~~~~~~~~~ ../../src/kn10ops.c:403:18: note: place parentheses around the assignment to silence this warning else if (reg = RHGET(d.LO)) i = 17+36+18-1; ^ ( ) ../../src/kn10ops.c:403:18: note: use '==' to turn this assignment into an equality comparison else if (reg = RHGET(d.LO)) i = 17+36+18-1; ^ == ../../src/kn10ops.c:1108:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sign = wskipl(a)) /* Make args positive, remember signs */ ~~~~~^~~~~~~~~~~ ../../src/kn10ops.c:1108:14: note: place parentheses around the assignment to silence this warning if (sign = wskipl(a)) /* Make args positive, remember signs */ ^ ( ) ../../src/kn10ops.c:1108:14: note: use '==' to turn this assignment into an equality comparison if (sign = wskipl(a)) /* Make args positive, remember signs */ ^ == ../../src/kn10ops.c:1144:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sign = wskipl(a)) ~~~~~^~~~~~~~~~~ ../../src/kn10ops.c:1144:14: note: place parentheses around the assignment to silence this warning if (sign = wskipl(a)) ^ ( ) ../../src/kn10ops.c:1144:14: note: use '==' to turn this assignment into an equality comparison if (sign = wskipl(a)) ^ == ../../src/kn10ops.c:1278:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = x_div(ad, b)) ~~^~~~~~~~~~~~~~ ../../src/kn10ops.c:1278:11: note: place parentheses around the assignment to silence this warning if (r = x_div(ad, b)) ^ ( ) ../../src/kn10ops.c:1278:11: note: use '==' to turn this assignment into an equality comparison if (r = x_div(ad, b)) ^ == ../../src/kn10ops.c:1350:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (numsign = wskipl(d.HI)) ~~~~~~~~^~~~~~~~~~~~~~ ../../src/kn10ops.c:1350:17: note: place parentheses around the assignment to silence this warning if (numsign = wskipl(d.HI)) ^ ( ) ../../src/kn10ops.c:1350:17: note: use '==' to turn this assignment into an equality comparison if (numsign = wskipl(d.HI)) ^ == ../../src/kn10ops.c:1352:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (densign = wskipl(w)) ~~~~~~~~^~~~~~~~~~~ ../../src/kn10ops.c:1352:17: note: place parentheses around the assignment to silence this warning if (densign = wskipl(w)) ^ ( ) ../../src/kn10ops.c:1352:17: note: use '==' to turn this assignment into an equality comparison if (densign = wskipl(w)) ^ == ../../src/kn10ops.c:1590:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sign = wskipl(da.HI)) ~~~~~^~~~~~~~~~~~~~~ ../../src/kn10ops.c:1590:14: note: place parentheses around the assignment to silence this warning if (sign = wskipl(da.HI)) ^ ( ) ../../src/kn10ops.c:1590:14: note: use '==' to turn this assignment into an equality comparison if (sign = wskipl(da.HI)) ^ == ../../src/kn10ops.c:1698:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (numsign = wskipl(qw.D0.HI)) ~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1698:17: note: place parentheses around the assignment to silence this warning if (numsign = wskipl(qw.D0.HI)) ^ ( ) ../../src/kn10ops.c:1698:17: note: use '==' to turn this assignment into an equality comparison if (numsign = wskipl(qw.D0.HI)) ^ == ../../src/kn10ops.c:1700:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (densign = wskipl(d.HI)) ~~~~~~~~^~~~~~~~~~~~~~ ../../src/kn10ops.c:1700:17: note: place parentheses around the assignment to silence this warning if (densign = wskipl(d.HI)) ^ ( ) ../../src/kn10ops.c:1700:17: note: use '==' to turn this assignment into an equality comparison if (densign = wskipl(d.HI)) ^ == ../../src/kn10ops.c:2093:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SF_POSSETUP(sign, exp, a); /* Get positive exp and fract */ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1796:14: note: expanded from macro 'SF_POSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:2093:5: note: place parentheses around the assignment to silence this warning SF_POSSETUP(sign, exp, a); /* Get positive exp and fract */ ^ ( ../../src/kn10ops.c:1796:14: note: expanded from macro 'SF_POSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:2093:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1796:14: note: expanded from macro 'SF_POSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:2197:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sign = wskipl(a)) { /* Negative? */ ~~~~~^~~~~~~~~~~ ../../src/kn10ops.c:2197:14: note: place parentheses around the assignment to silence this warning if (sign = wskipl(a)) { /* Negative? */ ^ ( ) ../../src/kn10ops.c:2197:14: note: use '==' to turn this assignment into an equality comparison if (sign = wskipl(a)) { /* Negative? */ ^ == ../../src/kn10ops.c:2529:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sign = wskipl(w)) ~~~~~^~~~~~~~~~~ ../../src/kn10ops.c:2529:14: note: place parentheses around the assignment to silence this warning if (sign = wskipl(w)) ^ ( ) ../../src/kn10ops.c:2529:14: note: use '==' to turn this assignment into an equality comparison if (sign = wskipl(w)) ^ == ../../src/kn10ops.c:2648:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SF_POSSETUP(sign, i, w); /* Set up exponent, get positive fract */ ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1796:14: note: expanded from macro 'SF_POSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:2648:5: note: place parentheses around the assignment to silence this warning SF_POSSETUP(sign, i, w); /* Set up exponent, get positive fract */ ^ ( ../../src/kn10ops.c:1796:14: note: expanded from macro 'SF_POSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:2648:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1796:14: note: expanded from macro 'SF_POSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:2983:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SF_DPOSSETUP(sign, exp, a); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1814:14: note: expanded from macro 'SF_DPOSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:2983:5: note: place parentheses around the assignment to silence this warning SF_DPOSSETUP(sign, exp, a); ^ ( ../../src/kn10ops.c:1814:14: note: expanded from macro 'SF_DPOSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:2983:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1814:14: note: expanded from macro 'SF_DPOSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:2984:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SF_DPOSSETUP(signb, expb, b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1814:14: note: expanded from macro 'SF_DPOSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:2984:5: note: place parentheses around the assignment to silence this warning SF_DPOSSETUP(signb, expb, b); ^ ( ../../src/kn10ops.c:1814:14: note: expanded from macro 'SF_DPOSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:2984:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1814:14: note: expanded from macro 'SF_DPOSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:3087:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SF_DPOSSETUP(signb, expb, b); /* Set up 2nd arg normally */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1814:14: note: expanded from macro 'SF_DPOSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:3087:5: note: place parentheses around the assignment to silence this warning SF_DPOSSETUP(signb, expb, b); /* Set up 2nd arg normally */ ^ ( ../../src/kn10ops.c:1814:14: note: expanded from macro 'SF_DPOSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:3087:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1814:14: note: expanded from macro 'SF_DPOSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:3661:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] GF_DPOSSETUP(sign, exp, a); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:3661:5: note: place parentheses around the assignment to silence this warning GF_DPOSSETUP(sign, exp, a); ^ ( ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:3661:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:3662:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] GF_DPOSSETUP(signb, expb, b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:3662:5: note: place parentheses around the assignment to silence this warning GF_DPOSSETUP(signb, expb, b); ^ ( ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:3662:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:3744:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] GF_DPOSSETUP(signb, expb, b); /* Set up 2nd arg normally */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:3744:5: note: place parentheses around the assignment to silence this warning GF_DPOSSETUP(signb, expb, b); /* Set up 2nd arg normally */ ^ ( ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:3744:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:3861:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sign = wskipl(d.HI)) { ~~~~~^~~~~~~~~~~~~~ ../../src/kn10ops.c:3861:14: note: place parentheses around the assignment to silence this warning if (sign = wskipl(d.HI)) { ^ ( ) ../../src/kn10ops.c:3861:14: note: use '==' to turn this assignment into an equality comparison if (sign = wskipl(d.HI)) { ^ == ../../src/kn10ops.c:4067:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SF_POSSETUP(sign, exp, w); /* Set up sign, exponent and fraction */ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1796:14: note: expanded from macro 'SF_POSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:4067:5: note: place parentheses around the assignment to silence this warning SF_POSSETUP(sign, exp, w); /* Set up sign, exponent and fraction */ ^ ( ../../src/kn10ops.c:1796:14: note: expanded from macro 'SF_POSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:4067:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1796:14: note: expanded from macro 'SF_POSSETUP' if (sign = (exp & SFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:4136:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] GF_DPOSSETUP(sign, i, d); /* Set up exponent, get positive fract */ ^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:4136:5: note: place parentheses around the assignment to silence this warning GF_DPOSSETUP(sign, i, d); /* Set up exponent, get positive fract */ ^ ( ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:4136:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:4207:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] GF_DPOSSETUP(sign, i, d); /* Set up exponent, get positive fract */ ^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ~~~~~^~~~~~~~~~~~~~~~~ ../../src/kn10ops.c:4207:5: note: place parentheses around the assignment to silence this warning GF_DPOSSETUP(sign, i, d); /* Set up exponent, get positive fract */ ^ ( ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ ../../src/kn10ops.c:4207:5: note: use '==' to turn this assignment into an equality comparison ../../src/kn10ops.c:1879:14: note: expanded from macro 'GF_DPOSSETUP' if (sign = (exp & GFESIGN)) { /* Negative? */\ ^ 28 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/inmove.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/inhalf.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/inblsh.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/intest.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/infix.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/inflt.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/inbyte.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/injrst.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/inexts.c ../../src/inexts.c:1103:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (res = xbpinit(bp, bp->ac, bp->src)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/inexts.c:1103:14: note: place parentheses around the assignment to silence this warning if (res = xbpinit(bp, bp->ac, bp->src)) { ^ ( ) ../../src/inexts.c:1103:14: note: use '==' to turn this assignment into an equality comparison if (res = xbpinit(bp, bp->ac, bp->src)) { ^ == ../../src/inexts.c:1147:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (res = xbpinit(bp, bp->ac, bp->src)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/inexts.c:1147:14: note: place parentheses around the assignment to silence this warning if (res = xbpinit(bp, bp->ac, bp->src)) { ^ ( ) ../../src/inexts.c:1147:14: note: use '==' to turn this assignment into an equality comparison if (res = xbpinit(bp, bp->ac, bp->src)) { ^ == ../../src/inexts.c:2427:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (res = xbpinit(&s2, ac_off(ac,4), BPDST)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/inexts.c:2427:11: note: place parentheses around the assignment to silence this warning if (res = xbpinit(&s2, ac_off(ac,4), BPDST)) { ^ ( ) ../../src/inexts.c:2427:11: note: use '==' to turn this assignment into an equality comparison if (res = xbpinit(&s2, ac_off(ac,4), BPDST)) { ^ == 3 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/inio.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/kn10dev.c ../../src/kn10dev.c:748:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr(sdev, '.')) { ~~~^~~~~~~~~~~~~~~~~~~ ../../src/kn10dev.c:748:12: note: place parentheses around the assignment to silence this warning if (cp = strchr(sdev, '.')) { ^ ( ) ../../src/kn10dev.c:748:12: note: use '==' to turn this assignment into an equality comparison if (cp = strchr(sdev, '.')) { ^ == ../../src/kn10dev.c:1123:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dp = def->dev_dv->dv_dpp) { ~~~^~~~~~~~~~~~~~~~~~~~~ ../../src/kn10dev.c:1123:13: note: place parentheses around the assignment to silence this warning if (dp = def->dev_dv->dv_dpp) { ^ ( ) ../../src/kn10dev.c:1123:13: note: use '==' to turn this assignment into an equality comparison if (dp = def->dev_dv->dv_dpp) { ^ == ../../src/kn10dev.c:1602:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (evr = evregfree) { /* Pluck from freelist */ ~~~~^~~~~~~~~~~ ../../src/kn10dev.c:1602:13: note: place parentheses around the assignment to silence this warning if (evr = evregfree) { /* Pluck from freelist */ ^ ( ) ../../src/kn10dev.c:1602:13: note: use '==' to turn this assignment into an equality comparison if (evr = evregfree) { /* Pluck from freelist */ ^ == ../../src/kn10dev.c:1645:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (evs->dves_next = evsiglist) /* Add to head of list */ ~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../src/kn10dev.c:1645:25: note: place parentheses around the assignment to silence this warning if (evs->dves_next = evsiglist) /* Add to head of list */ ^ ( ) ../../src/kn10dev.c:1645:25: note: use '==' to turn this assignment into an equality comparison if (evs->dves_next = evsiglist) /* Add to head of list */ ^ == ../../src/kn10dev.c:1652:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (evr->dver_next = evs->dves_reglist) /* Add to head of list */ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../../src/kn10dev.c:1652:21: note: place parentheses around the assignment to silence this warning if (evr->dver_next = evs->dves_reglist) /* Add to head of list */ ^ ( ) ../../src/kn10dev.c:1652:21: note: use '==' to turn this assignment into an equality comparison if (evr->dver_next = evs->dves_reglist) /* Add to head of list */ ^ == 5 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dvcty.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dvdte.c ../../src/dvdte.c:808:6: warning: implicit declaration of function 'fe_ctyout' is invalid in C99 [-Wimplicit-function-declaration] fe_ctyout((int)RHGET(w)&0377); ^ ../../src/dvdte.c:930:16: warning: implicit declaration of function 'fe_ctyin' is invalid in C99 [-Wimplicit-function-declaration] if ((ch = fe_ctyin()) < 0) ^ ../../src/dvdte.c:2101:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q->q_wbcnt = (bbcnt ? 0 : wbcnt)) /* If sending words, */ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../../src/dvdte.c:2101:20: note: place parentheses around the assignment to silence this warning if (q->q_wbcnt = (bbcnt ? 0 : wbcnt)) /* If sending words, */ ^ ( ) ../../src/dvdte.c:2101:20: note: use '==' to turn this assignment into an equality comparison if (q->q_wbcnt = (bbcnt ? 0 : wbcnt)) /* If sending words, */ ^ == ../../src/dvdte.c:2361:2: warning: implicit declaration of function 'fe_ctysout' is invalid in C99 [-Wimplicit-function-declaration] fe_ctysout(dt->dt_ctyobuf, chunk); ^ 4 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/vdisk.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dvrpxx.c ../../src/dvrpxx.c:1809:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = rp->rp_sdprp->dprp_err) { ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dvrpxx.c:1809:11: note: place parentheses around the assignment to silence this warning if (i = rp->rp_sdprp->dprp_err) { ^ ( ) ../../src/dvrpxx.c:1809:11: note: use '==' to turn this assignment into an equality comparison if (i = rp->rp_sdprp->dprp_err) { ^ == 1 warning generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dvrh20.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/vmtape.c ../../src/vmtape.c:669:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ ../../src/vmtape.c:741:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (df = fopen(dfn, "rb")) { ~~~^~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:741:12: note: place parentheses around the assignment to silence this warning if (df = fopen(dfn, "rb")) { ^ ( ) ../../src/vmtape.c:741:12: note: use '==' to turn this assignment into an equality comparison if (df = fopen(dfn, "rb")) { ^ == ../../src/vmtape.c:826:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cf = fopen(ta->vmta_path, "r")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:826:9: note: place parentheses around the assignment to silence this warning if (cf = fopen(ta->vmta_path, "r")) { ^ ( ) ../../src/vmtape.c:826:9: note: use '==' to turn this assignment into an equality comparison if (cf = fopen(ta->vmta_path, "r")) { ^ == ../../src/vmtape.c:849:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cf = fopen(cfn, "r")) ~~~^~~~~~~~~~~~~~~~~ ../../src/vmtape.c:849:14: note: place parentheses around the assignment to silence this warning if (cf = fopen(cfn, "r")) ^ ( ) ../../src/vmtape.c:849:14: note: use '==' to turn this assignment into an equality comparison if (cf = fopen(cfn, "r")) ^ == ../../src/vmtape.c:864:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fmt = fmtexamine(t, cf, VMT_FMT_CTL)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:864:10: note: place parentheses around the assignment to silence this warning if (fmt = fmtexamine(t, cf, VMT_FMT_CTL)) { ^ ( ) ../../src/vmtape.c:864:10: note: use '==' to turn this assignment into an equality comparison if (fmt = fmtexamine(t, cf, VMT_FMT_CTL)) { ^ == ../../src/vmtape.c:1086:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fn = malloc(blen+1+strlen(newext)+1)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:1086:12: note: place parentheses around the assignment to silence this warning if (fn = malloc(blen+1+strlen(newext)+1)) { ^ ( ) ../../src/vmtape.c:1086:12: note: use '==' to turn this assignment into an equality comparison if (fn = malloc(blen+1+strlen(newext)+1)) { ^ == ../../src/vmtape.c:1201:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cnt = VMT_TPC_COUNT(&buff[i])) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:1201:11: note: place parentheses around the assignment to silence this warning if (cnt = VMT_TPC_COUNT(&buff[i])) ^ ( ) ../../src/vmtape.c:1201:11: note: use '==' to turn this assignment into an equality comparison if (cnt = VMT_TPC_COUNT(&buff[i])) ^ == ../../src/vmtape.c:1621:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t->mt_datf = popen(cmdbuf, (*mode == 'r') ? "r" : "w")) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:1621:20: note: place parentheses around the assignment to silence this warning if (t->mt_datf = popen(cmdbuf, (*mode == 'r') ? "r" : "w")) ^ ( ) ../../src/vmtape.c:1621:20: note: use '==' to turn this assignment into an equality comparison if (t->mt_datf = popen(cmdbuf, (*mode == 'r') ? "r" : "w")) ^ == ../../src/vmtape.c:1736:13: warning: 8 enumeration values not handled in switch: 'VMT_FMT_UNK', 'VMT_FMT_CTL', 'VMT_FMT_ITS'... [-Wswitch] switch (t->mt_format) { ^ ../../src/vmtape.c:3033:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pad = (len & 01)) { /* Must pad? */ ~~~~^~~~~~~~~~~~ ../../src/vmtape.c:3033:10: note: place parentheses around the assignment to silence this warning if (pad = (len & 01)) { /* Must pad? */ ^ ( ) ../../src/vmtape.c:3033:10: note: use '==' to turn this assignment into an equality comparison if (pad = (len & 01)) { /* Must pad? */ ^ == ../../src/vmtape.c:3028:13: warning: 9 enumeration values not handled in switch: 'VMT_FMT_UNK', 'VMT_FMT_CTL', 'VMT_FMT_ITS'... [-Wswitch] switch (t->mt_format) { ^ ../../src/vmtape.c:3079:13: warning: 9 enumeration values not handled in switch: 'VMT_FMT_UNK', 'VMT_FMT_CTL', 'VMT_FMT_ITS'... [-Wswitch] switch (t->mt_format) { ^ ../../src/vmtape.c:3228:39: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (nline = t->mt_contents; cp = nline; t->mt_lineno++) { ~~~^~~~~~~ ../../src/vmtape.c:3228:39: note: place parentheses around the assignment to silence this warning for (nline = t->mt_contents; cp = nline; t->mt_lineno++) { ^ ( ) ../../src/vmtape.c:3228:39: note: use '==' to turn this assignment into an equality comparison for (nline = t->mt_contents; cp = nline; t->mt_lineno++) { ^ == ../../src/vmtape.c:3230:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (nline = strchr(nline, '\n')) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:3230:12: note: place parentheses around the assignment to silence this warning if (nline = strchr(nline, '\n')) ^ ( ) ../../src/vmtape.c:3230:12: note: use '==' to turn this assignment into an equality comparison if (nline = strchr(nline, '\n')) ^ == ../../src/vmtape.c:3237:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (key = strchr(cp, ';')) /* Strip off comments here */ ~~~~^~~~~~~~~~~~~~~~~ ../../src/vmtape.c:3237:10: note: place parentheses around the assignment to silence this warning if (key = strchr(cp, ';')) /* Strip off comments here */ ^ ( ) ../../src/vmtape.c:3237:10: note: use '==' to turn this assignment into an equality comparison if (key = strchr(cp, ';')) /* Strip off comments here */ ^ == ../../src/vmtape.c:3440:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (rs = wdscan(&cp)) { ~~~^~~~~~~~~~~~~ ../../src/vmtape.c:3440:15: note: place parentheses around the assignment to silence this warning while (rs = wdscan(&cp)) { ^ ( ) ../../src/vmtape.c:3440:15: note: use '==' to turn this assignment into an equality comparison while (rs = wdscan(&cp)) { ^ == ../../src/vmtape.c:3443:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (res = numscan(rs, &cs, &len)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:3443:10: note: place parentheses around the assignment to silence this warning if (res = numscan(rs, &cs, &len)) { ^ ( ) ../../src/vmtape.c:3443:10: note: use '==' to turn this assignment into an equality comparison if (res = numscan(rs, &cs, &len)) { ^ == ../../src/vmtape.c:3453:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (res = numscan(++cs, &cs, &cnt)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:3453:14: note: place parentheses around the assignment to silence this warning if (res = numscan(++cs, &cs, &cnt)) { ^ ( ) ../../src/vmtape.c:3453:14: note: use '==' to turn this assignment into an equality comparison if (res = numscan(++cs, &cs, &cnt)) { ^ == ../../src/vmtape.c:3802:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rd = td->tdrd) { ~~~^~~~~~~~~~ ../../src/vmtape.c:3802:12: note: place parentheses around the assignment to silence this warning if (rd = td->tdrd) { ^ ( ) ../../src/vmtape.c:3802:12: note: use '==' to turn this assignment into an equality comparison if (rd = td->tdrd) { ^ == 19 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dvtm03.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dvni20.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dpsup.c ../../src/dpsup.c:97:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (adj = (dpcsiz % sizeof(double))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dpsup.c:97:13: note: place parentheses around the assignment to silence this warning if (adj = (dpcsiz % sizeof(double))) ^ ( ) ../../src/dpsup.c:97:13: note: use '==' to turn this assignment into an equality comparison if (adj = (dpcsiz % sizeof(double))) ^ == ../../src/dpsup.c:99:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (adj = (insiz % sizeof(double))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dpsup.c:99:13: note: place parentheses around the assignment to silence this warning if (adj = (insiz % sizeof(double))) ^ ( ) ../../src/dpsup.c:99:13: note: use '==' to turn this assignment into an equality comparison if (adj = (insiz % sizeof(double))) ^ == ../../src/dpsup.c:101:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (adj = (outsiz % sizeof(double))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dpsup.c:101:13: note: place parentheses around the assignment to silence this warning if (adj = (outsiz % sizeof(double))) ^ ( ) ../../src/dpsup.c:101:13: note: use '==' to turn this assignment into an equality comparison if (adj = (outsiz % sizeof(double))) ^ == ../../src/dpsup.c:308:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pid = dp->dp_chpid) { ~~~~^~~~~~~~~~~~~~ ../../src/dpsup.c:308:10: note: place parentheses around the assignment to silence this warning if (pid = dp->dp_chpid) { ^ ( ) ../../src/dpsup.c:308:10: note: use '==' to turn this assignment into an equality comparison if (pid = dp->dp_chpid) { ^ == ../../src/dpsup.c:504:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(res); ^ ../../src/dpsup.c:504:5: note: please include the header or explicitly provide a declaration for 'exit' 5 warnings generated. cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dvhost.c cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dvlites.c cc -o kn10-kl klh10.o prmstr.o fecmd.o feload.o wfio.o osdsup.o kn10cpu.o kn10pag.o kn10clk.o opdata.o kn10ops.o inmove.o inhalf.o inblsh.o intest.o infix.o inflt.o inbyte.o injrst.o inexts.o inio.o kn10dev.o dvcty.o dvdte.o vdisk.o dvrpxx.o dvrh20.o vmtape.o dvtm03.o dvni20.o dpsup.o dvhost.o dvlites.o cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dprpxx.c cc -o dprpxx dprpxx.o dpsup.o cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dptm03.c In file included from ../../src/dptm03.c:341: ../../src/vmtape.c:669:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ ../../src/vmtape.c:741:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (df = fopen(dfn, "rb")) { ~~~^~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:741:12: note: place parentheses around the assignment to silence this warning if (df = fopen(dfn, "rb")) { ^ ( ) ../../src/vmtape.c:741:12: note: use '==' to turn this assignment into an equality comparison if (df = fopen(dfn, "rb")) { ^ == ../../src/vmtape.c:826:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cf = fopen(ta->vmta_path, "r")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:826:9: note: place parentheses around the assignment to silence this warning if (cf = fopen(ta->vmta_path, "r")) { ^ ( ) ../../src/vmtape.c:826:9: note: use '==' to turn this assignment into an equality comparison if (cf = fopen(ta->vmta_path, "r")) { ^ == ../../src/vmtape.c:849:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cf = fopen(cfn, "r")) ~~~^~~~~~~~~~~~~~~~~ ../../src/vmtape.c:849:14: note: place parentheses around the assignment to silence this warning if (cf = fopen(cfn, "r")) ^ ( ) ../../src/vmtape.c:849:14: note: use '==' to turn this assignment into an equality comparison if (cf = fopen(cfn, "r")) ^ == ../../src/vmtape.c:864:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fmt = fmtexamine(t, cf, VMT_FMT_CTL)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:864:10: note: place parentheses around the assignment to silence this warning if (fmt = fmtexamine(t, cf, VMT_FMT_CTL)) { ^ ( ) ../../src/vmtape.c:864:10: note: use '==' to turn this assignment into an equality comparison if (fmt = fmtexamine(t, cf, VMT_FMT_CTL)) { ^ == ../../src/vmtape.c:1086:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fn = malloc(blen+1+strlen(newext)+1)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:1086:12: note: place parentheses around the assignment to silence this warning if (fn = malloc(blen+1+strlen(newext)+1)) { ^ ( ) ../../src/vmtape.c:1086:12: note: use '==' to turn this assignment into an equality comparison if (fn = malloc(blen+1+strlen(newext)+1)) { ^ == ../../src/vmtape.c:1201:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cnt = VMT_TPC_COUNT(&buff[i])) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:1201:11: note: place parentheses around the assignment to silence this warning if (cnt = VMT_TPC_COUNT(&buff[i])) ^ ( ) ../../src/vmtape.c:1201:11: note: use '==' to turn this assignment into an equality comparison if (cnt = VMT_TPC_COUNT(&buff[i])) ^ == ../../src/vmtape.c:1621:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t->mt_datf = popen(cmdbuf, (*mode == 'r') ? "r" : "w")) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:1621:20: note: place parentheses around the assignment to silence this warning if (t->mt_datf = popen(cmdbuf, (*mode == 'r') ? "r" : "w")) ^ ( ) ../../src/vmtape.c:1621:20: note: use '==' to turn this assignment into an equality comparison if (t->mt_datf = popen(cmdbuf, (*mode == 'r') ? "r" : "w")) ^ == ../../src/vmtape.c:1736:13: warning: 8 enumeration values not handled in switch: 'VMT_FMT_UNK', 'VMT_FMT_CTL', 'VMT_FMT_ITS'... [-Wswitch] switch (t->mt_format) { ^ ../../src/vmtape.c:3033:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pad = (len & 01)) { /* Must pad? */ ~~~~^~~~~~~~~~~~ ../../src/vmtape.c:3033:10: note: place parentheses around the assignment to silence this warning if (pad = (len & 01)) { /* Must pad? */ ^ ( ) ../../src/vmtape.c:3033:10: note: use '==' to turn this assignment into an equality comparison if (pad = (len & 01)) { /* Must pad? */ ^ == ../../src/vmtape.c:3028:13: warning: 9 enumeration values not handled in switch: 'VMT_FMT_UNK', 'VMT_FMT_CTL', 'VMT_FMT_ITS'... [-Wswitch] switch (t->mt_format) { ^ ../../src/vmtape.c:3079:13: warning: 9 enumeration values not handled in switch: 'VMT_FMT_UNK', 'VMT_FMT_CTL', 'VMT_FMT_ITS'... [-Wswitch] switch (t->mt_format) { ^ ../../src/vmtape.c:3228:39: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (nline = t->mt_contents; cp = nline; t->mt_lineno++) { ~~~^~~~~~~ ../../src/vmtape.c:3228:39: note: place parentheses around the assignment to silence this warning for (nline = t->mt_contents; cp = nline; t->mt_lineno++) { ^ ( ) ../../src/vmtape.c:3228:39: note: use '==' to turn this assignment into an equality comparison for (nline = t->mt_contents; cp = nline; t->mt_lineno++) { ^ == ../../src/vmtape.c:3230:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (nline = strchr(nline, '\n')) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:3230:12: note: place parentheses around the assignment to silence this warning if (nline = strchr(nline, '\n')) ^ ( ) ../../src/vmtape.c:3230:12: note: use '==' to turn this assignment into an equality comparison if (nline = strchr(nline, '\n')) ^ == ../../src/vmtape.c:3237:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (key = strchr(cp, ';')) /* Strip off comments here */ ~~~~^~~~~~~~~~~~~~~~~ ../../src/vmtape.c:3237:10: note: place parentheses around the assignment to silence this warning if (key = strchr(cp, ';')) /* Strip off comments here */ ^ ( ) ../../src/vmtape.c:3237:10: note: use '==' to turn this assignment into an equality comparison if (key = strchr(cp, ';')) /* Strip off comments here */ ^ == ../../src/vmtape.c:3440:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (rs = wdscan(&cp)) { ~~~^~~~~~~~~~~~~ ../../src/vmtape.c:3440:15: note: place parentheses around the assignment to silence this warning while (rs = wdscan(&cp)) { ^ ( ) ../../src/vmtape.c:3440:15: note: use '==' to turn this assignment into an equality comparison while (rs = wdscan(&cp)) { ^ == ../../src/vmtape.c:3443:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (res = numscan(rs, &cs, &len)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:3443:10: note: place parentheses around the assignment to silence this warning if (res = numscan(rs, &cs, &len)) { ^ ( ) ../../src/vmtape.c:3443:10: note: use '==' to turn this assignment into an equality comparison if (res = numscan(rs, &cs, &len)) { ^ == ../../src/vmtape.c:3453:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (res = numscan(++cs, &cs, &cnt)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/vmtape.c:3453:14: note: place parentheses around the assignment to silence this warning if (res = numscan(++cs, &cs, &cnt)) { ^ ( ) ../../src/vmtape.c:3453:14: note: use '==' to turn this assignment into an equality comparison if (res = numscan(++cs, &cs, &cnt)) { ^ == ../../src/vmtape.c:3802:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rd = td->tdrd) { ~~~^~~~~~~~~~ ../../src/vmtape.c:3802:12: note: place parentheses around the assignment to silence this warning if (rd = td->tdrd) { ^ ( ) ../../src/vmtape.c:3802:12: note: use '==' to turn this assignment into an equality comparison if (rd = td->tdrd) { ^ == ../../src/dptm03.c:784:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dptm->dptm_mol = d->mta_mol) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../../src/dptm03.c:784:21: note: place parentheses around the assignment to silence this warning if (dptm->dptm_mol = d->mta_mol) { ^ ( ) ../../src/dptm03.c:784:21: note: use '==' to turn this assignment into an equality comparison if (dptm->dptm_mol = d->mta_mol) { ^ == 20 warnings generated. cc -o dptm03 dptm03.o dpsup.o wfio.o prmstr.o cc -O2 -DKLH10_NET_TAP_BRIDGE -march=i586 -c -g3 -O3 -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h -DKLH10_CPU_KLX=1 -DKLH10_SYS_T20=1 -DKLH10_EVHS_INT=1 -DKLH10_DEV_DPNI20=1 -DKLH10_DEV_DPTM03=1 -DKLH10_DEV_DPRPXX=1 -DKLH10_MEM_SHARED=1 -DKLH10_RTIME_OSGET=1 -DKLH10_ITIME_INTRP=1 -DKLH10_CTYIO_INT=1 -DKLH10_APRID_SERIALNO=3600 -DKLH10_CLIENT=\"MyKL\" ../../src/dpni20.c In file included from ../../src/dpni20.c:160: ../../src/osdnet.h:115:11: fatal error: 'netinet/if_ether.h' file not found # include /* Semi-std defs for: ^ 1 error generated. *** Error code 1 Stop. make: stopped in /usr/pkgsrc/work/emulators/klh10/work/panda-dist/klh10-2.0h/bld/nbx86 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/work/emulators/klh10/work/panda-dist/klh10-2.0h/bld/nbx86 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/emulators/klh10/work/panda-dist/klh10-2.0h/bld/nbx86 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/emulators/klh10 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/emulators/klh10