=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for z80-asm-2.3.7nb1 cd hardware; /usr/pkg/bin/gmake DEFINES="-DZ80_PORTS="\"\\\"./.Z80_ports\"\\\"" -DFURTHER_HARDWARE -DSSL_ZDS" hard.a gmake[1]: Entering directory '/tmp/devel/z80-asm/work/z80-asm-2.3.7/hardware' gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o quartz.o quartz.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o daisy_chain.o daisy_chain.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-ctc.o z80-ctc.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o port_buffer.o port_buffer.c z80-ctc.c: In function 'read_word': z80-ctc.c:73:39: warning: unused parameter 'port' [-Wunused-parameter] unsigned char read_word(unsigned char port) ^~~~ gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o analyzer.o analyzer.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o ssl_zds.o ssl_zds.c rm -f hard.a ar rcs hard.a quartz.o daisy_chain.o z80-ctc.o port_buffer.o analyzer.o \ ssl_zds.o gmake[1]: Leaving directory '/tmp/devel/z80-asm/work/z80-asm-2.3.7/hardware' make z80-asm make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/tmp/devel/z80-asm/work/z80-asm-2.3.7' gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-asm.o z80-asm.c z80-asm.c: In function 'main': z80-asm.c:219:35: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] qsort(ele,b,sizeof(struct info),compare); ^~~~~~~ In file included from z80-asm.c:3:0: /usr/include/stdlib.h:118:7: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(const struct info *, const struct info *)' void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~ gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-cpu.o z80-cpu.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o dummy.o dummy.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o asm.o asm.c asm.c: In function 'compile': asm.c:564:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (a) error(lineno,txt,msg[a]);ret=1; ^~ asm.c:564:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (a) error(lineno,txt,msg[a]);ret=1; ^~~ gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o hash.o hash.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o compile.o compile.c compile.c: In function 'c_ld': compile.c:1053:4: warning: this statement may fall through [-Wimplicit-fallthrough=] b=0xfd; ~^~~~~ compile.c:1054:3: note: here case A_PODLE_IX_PLUS: ^~~~ compile.c:1129:3: warning: this statement may fall through [-Wimplicit-fallthrough=] a=0xdd; ~^~~~~ compile.c:1130:2: note: here case A_PODLE_IY_PLUS: ^~~~ gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o regs.o regs.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o instr.o instr.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o interrupt.o interrupt.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o file.o file.c file.c: In function 'read_header': file.c:31:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (strcmp(tmp,_Z80HEADER)) ret=1; ^~~ In file included from file.c:4:0: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *); ^~~~~~ gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o expression.o expression.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o mini-display.o mini-display.c mini-display.c: In function 'display_in_line': mini-display.c:37:16: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(display+(col_pos+1-display_size&255),stdout); ^~~~~~~ In file included from mini-display.c:1:0: /usr/include/stdio.h:234:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int fputs(const char * __restrict, FILE * __restrict); ^~~~~ mini-display.c:39:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(display,stdout); ^~~~~~~ In file included from mini-display.c:1:0: /usr/include/stdio.h:234:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int fputs(const char * __restrict, FILE * __restrict); ^~~~~ mini-display.c:55:13: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(display,stdout); ^~~~~~~ In file included from mini-display.c:1:0: /usr/include/stdio.h:234:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int fputs(const char * __restrict, FILE * __restrict); ^~~~~ gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o keyboard.o keyboard.c In file included from /usr/include/stdio.h:597:0, from keyboard.c:1: keyboard.c: In function 'init_keyboard_map': keyboard.c:24:18: warning: pointer targets in passing argument 1 of '__fgets_chk' differ in signedness [-Wpointer-sign] for(j=i=0; fgets(line,127,fp) ;i++) ^ /usr/include/ssp/stdio.h:49:7: note: expected 'char *' but argument is of type 'unsigned char *' char *__fgets_chk(char *, int, size_t, FILE *); ^~~~~~~~~~~ rm -f asm.a ar rcs asm.a z80-cpu.o asm.o hash.o compile.o regs.o instr.o interrupt.o \ expression.o mini-display.o keyboard.o file.o gcc -lc -o z80-asm z80-asm.o z80-cpu.o dummy.o asm.a hardware/hard.a make[1]: Leaving directory '/tmp/devel/z80-asm/work/z80-asm-2.3.7' make z80-mon make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/tmp/devel/z80-asm/work/z80-asm-2.3.7' gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-mon.o z80-mon.c z80-mon.c: In function 'error': z80-mon.c:89:16: warning: variable 'k' set but not used [-Wunused-but-set-variable] unsigned char k; ^ z80-mon.c: In function 'convert_to_uns': z80-mon.c:701:22: warning: pointer targets in passing argument 2 of 'test_number' differ in signedness [-Wpointer-sign] j=test_number(txt+i,&val); /* Single character-representation '?' is allowed */ ^ In file included from z80-mon.c:22:0: expression.h:7:12: note: expected 'int *' but argument is of type 'unsigned int *' extern int test_number(char *txt,int *value); ^~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from z80-mon.c:4: z80-mon.c: In function 'main': z80-mon.c:951:9: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(rom_path,"./"); ^ z80-mon.c:951:9: note: expected 'char *' but argument is of type 'unsigned char *' z80-mon.c:951:9: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(rom_path,"./"); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ z80-mon.c:979:33: warning: pointer targets in passing argument 3 of 'read_header' differ in signedness [-Wpointer-sign] if (read_header(stream,&start,&x)){fprintf(stderr,"Error: \"%s\" is not a Z80 ASM file.\n",argv[b]);return(1);} ^ In file included from z80-mon.c:13:0: file.h:5:12: note: expected 'int *' but argument is of type 'unsigned int *' extern int read_header(FILE *stream, unsigned short *address,int *len); ^~~~~~~~~~~ z80-mon.c:993:16: warning: pointer targets in passing argument 1 of 'init_banks' differ in signedness [-Wpointer-sign] init_banks(rom_path); ^~~~~~~~ In file included from z80-mon.c:16:0: memory.h:6:17: note: expected 'char *' but argument is of type 'unsigned char *' extern unsigned init_banks(char *rom_path); ^~~~~~~~~~ z80-mon.c:1278:34: warning: pointer targets in passing argument 3 of 'read_header' differ in signedness [-Wpointer-sign] if (read_header(stream,&start,&x)) ^ In file included from z80-mon.c:13:0: file.h:5:12: note: expected 'int *' but argument is of type 'unsigned int *' extern int read_header(FILE *stream, unsigned short *address,int *len); ^~~~~~~~~~~ z80-mon.c:1335:47: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] qsort(ele,labels,sizeof(struct info),compare_addr); ^~~~~~~~~~~~ In file included from z80-mon.c:6:0: /usr/include/stdlib.h:118:7: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(const struct info *, const struct info *)' void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~ z80-mon.c:1196:4: warning: this statement may fall through [-Wimplicit-fallthrough=] reset_banks(); ^~~~~~~~~~~~~ z80-mon.c:1198:4: note: here case '@': ^~~~ z80-mon.c:1360:15: warning: array subscript is above array bounds [-Warray-bounds] blanks[a]=0; ~~~~~~^~~ gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o execute.o execute.c execute.c:142:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static _uchar * const ^~~~~~ In file included from /usr/include/stdio.h:597:0, from execute.c:6: execute.c: In function 'add_k_prefix': execute.c:199:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(scr,KPRE4,(unsigned)adr); ^ execute.c:199:12: note: expected 'char *' but argument is of type 'unsigned char *' execute.c:200:21: warning: pointer targets in passing argument 1 of 'is_in_table' differ in signedness [-Wpointer-sign] if (!is_in_table(scr,0,0,0)) ^~~ In file included from execute.c:18:0: hash.h:30:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int is_in_table(char *key, unsigned len, int *value, unsigned lineno); ^~~~~~~~~~~ execute.c:201:28: warning: pointer targets in passing argument 1 of 'add_to_table' differ in signedness [-Wpointer-sign] return add_to_table(scr,adr,0,0) ? 3 : 0; /* error 3 else 0 added */ ^~~ In file included from execute.c:18:0: hash.h:14:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_to_table(char *key, int value, unsigned lineno, bool copy); ^~~~~~~~~~~~ execute.c: In function 'add_prefix': execute.c:214:31: warning: pointer targets in passing argument 1 of 'add_to_table' differ in signedness [-Wpointer-sign] return add_to_table(scr,adr,0,0) ? 3 : 0; /* error 3 else 0 added */ ^~~ In file included from execute.c:18:0: hash.h:14:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_to_table(char *key, int value, unsigned lineno, bool copy); ^~~~~~~~~~~~ execute.c: In function 'f_nop': execute.c:269:45: warning: pointer targets in return differ in signedness [-Wpointer-sign] return cpu_is_in_disassemble ? dis(I_NOP) : 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ execute.c: In function 'f_ld': execute.c:307:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_call': execute.c:499:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_ret': execute.c:536:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_inc': execute.c:566:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_dec': execute.c:666:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_rot_a': execute.c:759:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return str; ^~~ execute.c: In function 'f_alu': execute.c:854:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_alu_16': execute.c:1037:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_djnz': execute.c:1196:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_jp': execute.c:1248:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_jr': execute.c:1321:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_daa': execute.c:1342:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_DAA); ^~~~~~~~~~ execute.c: In function 'f_cpl': execute.c:1375:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_CPL); ^~~~~~~~~~ execute.c: In function 'f_scf': execute.c:1392:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_SCF); ^~~~~~~~~~ execute.c: In function 'f_ccf': execute.c:1409:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_CCF); ^~~~~~~~~~ execute.c: In function 'f_halt': execute.c:1424:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_HALT); ^~~~~~~~~~~ execute.c: In function 'f_pop': execute.c:1445:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_push': execute.c:1496:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_rst': execute.c:1545:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_out': execute.c:1578:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_in': execute.c:1609:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_exx': execute.c:1637:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_EXX); ^~~~~~~~~~ execute.c: In function 'f_ex': execute.c:1663:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_di': execute.c:1732:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_DI); ^~~~~~~~~ execute.c: In function 'f_ei': execute.c:1744:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_EI); ^~~~~~~~~ execute.c: In function 'f_cb': execute.c:1782:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_neg': execute.c:1979:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_NEG); ^~~~~~~~~~ execute.c: In function 'f_reti': execute.c:2001:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_RETI); ^~~~~~~~~~~ execute.c: In function 'f_retn': execute.c:2019:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_RETN); ^~~~~~~~~~~ execute.c: In function 'f_im': execute.c:2041:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_rrd': execute.c:2056:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_RRD); ^~~~~~~~~~ execute.c: In function 'f_rld': execute.c:2085:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return dis(I_RLD); ^~~~~~~~~~ execute.c: In function 'ld_block': execute.c:2116:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return str; ^~~ execute.c: In function 'cp_block': execute.c:2174:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return str; ^~~ execute.c: In function 'in_block': execute.c:2236:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return str; ^~~ execute.c: In function 'out_block': execute.c:2290:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return str; ^~~ execute.c: In function 'f_nop2': execute.c:2339:49: warning: pointer targets in return differ in signedness [-Wpointer-sign] return cpu_is_in_disassemble ? dis(I_ILLEGAL) : 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ execute.c: In function 'is_flag': execute.c:43:6: warning: this statement may fall through [-Wimplicit-fallthrough=] xor=1; ~~~^~ execute.c:44:3: note: here case F_C: ^~~~ execute.c:49:6: warning: this statement may fall through [-Wimplicit-fallthrough=] xor=1; ~~~^~ execute.c:50:3: note: here case F_N: ^~~~ execute.c:55:6: warning: this statement may fall through [-Wimplicit-fallthrough=] xor=1; ~~~^~ execute.c:56:3: note: here case F_PE: ^~~~ execute.c:61:6: warning: this statement may fall through [-Wimplicit-fallthrough=] xor=1; ~~~^~ execute.c:62:3: note: here case F_H: ^~~~ execute.c:67:6: warning: this statement may fall through [-Wimplicit-fallthrough=] xor=1; ~~~^~ execute.c:68:3: note: here case F_Z: ^~~~ execute.c:73:6: warning: this statement may fall through [-Wimplicit-fallthrough=] xor=1; ~~~^~ execute.c:74:3: note: here case F_M: ^~~~ execute.c: In function 'set_flag': execute.c:90:4: warning: this statement may fall through [-Wimplicit-fallthrough=] a=1; ~^~ execute.c:91:3: note: here case F_NC: ^~~~ execute.c:96:4: warning: this statement may fall through [-Wimplicit-fallthrough=] a=1; ~^~ execute.c:97:3: note: here case F_NN: ^~~~ execute.c:102:4: warning: this statement may fall through [-Wimplicit-fallthrough=] a=1; ~^~ execute.c:103:3: note: here case F_PO: ^~~~ execute.c:108:4: warning: this statement may fall through [-Wimplicit-fallthrough=] a=1; ~^~ execute.c:109:3: note: here case F_NH: ^~~~ execute.c:114:4: warning: this statement may fall through [-Wimplicit-fallthrough=] a=1; ~^~ execute.c:115:3: note: here case F_NZ: ^~~~ execute.c:120:4: warning: this statement may fall through [-Wimplicit-fallthrough=] a=1; ~^~ execute.c:121:3: note: here case F_P: ^~~~ In file included from /usr/include/stdio.h:597:0, from execute.c:6: execute.c: In function 'f_im': execute.c:2040:15: warning: '%u' directive writing between 1 and 5 bytes into a region of size between 3 and 7 [-Wformat-overflow=] sprintf(txt,"%s %u",dis(I_IM),(unsigned)a1); ^ execute.c:2040:15: note: directive argument in the range [0, 65535] execute.c:2040:3: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 11) into a destination of size 8 sprintf(txt,"%s %u",dis(I_IM),(unsigned)a1); ^ gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o decode-table.o decode-table.c gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o decode.o decode.c decode.c: In function 'decode': decode.c:215:14: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] print(current_instr.func(a1,current_instr.type1,a2,current_instr.type2)); ^~~~~~~~~~~~~ In file included from decode.c:2:0: z80-mon.h:4:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void print(char *str); /* print instruction */ ^~~~~ gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o memory.o memory.c memory.c: In function 'dma_write': memory.c:527:58: warning: signed and unsigned type in conditional expression [-Wsign-compare] return fread(memory+offset,1,count+offset<65536?count:65536-offset,from); ^ memory.c: In function 'dma_read': memory.c:533:59: warning: signed and unsigned type in conditional expression [-Wsign-compare] return fwrite(memory+offset,1,count+offset<65536?count:65536-offset,to); ^ gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o ports.o ports.c rm -f cpu.a ar rcs cpu.a execute.o decode-table.o decode.o memory.o ports.o gcc -O2 -Wall -DZ80_PORTS="\"./.Z80_ports\"" -DUNIX -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o console.o console.c gcc -lc -o z80-mon z80-mon.o cpu.a console.o asm.a hardware/hard.a make[1]: Leaving directory '/tmp/devel/z80-asm/work/z80-asm-2.3.7' cd hardware; /usr/pkg/bin/gmake DEFINES="-DZ80_PORTS="\"\\\"./.Z80_ports\"\\\"" -DFURTHER_HARDWARE -DSSL_ZDS" gmake[1]: Entering directory '/tmp/devel/z80-asm/work/z80-asm-2.3.7/hardware' gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o hardware_clock.o hardware_clock.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o lcd_display.o lcd_display.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o make_ports.o make_ports.c gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o port_io.o port_io.c hardware_clock.c: In function 'main': hardware_clock.c:15:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ hardware_clock.c:15:7: warning: incompatible implicit declaration of built-in function 'exit' hardware_clock.c:15:7: note: include '' or provide a declaration of 'exit' gcc -O2 -Wall -DUNIX -DZ80_PORTS="\"./.Z80_ports"\" -DFURTHER_HARDWARE -DSSL_ZDS -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o monitor_cpu.o monitor_cpu.c gcc -lc -o make_ports make_ports.o gcc -lc -o port_io port_io.o lcd_display.c: In function 'main': lcd_display.c:121:57: warning: array subscript is below array bounds [-Warray-bounds] pixel[i][j] = (j ? 0 : pixel[i][j-1]); ~~~~~~~~^~~~~ gcc -lc -o hardware_clock hardware_clock.o monitor_cpu.c: In function 'main': monitor_cpu.c:11:11: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (!fp) exit(1); ^~~~ monitor_cpu.c:11:11: warning: incompatible implicit declaration of built-in function 'exit' monitor_cpu.c:11:11: note: include '' or provide a declaration of 'exit' gcc -lc -o lcd_display lcd_display.o ../dummy.o ../cpu.a ../console.o ../asm.a hard.a gcc -lc -o monitor_cpu monitor_cpu.o ../cpu.a ../console.o ../asm.a gmake[1]: Leaving directory '/tmp/devel/z80-asm/work/z80-asm-2.3.7/hardware'