=> Building devel/z80-asm Started : Thursday, 7 MAR 2019 at 05:15:25 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for z80-asm-2.4.p3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/devel/z80-asm XDG_CONFIG_HOME=/construction/devel/z80-asm HOME=/construction/devel/z80-asm TMPDIR="/tmp" PATH=/construction/devel/z80-asm/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/z80-asm XDG_CONFIG_HOME=/construction/devel/z80-asm HOME=/construction/devel/z80-asm TMPDIR="/tmp" PATH=/construction/devel/z80-asm/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/devel/z80-asm/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/z80-asm" EXAMPLESDIR="share/examples/z80-asm" DATADIR="share/z80-asm" WWWDIR="www/z80-asm" ETCDIR="etc/z80-asm" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/z80-asm DOCSDIR=/usr/local/share/doc/z80-asm EXAMPLESDIR=/usr/local/share/examples/z80-asm WWWDIR=/usr/local/www/z80-asm ETCDIR=/usr/local/etc/z80-asm -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The z80-asm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> z80-asm-2.4.p3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> z80-asm-2.4.p3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of z80-asm-2.4.p3 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The z80-asm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by z80-asm-2.4.p3 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The z80-asm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by z80-asm-2.4.p3 for building => SHA256 Checksum OK for z80-asm/z80-asm-2.3.tar.gz. => SHA256 Checksum OK for z80-asm/diff_2.3_2.4-pre3.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The z80-asm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by z80-asm-2.4.p3 for building ===> Extracting for z80-asm-2.4.p3 => SHA256 Checksum OK for z80-asm/z80-asm-2.3.tar.gz. => SHA256 Checksum OK for z80-asm/diff_2.3_2.4-pre3.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for z80-asm-2.4.p3 ===> Applying distribution patches for z80-asm-2.4.p3 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> z80-asm-2.4.p3 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> z80-asm-2.4.p3 depends on executable: gmake - found ===> Returning to build of z80-asm-2.4.p3 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for z80-asm-2.4.p3 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for z80-asm-2.4.p3 gmake[1]: Entering directory '/construction/devel/z80-asm/z80-asm-2.3' cd hardware; gmake SYSTEM=UNIX DEFINES="-DZ80_PORTS="\\\""./.Z80_ports"\\\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER" hard.a gmake[2]: Entering directory '/construction/devel/z80-asm/z80-asm-2.3/hardware' cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o quartz.o quartz.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o daisy_chain.o daisy_chain.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-ctc.o z80-ctc.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o port_buffer.o port_buffer.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o analyzer.o analyzer.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o ssl_zds.o ssl_zds.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) ~~~~~~~~~~~~~~^~~~ 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[2]: Leaving directory '/construction/devel/z80-asm/z80-asm-2.3/hardware' gmake z80-asm gmake[2]: Entering directory '/construction/devel/z80-asm/z80-asm-2.3' cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-asm.o z80-asm.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o dummy.o dummy.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-cpu.o z80-cpu.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o asm.o asm.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o hash.o hash.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: /usr/include/stdlib.h:106:37: 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 *)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; ^~~ cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o compile.o compile.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o regs.o regs.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: ^~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o instr.o instr.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o interrupt.o interrupt.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o file.o file.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o expression.o expression.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: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -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:23: 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: /usr/include/stdio.h:202: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: /usr/include/stdio.h:202: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: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int fputs(const char * __restrict, FILE * __restrict); ^~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o keyboard.o keyboard.c keyboard.c: In function 'init_keyboard_map': keyboard.c:24:18: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] for(j=i=0; fgets(line,127,fp) ;i++) ^~~~ In file included from keyboard.c:1: /usr/include/stdio.h:197:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *fgets(char * __restrict, int, FILE * __restrict); ^~~~~ 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 cc -lc -o z80-asm z80-asm.o dummy.o asm.a hardware/hard.a gmake[2]: Leaving directory '/construction/devel/z80-asm/z80-asm-2.3' gmake z80-mon gmake[2]: Entering directory '/construction/devel/z80-asm/z80-asm-2.3' cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o z80-mon.o z80-mon.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o execute.o execute.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o decode-table.o decode-table.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o decode.o decode.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o memory.o memory.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: z80-mon.h:4:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void print(char *str); /* print instruction */ ^~~~~ execute.c:142:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static _uchar * const ^~~~~~ execute.c: In function 'add_k_prefix': execute.c:199:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(scr,KPRE4,(unsigned)adr); ^~~ In file included from execute.c:6: /usr/include/stdio.h:226:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ 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: 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: 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: 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 returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} 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 returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_call': execute.c:499:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_ret': execute.c:536:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_inc': execute.c:566:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_dec': execute.c:666:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_rot_a': execute.c:759:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return str; ^~~ execute.c: In function 'f_alu': execute.c:854:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_alu_16': execute.c:1037:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ 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; ^ execute.c: In function 'f_djnz': execute.c:1196:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_jp': execute.c:1248:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_jr': execute.c:1321:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_daa': execute.c:1342:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_DAA); ^~~~~~~~~~ execute.c: In function 'f_cpl': execute.c:1375:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_CPL); ^~~~~~~~~~ execute.c: In function 'f_scf': execute.c:1392:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_SCF); ^~~~~~~~~~ execute.c: In function 'f_ccf': execute.c:1409:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_CCF); ^~~~~~~~~~ execute.c: In function 'f_halt': execute.c:1424:11: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_HALT); ^~~~~~~~~~~ execute.c: In function 'f_pop': execute.c:1445:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_push': execute.c:1496:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_rst': execute.c:1545:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_out': execute.c:1578:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_in': execute.c:1609:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ 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: expression.h:7:12: note: expected 'int *' but argument is of type 'unsigned int *' extern int test_number(char *txt,int *value); ^~~~~~~~~~~ execute.c: In function 'f_exx': execute.c:1637:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_EXX); ^~~~~~~~~~ execute.c: In function 'f_ex': execute.c:1663:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_di': execute.c:1732:11: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_DI); ^~~~~~~~~ execute.c: In function 'f_ei': execute.c:1744:11: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_EI); ^~~~~~~~~ z80-mon.c: In function 'main': z80-mon.c:951:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(rom_path,"."); ^~~~~~~~ execute.c: In function 'f_cb': In file included from z80-mon.c:4: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ execute.c:1782:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ z80-mon.c:952:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(bank_mapping_descr,""); ^~~~~~~~~~~~~~~~~~ In file included from z80-mon.c:4: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ z80-mon.c:986: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: 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:1000:16: warning: pointer targets in passing argument 1 of 'init_banks' differ in signedness [-Wpointer-sign] init_banks(rom_path,bank_mapping_descr); ^~~~~~~~ In file included from z80-mon.c:16: memory.h:6:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int init_banks(char *rom_path, char *bank_mapping_descr); ^~~~~~~~~~ z80-mon.c:1000:25: warning: pointer targets in passing argument 2 of 'init_banks' differ in signedness [-Wpointer-sign] init_banks(rom_path,bank_mapping_descr); ^~~~~~~~~~~~~~~~~~ In file included from z80-mon.c:16: memory.h:6:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int init_banks(char *rom_path, char *bank_mapping_descr); ^~~~~~~~~~ execute.c: In function 'f_neg': execute.c:1979:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_NEG); ^~~~~~~~~~ execute.c: In function 'f_reti': execute.c:2001:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_RETI); ^~~~~~~~~~~ execute.c: In function 'f_retn': execute.c:2019:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_RETN); ^~~~~~~~~~~ execute.c: In function 'f_im': execute.c:2041:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return txt; ^~~ execute.c: In function 'f_rrd': execute.c:2056:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_RRD); ^~~~~~~~~~ execute.c: In function 'f_rld': execute.c:2085:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return dis(I_RLD); ^~~~~~~~~~ execute.c: In function 'ld_block': execute.c:2116:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return str; ^~~ execute.c: In function 'cp_block': execute.c:2174:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return str; ^~~ z80-mon.c:1288: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: 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); ^~~~~~~~~~~ execute.c: In function 'in_block': execute.c:2236:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return str; ^~~ execute.c: In function 'out_block': execute.c:2290:10: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return str; ^~~ execute.c: In function 'f_nop2': execute.c:2339:49: warning: pointer targets in returning 'char *' from a function with return type '_uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return cpu_is_in_disassemble ? dis(I_ILLEGAL) : 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ z80-mon.c:1345: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: /usr/include/stdlib.h:106:37: 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 *)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: ^~~~ z80-mon.c:1206:4: warning: this statement may fall through [-Wimplicit-fallthrough=] reset_banks(); ^~~~~~~~~~~~~ z80-mon.c:1208:4: note: here case '@': ^~~~ z80-mon.c: In function '__print_r': z80-mon.c:235:18: warning: ')' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] sprintf(txt,"(%s)",b); ^ z80-mon.c:235:2: note: 'sprintf' output between 3 and 258 bytes into a destination of size 256 sprintf(txt,"(%s)",b); ^~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o ports.o ports.c z80-mon.c: In function '__print_x.constprop': z80-mon.c:212:22: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] sprintf(txt,"x%02x (%s)",(unsigned)R,b); ^~ ~ z80-mon.c:212:2: note: 'sprintf' output between 7 and 262 bytes into a destination of size 256 sprintf(txt,"x%02x (%s)",(unsigned)R,b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memory.c: In function 'init_banks': memory.c:299:49: warning: '%63s' directive writing between 63 and 1023 bytes into a region of size 42 [-Wformat-overflow=] sprintf(err_msg," can't open bank file %63s", filename); ^~~~ ~~~~~~~~ memory.c:299:10: note: 'sprintf' output between 86 and 1046 bytes into a destination of size 64 sprintf(err_msg," can't open bank file %63s", filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o console.o console.c execute.c: In function 'f_alu_16': execute.c:1036:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(txt,"%s %s,%s",str,t,tt); ^ execute.c:1036:3: note: 'sprintf' output 3 or more bytes (assuming 17) into a destination of size 16 sprintf(txt,"%s %s,%s",str,t,tt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execute.c: In function 'f_ld': execute.c:306:22: warning: '%s' directive writing up to 15 bytes into a region of size between 11 and 30 [-Wformat-overflow=] sprintf(txt,"%s %s,%s",dis(I_LD),arg1,arg2); ^~ ~~~~ execute.c:306:3: note: 'sprintf' output 3 or more bytes (assuming 37) into a destination of size 32 sprintf(txt,"%s %s,%s",dis(I_LD),arg1,arg2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execute.c: In function 'f_ret': execute.c:535:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(txt,"%s %s",dis(I_RET),t); ^ execute.c:535:3: note: 'sprintf' output 2 or more bytes (assuming 9) into a destination of size 8 sprintf(txt,"%s %s",dis(I_RET),t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ z80-mon.c: In function 'main': z80-mon.c:1370:15: warning: array subscript 23 is above array bounds of 'char[23]' [-Warray-bounds] blanks[a]=0; ~~~~~~^~~ z80-mon.c:1291:6: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] { sprintf(string,"starting at 0x%x %u bytes put",a,x); warning(string); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execute.c: In function 'f_pop': execute.c:1444:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(txt,"%s %s",dis(I_POP),t); ^ execute.c:1444:3: note: 'sprintf' output 2 or more bytes (assuming 9) into a destination of size 8 sprintf(txt,"%s %s",dis(I_POP),t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execute.c: In function 'f_push': execute.c:1495:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(txt,"%s %s",dis(I_PUSH),t); ^ execute.c:1495:3: note: 'sprintf' output 2 or more bytes (assuming 9) into a destination of size 8 sprintf(txt,"%s %s",dis(I_PUSH),t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execute.c: In function 'f_ex': execute.c:1662:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(txt,"%s %s,%s",dis(I_EX),r1,r2); ^ execute.c:1662:3: note: 'sprintf' output 3 or more bytes (assuming 17) into a destination of size 16 sprintf(txt,"%s %s,%s",dis(I_EX),r1,r2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execute.c: In function 'f_im': execute.c:2040:19: 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] sprintf(txt,"%s %u",dis(I_IM),(unsigned)a1); ^~~~~~~ execute.c:2040:3: note: 'sprintf' output 3 or more bytes (assuming 11) into a destination of size 8 sprintf(txt,"%s %u",dis(I_IM),(unsigned)a1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f cpu.a ar rcs cpu.a execute.o decode-table.o decode.o memory.o ports.o cc -lc -o z80-mon z80-mon.o cpu.a console.o asm.a hardware/hard.a gmake[2]: Leaving directory '/construction/devel/z80-asm/z80-asm-2.3' cd hardware; gmake SYSTEM=UNIX DEFINES="-DZ80_PORTS="\\\""./.Z80_ports"\\\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER" gmake[2]: Entering directory '/construction/devel/z80-asm/z80-asm-2.3/hardware' cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o hardware_clock.o hardware_clock.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o make_ports.o make_ports.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o port_io.o port_io.c cc -pipe -O2 -fno-strict-aliasing -Wall -DZ80_PORTS="\""./.Z80_ports"\"" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -Wall -DUNIX -DZ80_PORTS=\"./.Z80_ports\" -DUNIX -DFURTHER_HARDWARE -DPORT_BUFFER -W -Wstrict-prototypes -Wno-parentheses -fomit-frame-pointer -falign-functions=0 -c -o monitor_cpu.o monitor_cpu.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' hardware_clock.c:5:1: +#include hardware_clock.c:15:7: exit(1); ^~~~ cc -o hardware_clock hardware_clock.o cc -o port_io port_io.o cc -o make_ports make_ports.o cc -o monitor_cpu monitor_cpu.o ../cpu.a ../console.o ../asm.a gmake[2]: Leaving directory '/construction/devel/z80-asm/z80-asm-2.3/hardware' gmake[1]: Leaving directory '/construction/devel/z80-asm/z80-asm-2.3' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for z80-asm-2.4.p3 ===> Generating temporary packing list install -s -m 555 /construction/devel/z80-asm/z80-asm-2.3/z80-asm /construction/devel/z80-asm/stage/usr/local/bin install -s -m 555 /construction/devel/z80-asm/z80-asm-2.3/z80-mon /construction/devel/z80-asm/stage/usr/local/bin install -m 444 /construction/devel/z80-asm/z80-asm-2.3/doc/man/*.1 /construction/devel/z80-asm/stage/usr/local/man/man1 install -m 444 /construction/devel/z80-asm/z80-asm-2.3/doc/man/*.3 /construction/devel/z80-asm/stage/usr/local/man/man3 install -m 444 /construction/devel/z80-asm/z80-asm-2.3/doc/man/*.5 /construction/devel/z80-asm/stage/usr/local/man/man5 install -m 0644 /construction/devel/z80-asm/z80-asm-2.3/doc/CHANGELOG /construction/devel/z80-asm/stage/usr/local/share/doc/z80-asm install -m 0644 /construction/devel/z80-asm/z80-asm-2.3/doc/README /construction/devel/z80-asm/stage/usr/local/share/doc/z80-asm install -m 0644 /construction/devel/z80-asm/z80-asm-2.3/doc/TODO /construction/devel/z80-asm/stage/usr/local/share/doc/z80-asm install -m 0644 /construction/devel/z80-asm/z80-asm-2.3/doc/z80-asm.html /construction/devel/z80-asm/stage/usr/local/share/doc/z80-asm install -m 0644 /construction/devel/z80-asm/z80-asm-2.3/doc/z80-mon.html /construction/devel/z80-asm/stage/usr/local/share/doc/z80-asm ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for z80-asm-2.4.p3 file sizes/checksums [20]: . done packing files [20]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 7 MAR 2019 at 05:15:36 UTC Duration: 00:00:10