=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for snobol-1.3nb1 echo '# DO NOT EDIT. machine generated from Makefile2.m4' > Makefile2.tmp echo '# add local changes to local-config' >> Makefile2.tmp /usr/bin/m4 Makefile2.m4 >> Makefile2.tmp echo '# DO NOT DELETE THIS LINE. make depend uses it.' >> Makefile2.tmp /opt/pkg/bin/bmake -f Makefile2.tmp depend MAKEFILE2=Makefile2.tmp sed '/^# DO NOT DELETE THIS LINE/q' Makefile2.tmp > Makefile2.tmp.tmp clang -M -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm main.c isnobol4.c data.c data_init.c syn.c lib/bal.c lib/date.c lib/dump.c lib/generic/dynamic.c lib/endex.c lib/generic/expops.c lib/hash.c lib/dummy/inet.c lib/init.c lib/generic/intspc.c lib/io.c lib/lexcmp.c lib/dummy/load.c lib/dummy/mstime.c lib/ordvst.c lib/pair.c lib/pat.c lib/pml.c lib/realst.c lib/replace.c lib/ansi/spcint.c lib/ansi/spreal.c lib/stream.c lib/str.c lib/dummy/suspend.c lib/top.c lib/posix/term.c lib/tree.c lib/dummy/tty.c version.c lib/auxil/getopt.c lib/snolib/ndbm.c lib/sdbm/sdbm.c lib/sdbm/sdbm_hash.c lib/sdbm/sdbm_pair.c lib/snolib/chop.c lib/snolib/cos.c lib/snolib/delete.c lib/snolib/environ.c lib/generic/exists.c lib/snolib/exit.c lib/generic/execute.c lib/snolib/exp.c lib/snolib/file.c lib/snolib/findunit.c lib/snolib/fork.c lib/snolib/getstring.c lib/snolib/host.c lib/snolib/log.c lib/snolib/logic.c lib/snolib/ord.c lib/snolib/rename.c lib/snolib/retstring.c lib/snolib/serv.c lib/snolib/sin.c lib/snolib/sprintf.c lib/snolib/sqrt.c lib/snolib/sset.c lib/generic/sys.c lib/snolib/tan.c >> Makefile2.tmp.tmp mv -f Makefile2.tmp.tmp Makefile2.tmp mv -f Makefile2.tmp Makefile2 rm -f .depend touch .depend /opt/pkg/bin/bmake -f Makefile2 snobol4 clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c main.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c isnobol4.c isnobol4.c:787:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(TOPCL),D_A(TTLCL),D_A(BKDX)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:1076:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] ZERBLK(D_A(COMREG),D_A(COMDCT)); ^ include/macros.h:31:21: note: expanded from macro 'ZERBLK' #define ZERBLK(A,B) bzero((void *)(A), (long)((B)+DESCR)) /* XXX SIZE_T */ ^ isnobol4.c:1076:5: note: include the header or explicitly provide a declaration for 'bzero' include/macros.h:31:21: note: expanded from macro 'ZERBLK' #define ZERBLK(A,B) bzero((void *)(A), (long)((B)+DESCR)) /* XXX SIZE_T */ ^ isnobol4.c:1086:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:1241:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:1441:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:1441:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:1449:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &ELEMTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:1449:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &ELEMTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:1523:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(XCL),D_A(CMBSCL),D_A(CMOFCL)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:1577:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:1596:10: warning: implicitly declaring library function 'bcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration] if (!LEXEQ(SPECR1,SPECR2)) ^ include/macros.h:108:10: note: expanded from macro 'LEXEQ' (bcmp(S_SP(A)+2,S_SP(B)+2,(long)S_L(A)-2) == 0))))) ^ isnobol4.c:1596:10: note: include the header or explicitly provide a declaration for 'bcmp' include/macros.h:108:10: note: expanded from macro 'LEXEQ' (bcmp(S_SP(A)+2,S_SP(B)+2,(long)S_L(A)-2) == 0))))) ^ isnobol4.c:1646:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:1674:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(A5PTR),D_A(A1PTR),D_A(A4PTR)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:1761:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:1903:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(ZPTR),D_A(ATRHD),D_A(FRDSCL)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:1938:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:2352:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2352:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2360:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &LBLXTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2360:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &LBLXTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2398:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2398:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2406:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &LBLXTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2406:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &LBLXTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2436:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2436:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2444:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &ELEMTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2444:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &ELEMTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2465:13: warning: enumeration value 'INC_OK' not handled in switch [-Wswitch] switch (IO_INCLUDE(UNIT, XSP)) { ^ include/macros.h:256:25: note: expanded from macro 'IO_INCLUDE' #define IO_INCLUDE(A,B) io_include((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:2465:13: note: add missing switch cases switch (IO_INCLUDE(UNIT, XSP)) { ^ include/macros.h:256:25: note: expanded from macro 'IO_INCLUDE' #define IO_INCLUDE(A,B) io_include((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:2494:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2494:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2502:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &INTGTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2502:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &INTGTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2528:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2528:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2536:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &INTGTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2536:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &INTGTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2581:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2581:13: note: add missing switch cases switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2598:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(ZSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2598:13: note: add missing switch cases switch (STREAM(ZSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:2757:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:2819:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:2836:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:2849:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:2970:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(XCL),D_A(TRCBLK),D_A(XSIZ)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:3050:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:3065:13: warning: enumeration value 'IO_OK' not handled in switch [-Wswitch] switch (IO_READ(IO3PTR, IOSP)) { ^ include/macros.h:254:22: note: expanded from macro 'IO_READ' #define IO_READ(A,B) io_read((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:3065:13: note: add missing switch cases switch (IO_READ(IO3PTR, IOSP)) { ^ include/macros.h:254:22: note: expanded from macro 'IO_READ' #define IO_READ(A,B) io_read((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:3222:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(ZPTR),D_A(XPTR),D_A(XCL)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:3265:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:3303:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:3325:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:3551:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(XPTR),D_A(WPTR),D_A(A4PTR)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:3798:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:3865:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(ZPTR),D_A(YPTR),D_A(XCL)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:4615:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:4669:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(TPTR),D_A(STRPAT),D_A(STARSZ)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:4683:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:4745:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:5430:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(TPTR),D_A(STRPAT),D_A(STARSZ)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:5651:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:6130:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:6130:13: note: add missing switch cases switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:6160:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:6160:13: note: add missing switch cases switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:6217:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(ZPTR),D_A(WPTR),D_A(YCL)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:6304:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(YSP, XSP, &NUMBTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:6304:13: note: add missing switch cases switch (STREAM(YSP, XSP, &NUMBTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:6318:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(ZSP, XSP, &NUMBTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:6318:13: note: add missing switch cases switch (STREAM(ZSP, XSP, &NUMBTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:6949:9: warning: implicitly declaring library function 'finite' with type 'int (double)' [-Wimplicit-function-declaration] if (RMATH_ERROR(D_RV(ZPTR))) ^ include/macros.h:172:47: note: expanded from macro 'RMATH_ERROR' #define RMATH_ERROR(RESULT) (MATH_ERROR() || !finite((RESULT))) ^ isnobol4.c:6949:9: note: include the header or explicitly provide a declaration for 'finite' include/macros.h:172:47: note: expanded from macro 'RMATH_ERROR' #define RMATH_ERROR(RESULT) (MATH_ERROR() || !finite((RESULT))) ^ isnobol4.c:7120:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(TSP, ZSP, &UNOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7120:13: note: add missing switch cases switch (STREAM(TSP, ZSP, &UNOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7134:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(TSP, ZSP, &UNOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7134:13: note: add missing switch cases switch (STREAM(TSP, ZSP, &UNOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7158:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(TSP, ZSP, &BIOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7158:13: note: add missing switch cases switch (STREAM(TSP, ZSP, &BIOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7166:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(TSP, ZSP, &SBIPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7166:13: note: add missing switch cases switch (STREAM(TSP, ZSP, &SBIPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7185:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(TSP, ZSP, &BIOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7185:13: note: add missing switch cases switch (STREAM(TSP, ZSP, &BIOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7193:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(TSP, ZSP, &SBIPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7193:13: note: add missing switch cases switch (STREAM(TSP, ZSP, &SBIPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7515:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7515:13: note: add missing switch cases switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7538:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7538:13: note: add missing switch cases switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7571:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7571:13: note: add missing switch cases switch (STREAM(YSP, XSP, &VARATB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:7694:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:8118:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(ZSP, YSP, &BRKTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:8118:13: note: add missing switch cases switch (STREAM(ZSP, YSP, &BRKTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:8194:13: warning: enumeration values 'ST_STOP' and 'ST_EOS' not handled in switch [-Wswitch] switch (STREAM(ZSP, YSP, &SPANTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:8194:13: note: add missing switch cases switch (STREAM(ZSP, YSP, &SPANTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:8738:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(TPTR),D_A(NBSPTR),D_A(WCL)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:9066:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:9235:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] MOVBLK(D_A(TPTR),D_A(STRPAT),D_A(STARSZ)); ^ include/macros.h:40:23: note: expanded from macro 'MOVBLK' #define MOVBLK(A,B,C) bcopy((void *)((B)+DESCR),(void *)((A)+DESCR),(long)(C) ) ^ isnobol4.c:9352:13: warning: enumeration value 'IO_OK' not handled in switch [-Wswitch] switch (IO_READ(UNIT, TEXTSP)) { ^ include/macros.h:254:22: note: expanded from macro 'IO_READ' #define IO_READ(A,B) io_read((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:9352:13: note: add missing switch cases switch (IO_READ(UNIT, TEXTSP)) { ^ include/macros.h:254:22: note: expanded from macro 'IO_READ' #define IO_READ(A,B) io_read((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:9363:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &CARDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9363:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &CARDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9391:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9391:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &FRWDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9429:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &UNOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9429:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &UNOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9463:13: warning: enumeration values 'ST_STOP' and 'ST_EOS' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &BIOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9463:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &BIOPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9498:13: warning: enumeration values 'ST_STOP' and 'ST_EOS' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &SBIPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9498:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &SBIPTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9672:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &GOTSTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9672:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &GOTSTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9843:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &ELEMTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9843:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &ELEMTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9874:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:9922:13: warning: enumeration values 'ST_STOP' and 'ST_EOS' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &LBLTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:9922:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &LBLTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10116:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &GOTOTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10116:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &GOTOTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10191:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &GOTOTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10191:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &GOTOTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10242:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &GOTOTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10242:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &GOTOTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10376:13: warning: enumeration value 'ST_EOS' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &EOSTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10376:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &EOSTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10384:13: warning: enumeration value 'IO_OK' not handled in switch [-Wswitch] switch (IO_READ(UNIT, TEXTSP)) { ^ include/macros.h:254:22: note: expanded from macro 'IO_READ' #define IO_READ(A,B) io_read((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:10384:13: note: add missing switch cases switch (IO_READ(UNIT, TEXTSP)) { ^ include/macros.h:254:22: note: expanded from macro 'IO_READ' #define IO_READ(A,B) io_read((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:10395:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &CARDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10395:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &CARDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10515:13: warning: enumeration value 'IO_OK' not handled in switch [-Wswitch] switch (IO_READ(UNIT, TEXTSP)) { ^ include/macros.h:254:22: note: expanded from macro 'IO_READ' #define IO_READ(A,B) io_read((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:10515:13: note: add missing switch cases switch (IO_READ(UNIT, TEXTSP)) { ^ include/macros.h:254:22: note: expanded from macro 'IO_READ' #define IO_READ(A,B) io_read((struct descr *)(A),(struct spec *)(B)) ^ isnobol4.c:10527:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &CARDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10527:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &CARDTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10553:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &IBLKTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10553:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &IBLKTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10563:13: warning: enumeration value 'ST_STOP' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &LBLTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10563:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &LBLTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10576:13: warning: enumeration value 'ST_EOS' not handled in switch [-Wswitch] switch (STREAM(XSP, TEXTSP, &IBLKTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10576:13: note: add missing switch cases switch (STREAM(XSP, TEXTSP, &IBLKTB)) { ^ include/macros.h:263:23: note: expanded from macro 'STREAM' #define STREAM(A,B,C) stream((struct spec *)(A),(struct spec *)(B),(C)) ^ isnobol4.c:10629:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ isnobol4.c:10775:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 91 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c data.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c data_init.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c syn.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/bal.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/date.c lib/date.c:91:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] S_L(sp) = strlen(strbuf); ^ lib/date.c:91:15: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/dump.c lib/dump.c:15:19: warning: '/*' within block comment [-Wcomment] /*#define DUMP /* TEMP */ ^ 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/generic/dynamic.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/endex.c lib/endex.c:49:2: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort(); ^ lib/endex.c:49:2: note: include the header or explicitly provide a declaration for 'abort' lib/endex.c:62:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(D_A(RETCOD)); ^ lib/endex.c:62:5: note: include the header or explicitly provide a declaration for 'exit' 2 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/generic/expops.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/hash.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/dummy/inet.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/init.c lib/init.c:110:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ lib/init.c:110:2: note: include the header or explicitly provide a declaration for 'exit' lib/init.c:140:71: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr, "can be used. A descriptor takes up %d bytes.\n", DESCR ); ~~ ^~~~~ %lu include/snotypes.h:106:15: note: expanded from macro 'DESCR' #define DESCR (sizeof(struct descr)) ^~~~~~~~~~~~~~~~~~~~~~ lib/init.c:184:9: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len += strlen(argv[i]) + 1; /* add one for space or NUL */ ^ lib/init.c:184:9: note: include the header or explicitly provide a declaration for 'strlen' lib/init.c:468:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(argv[optind], "--") == 0) { /* terminator? */ ^ lib/init.c:468:6: note: include the header or explicitly provide a declaration for 'strcmp' lib/init.c:559:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero( ptr, ndynamic ); /* XXX needed? */ ^ lib/init.c:559:5: note: include the header or explicitly provide a declaration for 'bzero' 5 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/generic/intspc.c lib/generic/intspc.c:37:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] S_L(sp) = strlen(strbuf); ^ lib/generic/intspc.c:37:15: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/io.c lib/io.c:246:58: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] fp = (struct file *) malloc( sizeof( struct file ) + strlen(path) ); ^ lib/io.c:246:58: note: include the header or explicitly provide a declaration for 'strlen' lib/io.c:250:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero( (char *)fp, sizeof (struct file) ); ^ lib/io.c:250:5: note: include the header or explicitly provide a declaration for 'bzero' lib/io.c:251:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(fp->fname,path); ^ lib/io.c:251:5: note: include the header or explicitly provide a declaration for 'strcpy' lib/io.c:405:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(fp); ^ lib/io.c:446:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(fp->fname,"-") == 0) { ^ lib/io.c:446:9: note: include the header or explicitly provide a declaration for 'strcmp' lib/io.c:470:9: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncmp(fp->fname, "/dev/fd/", 8) == 0) { ^ lib/io.c:470:9: note: include the header or explicitly provide a declaration for 'strncmp' lib/io.c:495:12: warning: implicitly declaring library function 'index' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] service = index(host, '/'); ^ lib/io.c:495:12: note: include the header or explicitly provide a declaration for 'index' lib/io.c:894:26: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(temp, "%d", (long)D_A(dp)); /* XXX handle LP32LL64 int_t */ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ lib/io.c:895:6: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] COPYTEMP; ^ lib/io.c:838:18: note: expanded from macro 'COPYTEMP' #define COPYTEMP COPY(temp, strlen(temp)) ^ lib/io.c:832:5: note: expanded from macro 'COPY' strncpy(lp, SRC, len); \ ^ lib/io.c:895:6: note: include the header or explicitly provide a declaration for 'strncpy' lib/io.c:838:18: note: expanded from macro 'COPYTEMP' #define COPYTEMP COPY(temp, strlen(temp)) ^ lib/io.c:832:5: note: expanded from macro 'COPY' strncpy(lp, SRC, len); \ ^ lib/io.c:899:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(temp, "%15d", (long)D_A(dp)); /* XXX handle LP32LL64 int_t */ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ %15ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ lib/io.c:1048:10: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write(fileno(f), cp, len) != len) ^ lib/io.c:1075:10: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write(fileno(f), "\n", 1) != 1) ^ lib/io.c:1194:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] len = read(fileno(f), cp, recl); ^ lib/io.c:1406:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(fp); ^ lib/io.c:1423:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(iov.includes); ^ lib/io.c:1581:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(fp); ^ lib/io.c:1680:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(fp); ^ lib/io.c:1689:2: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(fn2, "/"); ^ lib/io.c:1689:2: note: include the header or explicitly provide a declaration for 'strcat' lib/io.c:1821:8: warning: implicit declaration of function 'lseek' is invalid in C99 [-Wimplicit-function-declaration] pos = lseek(fileno(f), off, whence); ^ lib/io.c:1887:8: warning: implicit declaration of function 'lseek' is invalid in C99 [-Wimplicit-function-declaration] pos = lseek(fileno(f), off, whence); ^ 20 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/lexcmp.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/dummy/load.c lib/dummy/load.c:35:19: warning: comparison between pointer and integer ('int_t' (aka 'long') and 'void *') [-Wpointer-integer-compare] if (D_A(addr) == NULL) ~~~~~~~~~ ^ ~~~~ 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/dummy/mstime.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/ordvst.c lib/ordvst.c:230:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero( OBSTRT, OBSIZ * DESCR ); ^ lib/ordvst.c:230:5: note: include the header or explicitly provide a declaration for 'bzero' lib/ordvst.c:246:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(vars); ^ 2 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/pair.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/pat.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/pml.c In file included from lib/pml.c:32: ./pml.h:7:18: warning: '/*' within block comment [-Wcomment] * See lib/snolib/*.c for example functions ^ In file included from lib/pml.c:37: ./pml.h:7:18: warning: '/*' within block comment [-Wcomment] * See lib/snolib/*.c for example functions ^ In file included from lib/pml.c:46: ./pml.h:7:18: warning: '/*' within block comment [-Wcomment] * See lib/snolib/*.c for example functions ^ lib/pml.c:69:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(name, fp->name) == 0) ^ lib/pml.c:69:6: note: include the header or explicitly provide a declaration for 'strcmp' lib/pml.c:88:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] S_L(sp) = strlen(pm_prototypes[D_A(dp)]); ^ lib/pml.c:88:15: note: include the header or explicitly provide a declaration for 'strlen' 5 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/realst.c lib/realst.c:55:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] S_L(sp) = strlen(strbuf); ^ lib/realst.c:55:15: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/replace.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/ansi/spcint.c lib/ansi/spcint.c:55:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy( cp, buffer, len ); ^ lib/ansi/spcint.c:59:12: warning: implicitly declaring library function 'strtol' with type 'long (const char *, char **, int)' [-Wimplicit-function-declaration] temp = strtol( buffer, &cp, 10); /* always decimal */ ^ lib/ansi/spcint.c:59:12: note: include the header or explicitly provide a declaration for 'strtol' 2 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/ansi/spreal.c lib/ansi/spreal.c:52:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy( cp, buffer, len ); ^ 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/str.c lib/str.c:107:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy(S_SP(subj), dp, (long)slen); /* XXX SIZE_T */ ^ lib/str.c:168:5: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(dest, S_SP(sp), l); ^ lib/str.c:168:5: note: include the header or explicitly provide a declaration for 'strncpy' lib/str.c:202:2: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy(src, dst, (long)len); /* XXX SIZE_T */ ^ 3 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/stream.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/dummy/suspend.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/posix/term.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/top.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/tree.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/dummy/tty.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c version.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/chop.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/cos.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/delete.c lib/snolib/delete.c:31:9: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (unlink(path) < 0) { ^ 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/environ.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/generic/execute.c lib/generic/execute.c:28:5: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] execl(SH_PATH, "sh", "-c", buf, 0); /* XXX SH_NAME? */ ^ 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/generic/exists.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/exit.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/exp.c lib/snolib/exp.c:25:10: warning: implicitly declaring library function 'finite' with type 'int (double)' [-Wimplicit-function-declaration] if (!finite(ret)) ^ lib/snolib/exp.c:25:10: note: include the header or explicitly provide a declaration for 'finite' 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/file.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/findunit.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/fork.c lib/snolib/fork.c:30:11: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] pid = fork(); ^ 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/getstring.c lib/snolib/getstring.c:39:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy( sp, dp, dlen ); ^ 1 warning generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/handle.c lib/snolib/handle.c:73:2: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero(htp, sizeof(struct handle_table)); ^ lib/snolib/handle.c:73:2: note: include the header or explicitly provide a declaration for 'bzero' lib/snolib/handle.c:114:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(hp); ^ 2 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -DCC=\""clang"\" -DCOPT=\""-O3"\" -c lib/snolib/host.c lib/snolib/host.c:79:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(buf, HOST_SYSINFO) == 0) { ^ lib/snolib/host.c:79:6: note: include the header or explicitly provide a declaration for 'strcmp' lib/snolib/host.c:88:6: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] RETSTR(buf); ^ include/load.h:82:14: note: expanded from macro 'RETSTR' RETSTR2(cp, strlen(cp)); \ ^ lib/snolib/host.c:88:6: note: include the header or explicitly provide a declaration for 'strlen' include/load.h:82:14: note: expanded from macro 'RETSTR' RETSTR2(cp, strlen(cp)); \ ^ lib/snolib/host.c:122:9: warning: implicit declaration of function 'system' is invalid in C99 [-Wimplicit-function-declaration] RETINT(system(buf)); /* run in sub-shell */ ^ 3 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/ord.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/log.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/logic.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/rename.c clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/retstring.c lib/snolib/retstring.c:39:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(retbuf); ^ lib/snolib/retstring.c:43:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ lib/snolib/retstring.c:43:6: note: include the header or explicitly provide a declaration for 'exit' lib/snolib/retstring.c:48:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy( cp, retbuf, len ); /* copy to buffer! */ ^ 3 warnings generated. clang -Wuninitialized -Wunused -O2 -O3 -Iinclude -I. -DHAVE_CONFIG_H -Ilib/sdbm -c lib/snolib/serv.c lib/snolib/serv.c:91:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(stype, "stream") == 0) ^ lib/snolib/serv.c:91:9: note: include the header or explicitly provide a declaration for 'strcmp' lib/snolib/serv.c:111:2: error: use of undeclared identifier 'SOCKLEN_T' SOCKLEN_T slen; ^ lib/snolib/serv.c:132:13: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] port = atoi(sserv); ^ lib/snolib/serv.c:142:6: error: use of undeclared identifier 'slen' slen = sizeof(sin); ^ lib/snolib/serv.c:143:6: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero((char *)&sin, slen); ^ lib/snolib/serv.c:143:6: note: include the header or explicitly provide a declaration for 'bzero' lib/snolib/serv.c:143:26: error: use of undeclared identifier 'slen'; did you mean 'send'? bzero((char *)&sin, slen); ^~~~ send /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:9: note: 'send' declared here ssize_t send(int, const void *, size_t, int) __DARWIN_ALIAS_C(send); ^ lib/snolib/serv.c:167:19: error: use of undeclared identifier 'slen'; did you mean 'send'? if (bind(s, sap, slen) < 0) { ^~~~ send /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:9: note: 'send' declared here ssize_t send(int, const void *, size_t, int) __DARWIN_ALIAS_C(send); ^ lib/snolib/serv.c:168:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(s); ^ lib/snolib/serv.c:180:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(s_un.sun_path, sserv, sizeof(s_un.sun_path)); ^ lib/snolib/serv.c:180:2: note: include the header or explicitly provide a declaration for 'strncpy' lib/snolib/serv.c:182:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(s); ^ lib/snolib/serv.c:190:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(s); ^ lib/snolib/serv.c:203:2: error: use of undeclared identifier 'SOCKLEN_T' SOCKLEN_T salen; ^ lib/snolib/serv.c:205:2: error: use of undeclared identifier 'salen' salen = sizeof(sa); ^ lib/snolib/serv.c:206:21: error: use of undeclared identifier 'salen' bzero((char *)&sa, salen); ^ lib/snolib/serv.c:208:26: error: use of undeclared identifier 'salen' slave = accept(s, &sa, &salen); ^ lib/snolib/serv.c:212:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(s); ^ lib/snolib/serv.c:227:8: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] pid = fork(); ^ lib/snolib/serv.c:229:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(s); ^ lib/snolib/serv.c:236:18: warning: '/*' within block comment [-Wcomment] close(s); /* close master socket */ ^ lib/snolib/serv.c:244:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(slave); ^ 12 warnings and 8 errors generated. *** Error code 1 Stop. bmake[1]: stopped in /opt/work/lang/snobol/work/snobol4-1.3 *** Error code 1 Stop. bmake: stopped in /opt/work/lang/snobol/work/snobol4-1.3 *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/lang/snobol *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/lang/snobol