************************************************************** Build FAILED ************************************************************** ######################################################################### Build starting ######################################################################### ######################################################################### Updating from guest git ######################################################################### From https://github.com/z88dk/z88dk 6a86fa8..dbb45f2 m32-fspoly-rounding -> origin/m32-fspoly-rounding Already up-to-date. ######################################################################### Creating src tarball ######################################################################### ######################################################################### Starting native build ######################################################################### fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git make -C src/appmake PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/appmake' gcc -g -O2 -Wall -std=gnu11 -MMD -c -o vz.o vz.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o pasopia7.o pasopia7.c pasopia7.c: In function 'pasopia7_exec': pasopia7.c:53:13: warning: unused variable 'cksum' [-Wunused-variable] int cksum; ^~~~~ pasopia7.c:98:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, pos, fpin); ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o ff.o ff.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o zx-util.o zx-util.c zx-util.c: In function 'zx_tape': zx-util.c:516:44: warning: too many arguments for format [-Wformat-extra-args] sprintf(mybuf, "\"23739\",", (int)pos); ^~~~~~~~~~~~ zx-util.c:519:44: warning: too many arguments for format [-Wformat-extra-args] sprintf(mybuf, "\"111\":", (int)pos); ^~~~~~~~~~ zx-util.c:746:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((zxt->turbo && (blockcount == 4) || (blockcount == 6)) || (zxt->turbo && zxt->dumb)) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ zx-util.c: In function 'zx_sna': zx-util.c:1748:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(&mem128[z_sna_filename - 0x4000], "%.12s", filename); ^ In file included from /usr/include/features.h:364:0, from /usr/include/stdio.h:27, from appmake.h:11, from zx-util.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ zx-util.c: In function 'zx3_layout_file': zx-util.c:2107:15: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] uint8_t *ptr = buf; ^~~ zx-util.c: In function 'zx_sna': zx-util.c:1609:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(sna_state, 27, 1, fin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ zx-util.c:1619:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&sna_state[SNA_128_PC], 4, 1, fin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zx-util.c: In function 'zx_plus3': zx-util.c:2275:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(scrbuf, 1, 6912, fpscr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zx-util.c:2284:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ptr, 1, binary_length, fpin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zx-util.c: In function 'zxn_construct_page_contents': zx-util.c:88:8: warning: 'first' may be used uninitialized in this function [-Wmaybe-uninitialized] if (first) printf(", %d head bytes free", first); ^ zx-util.c:90:26: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] if (last - mbsz < 0) printf(", %d tail bytes free", mbsz - last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zx-util.c: In function 'zx_tape': zx-util.c:674:27: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((zxt->ts2068) && (pos >= 33000)) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ zx-util.c:239:19: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] c += hexdigit(zxt->patchdata[i]); ^~ zx-util.c: In function 'zxn_dotn_command': zx-util.c:1135:27: warning: 'dotn_main_absolute_mask' may be used uninitialized in this function [-Wmaybe-uninitialized] overlay_alloc_mask &= ~dotn_main_absolute_mask; ^~~~~~~~~~~~~~~~~~~~~~~~ zx-util.c:1134:24: warning: 'dotn_main_overlay_mask' may be used uninitialized in this function [-Wmaybe-uninitialized] overlay_alloc_mask |= dotn_main_overlay_mask; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o glue.o glue.c glue.c: In function 'glue_exec': glue.c:62:9: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o p2000.o p2000.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o z88shell.o z88shell.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o zxn.o zxn.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o aquarius.o aquarius.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o cpm2.o cpm2.c cpm2.c:34:26: warning: 'get_format' declared 'static' but never defined [-Wunused-function] static struct formats *get_format(const char *name); ^~~~~~~~~~ cpm2.c: In function 'cpm_write_file_to_image': cpm2.c:473:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(filebuf, binlen, 1, binary_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpm2.c:492:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bootbuf, bootlen, 1, binary_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o sorcerer.o sorcerer.c sorcerer.c: In function 'sorcerer_exec': sorcerer.c:404:44: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("\nInfo: File Size $%x", c + j*256); ~^~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o z88.o z88.c z88.c: In function 'SaveBlock': z88.c:318:10: warning: unused variable 'buffer' [-Wunused-variable] char buffer[LINEMAX + 1]; ^~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o mz2500.o mz2500.c mz2500.c: In function 'mz2500_exec': mz2500.c:68:15: warning: unused variable 'c' [-Wunused-variable] int i, j, c; ^ mz2500.c:68:12: warning: unused variable 'j' [-Wunused-variable] int i, j, c; ^ mz2500.c:67:14: warning: variable 'namelen' set but not used [-Wunused-but-set-variable] int len, namelen; ^~~~~~~ mz2500.c:65:10: warning: unused variable 'name' [-Wunused-variable] char name[14]; ^~~~ mz2500.c:155:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(sectorbuf, 256, sizeof(uint8_t), fpin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: mz2500.c:18:26: warning: 'origin' defined but not used [-Wunused-variable] static int origin = -1; ^~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o appmake.o appmake.c appmake.c: In function 'mb_check_alignment': appmake.c:1476:66: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] qsort(aligned->array, aligned->num, sizeof(*aligned->array), mb_compare_aligned); ^~~~~~~~~~~~~~~~~~ In file included from appmake.h:12:0, from appmake.c:14: /usr/include/stdlib.h:725:13: note: expected '__compar_fn_t {aka int (*)(const void *, const void *)}' but argument is of type 'int (*)(const struct section_aligned *, const struct section_aligned *)' extern void qsort (void *__base, size_t __nmemb, size_t __size, ^~~~~ appmake.c: In function 'mb_sort_banks_check': appmake.c:1502:57: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] qsort(mb->secbin, mb->num, sizeof(*mb->secbin), mb_compare_banks); ^~~~~~~~~~~~~~~~ In file included from appmake.h:12:0, from appmake.c:14: /usr/include/stdlib.h:725:13: note: expected '__compar_fn_t {aka int (*)(const void *, const void *)}' but argument is of type 'int (*)(const struct section_bin *, const struct section_bin *)' extern void qsort (void *__base, size_t __nmemb, size_t __size, ^~~~~ appmake.c: In function 'mb_sort_banks': appmake.c:1556:33: warning: unused variable 'mb' [-Wunused-variable] struct memory_bank *mb = &bs->membank[j]; ^~ At top level: appmake.c:51:21: warning: 'tmpnambuf' defined but not used [-Wunused-variable] static char tmpnambuf[] = "apmXXXX"; ^~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o c128.o c128.c c128.c: In function 'c128_exec': c128.c:51:13: warning: unused variable 'mybuf' [-Wunused-variable] char mybuf[20]; ^~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o fp1100.o fp1100.c fp1100.c: In function 'fp1100_exec': fp1100.c:46:13: warning: unused variable 'cksum' [-Wunused-variable] int cksum; ^~~~~ fp1100.c:91:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, pos, fpin); ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o newbrain.o newbrain.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o mz.o mz.c mz.c: In function 'mz_patch': mz.c:514:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (foopatch) ^~ mz.c:516:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' image[i+1]=dst_table[0]%256; ^~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o px.o px.c px.c: In function 'px_exec': px.c:46:20: warning: variable 'namelen' set but not used [-Wunused-but-set-variable] int len, len2, namelen; ^~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o x07.o x07.c x07.c: In function 'x07_exec': x07.c:370:12: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] if (pos != 1380) { ^ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o ace-tap.o ace-tap.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o tixx.o tixx.c tixx.c: In function 'tixx_exec': tixx.c:204:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, n, 1, fp); ^~~~~~~~~~~~~~~~~~~~ tixx.c:260:13: warning: 'ext' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (ext == E_86P) ^ tixx.c:181:9: warning: 'suffix' may be used uninitialized in this function [-Wmaybe-uninitialized] suffix_change(filename,suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o nascom.o nascom.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o cpmdisk.o cpmdisk.c cpmdisk.c: In function 'disc_create': cpmdisk.c:61:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ cpmdisk.c:60:9: warning: unused variable 'directory_extents' [-Wunused-variable] int directory_extents; ^~~~~~~~~~~~~~~~~ cpmdisk.c: In function 'disc_write_raw': cpmdisk.c:247:22: warning: unused variable 'ptr' [-Wunused-variable] uint8_t* ptr; ^~~ cpmdisk.c: In function 'disc_write_anadisk': cpmdisk.c:450:14: warning: unused variable 'ptr' [-Wunused-variable] uint8_t *ptr; ^~~ cpmdisk.c:449:13: warning: unused variable 'title' [-Wunused-variable] char title[18]; ^~~~~ cpmdisk.c: In function 'cpm_write_file': cpmdisk.c:575:14: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] uint8_t* ptr; ^~~ cpmdisk.c:573:14: warning: variable 'dir_ptr' set but not used [-Wunused-but-set-variable] uint8_t* dir_ptr; ^~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o newext.o newext.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o sos.o sos.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o trs80.o trs80.c trs80.c: In function 'trs80_exec': trs80.c:264:16: warning: 'ckflag' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ckflag) ^ trs80.c:265:17: warning: 'cksum' may be used uninitialized in this function [-Wmaybe-uninitialized] writebyte(cksum, fpout); /* Checksum */ ^~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o x1.o x1.c x1.c: In function 'x1_exec': x1.c:44:14: warning: variable 'namelen' set but not used [-Wunused-but-set-variable] int len, namelen; ^~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o c7420.o c7420.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o residos.o residos.c residos.c: In function 'residos_exec': residos.c:113:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(memory, "ZXPKG"); ^~~~~~ In file included from /usr/include/features.h:364:0, from /usr/include/stdio.h:27, from appmake.h:11, from residos.c:11: /usr/include/x86_64-linux-gnu/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o pc88.o pc88.c pc88.c: In function 'pc88_exec': pc88.c:87:9: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c, i, j; ^ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o extract.o extract.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o nec.o nec.c nec.c: In function 'nec_exec': nec.c:225:13: warning: variable 'codeseg' set but not used [-Wunused-but-set-variable] int codeseg; ^~~~~~~ nec.c:458:14: warning: 'zerocount' may be used uninitialized in this function [-Wmaybe-uninitialized] zerocount++; ~~~~~~~~~^~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o rom.o rom.c rom.c: In function 'rom_exec': rom.c:111:52: warning: 'in_size' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((post_size = (romsize == 0) ? 0 : (romsize - in_size - binorg + rombase)) < 0) ~~~~~~~~^~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o zx81.o zx81.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o mc.o mc.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o vg5k.o vg5k.c vg5k.c: In function 'vg5k_exec': vg5k.c:323:17: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("\nInfo: Start location $%x", c * 256 + j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o inject.o inject.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o fat.o fat.c fat.c: In function 'fat_write_file_to_image': fat.c:104:23: warning: unused variable 'ret' [-Wunused-variable] int ret; ^~~ fat.c:98:23: warning: unused variable 'buf' [-Wunused-variable] char buf[1024]; ^~~ fat.c:141:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(filebuf, binlen, 1, binary_fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o sc3000.o sc3000.c sc3000.c: In function 'sc3000_exec': sc3000.c:187:29: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] writebyte_cksum(pos / 256, fpout, &checksum); /* MSB */ ~~~~^~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o lynx.o lynx.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o kc.o kc.c kc.c: In function 'kc_exec': kc.c:46:14: warning: variable 'namelen' set but not used [-Wunused-but-set-variable] int len, namelen; ^~~~~~~ kc.c:45:10: warning: unused variable 'name' [-Wunused-variable] char name[17]; ^~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o rex6000.o rex6000.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o m5.o m5.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o galaksija.o galaksija.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o cpc.o cpc.c cpc.c: In function 'cpc_exec': cpc.c:399:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(srchead, 128, 1, source); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpc.c:463:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(srcdata, header[19] + header[20] * 256, 1, source); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o mtx.o mtx.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o enterprise.o enterprise.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o zx.o zx.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o abc80.o abc80.c abc80.c: In function 'datablockout': abc80.c:138:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&buffer[3], 253, 1, fin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o spc1000.o spc1000.c spc1000.c: In function 'spc1000_exec': spc1000.c:35:9: warning: unused variable 'cksum' [-Wunused-variable] int cksum; ^~~~~ spc1000.c:34:14: warning: unused variable 'blocklen' [-Wunused-variable] int len, blocklen; ^~~~~~~~ spc1000.c:29:10: warning: unused variable 'name' [-Wunused-variable] char name[11]; ^~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o z9001.o z9001.c z9001.c: In function 'z9001_exec': z9001.c:46:17: warning: variable 'namelen' set but not used [-Wunused-but-set-variable] int len,namelen; ^~~~~~~ z9001.c:45:7: warning: unused variable 'name' [-Wunused-variable] char name[17]; ^~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o msx.o msx.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o mameql.o mameql.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o sms.o sms.c sms.c: In function 'sms_exec': sms.c:153:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(memory, sizeof(memory[0]), len, fpin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o svi.o svi.c svi.c: In function 'svi_exec': svi.c:126:10: warning: variable 'gothdr' set but not used [-Wunused-but-set-variable] char gothdr; ^~~~~~ svi.c: In function 'create_disk': svi.c:373:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(sectorbuf, 1, 128, fpin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svi.c:393:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(sectorbuf, 1, size, fpin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: svi.c:324:18: warning: 'spec' defined but not used [-Wunused-variable] static disc_spec spec = { ^~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o hex.o hex.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o zxvgs.o zxvgs.c gcc -g -O2 -Wall -std=gnu11 -MMD -c -o multi8.o multi8.c multi8.c: In function 'multi8_exec': multi8.c:36:18: warning: unused variable 'blocklen' [-Wunused-variable] int len, blocklen; ^~~~~~~~ multi8.c:31:13: warning: unused variable 'name' [-Wunused-variable] char name[11]; ^~~~ multi8.c:98:13: warning: 'cksum' may be used uninitialized in this function [-Wmaybe-uninitialized] cksum += c; ~~~~~~^~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -c -o z1013.o z1013.c z1013.c: In function 'z1013_exec': z1013.c:48:14: warning: variable 'namelen' set but not used [-Wunused-but-set-variable] int len, namelen; ^~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -o appmake vz.o pasopia7.o ff.o zx-util.o glue.o p2000.o z88shell.o zxn.o aquarius.o cpm2.o sorcerer.o z88.o mz2500.o appmake.o c128.o fp1100.o newbrain.o mz.o px.o x07.o ace-tap.o tixx.o nascom.o cpmdisk.o newext.o sos.o trs80.o x1.o c7420.o residos.o pc88.o extract.o nec.o rom.o zx81.o mc.o vg5k.o inject.o fat.o sc3000.o lynx.o kc.o rex6000.o m5.o galaksija.o cpc.o mtx.o enterprise.o zx.o abc80.o spc1000.o z9001.o msx.o mameql.o sms.o svi.o hex.o zxvgs.o multi8.o z1013.o -g -O2 install appmake /home/build/z88dk/build/z88dk/bin/appmake make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/appmake' make -C src/copt PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/copt' gcc -c -o copt.o -g -O2 -DLOCAL_REGEXP -I. copt.c gcc -c -o regex/regcomp.o -g -O2 -DLOCAL_REGEXP -I. regex/regcomp.c gcc -c -o regex/regerror.o -g -O2 -DLOCAL_REGEXP -I. regex/regerror.c gcc -c -o regex/regexec.o -g -O2 -DLOCAL_REGEXP -I. regex/regexec.c gcc -c -o regex/regfree.o -g -O2 -DLOCAL_REGEXP -I. regex/regfree.c gcc -o z88dk-copt -g -O2 copt.o regex/regcomp.o regex/regerror.o regex/regexec.o regex/regfree.o install z88dk-copt /home/build/z88dk/build/z88dk/bin/z88dk-copt make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/copt' make -C src/cpp PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/cpp' gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -c -o cpp6.o cpp6.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -c -o cpp2.o cpp2.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -c -o cpp4.o cpp4.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -c -o cpp5.o cpp5.c cpp5.c: In function 'bittest': cpp5.c:606:1: warning: type of 'value' defaults to 'int' [-Wimplicit-int] bittest(value) ^~~~~~~ cpp5.c: In function 'eval': cpp5.c:818:6: warning: 'v2' may be used uninitialized in this function [-Wmaybe-uninitialized] v1 /= v2; ~~~^~~~~ cpp5.c:780:19: note: 'v2' was declared here register int v1, v2; ^~ gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -c -o cpp3.o cpp3.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -c -o cpp1.o cpp1.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -o z88dk-zcpp cpp6.o cpp2.o cpp4.o cpp5.o cpp3.o cpp1.o -g -O2 install z88dk-zcpp /home/build/z88dk/build/z88dk/bin/z88dk-zcpp make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/cpp' make -C src/ucpp PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/ucpp' gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -DSTAND_ALONE -DUCPP_CONFIG -c -o mem.o mem.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -DSTAND_ALONE -DUCPP_CONFIG -c -o nhash.o nhash.c nhash.c: In function 'find_node': nhash.c:156:12: warning: 'ls' may be used uninitialized in this function [-Wmaybe-uninitialized] *leftson = ls; ~~~~~~~~~^~~~ nhash.c: In function 'internal_put': nhash.c:275:14: warning: 'pnode' may be used uninitialized in this function [-Wmaybe-uninitialized] pnode->left = itemg; ~~~~~~~~~~~~^~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -DSTAND_ALONE -DUCPP_CONFIG -c -o cpp.o cpp.c In file included from cpp.c:45:0: cpp.c: In function 'handle_if': mem.h:52:18: warning: 'tf.t' may be used uninitialized in this function [-Wmaybe-uninitialized] #define freemem free ^~~~ cpp.c:987:20: note: 'tf.t' was declared here struct token_fifo tf, tf1, tf2, tf3, *save_tf; ^~ In file included from cpp.c:45:0: cpp.c: In function 'handle_include': mem.h:98:9: warning: 'fname' may be used uninitialized in this function [-Wmaybe-uninitialized] (list)[(ptr) ++] = (obj); \ ^ cpp.c:1200:8: note: 'fname' was declared here char *fname; ^~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -DSTAND_ALONE -DUCPP_CONFIG -c -o lexer.o lexer.c lexer.c: In function 'ucpp_next_token': lexer.c:842:20: warning: 'utf8' may be used uninitialized in this function [-Wmaybe-uninitialized] utf8 = (utf8 << 8) | c; ~~~~~~^~~~~ lexer.c:799:16: note: 'utf8' was declared here unsigned long utf8; ^~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -DSTAND_ALONE -DUCPP_CONFIG -c -o assert.o assert.c In file included from assert.c:37:0: assert.c: In function 'ucpp_handle_assert': mem.h:52:18: warning: 'aname' may be used uninitialized in this function [-Wmaybe-uninitialized] #define freemem free ^~~~ assert.c:134:8: note: 'aname' was declared here char *aname; ^~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -DSTAND_ALONE -DUCPP_CONFIG -c -o macro.o macro.c macro.c: In function 'ucpp_handle_define': macro.c:322:20: warning: 'mv.t' may be used uninitialized in this function [-Wmaybe-uninitialized] struct token_fifo mv; ^~ macro.c: In function 'ucpp_substitute_macro': macro.c:1640:23: warning: 'save_tfi' may be used uninitialized in this function [-Wmaybe-uninitialized] tfi->art = save_tfi + (etl.art - etl_limit); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ macro.c:1573:13: warning: 'atl' may be used uninitialized in this function [-Wmaybe-uninitialized] t.name = stringify(atl + anum); ^~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -DSTAND_ALONE -DUCPP_CONFIG -c -o eval.o eval.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -DSTAND_ALONE -DUCPP_CONFIG -o z88dk-ucpp mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o -g -O2 install z88dk-ucpp /home/build/z88dk/build/z88dk/bin/z88dk-ucpp make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/ucpp' make -C src/sccz80 PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/sccz80' gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o callfunc.o callfunc.c callfunc.c: In function 'callfunction': callfunc.c:329:18: warning: 'last_argument_size' may be used uninitialized in this function [-Wmaybe-uninitialized] nargs += callstk(functype, nargs, fnptr_type->kind == KIND_CPTR, last_argument_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o codegen.o codegen.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o const.o const.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o data.o data.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o declinit.o declinit.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o error.o error.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o expr.o expr.c expr.c: In function 'heirb': expr.c:598:30: warning: variable 'valtype' set but not used [-Wunused-but-set-variable] int val, con, direct, k, valtype; ^~~~~~~ gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o goto.o goto.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o io.o io.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o lex.o lex.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o main.o main.c main.c:95:66: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] { 'h', "help", OPT_FUNCTION|OPT_BOOL, "Show this help page", DispInfo, 0 }, ^~~~~~~~ main.c:95:66: note: (near initialization for 'sccz80_opts[1].value') main.c:121:90: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] { 0, "asm", OPT_FUNCTION, "= Set the assembler output (z80asm,vasm,asxx,gnu)", SetAssembler, 0 }, ^~~~~~~~~~~~ main.c:121:90: note: (near initialization for 'sccz80_opts[25].value') main.c:128:84: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] { 0, "opt-code-speed", OPT_FUNCTION|OPT_STRING, "Optimise for speed not size", opt_code_speed, 0}, ^~~~~~~~~~~~~~ main.c:128:84: note: (near initialization for 'sccz80_opts[32].value') main.c:142:67: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] { 0, "W", OPT_FUNCTION, " Enable a class of warnings", SetWarning, 0 }, ^~~~~~~~~~ main.c:142:67: note: (near initialization for 'sccz80_opts[35].value') main.c:147:64: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] { 0, "D", OPT_FUNCTION, "Define a preprocessor directive", SetDefine, 0 }, ^~~~~~~~~ main.c:147:64: note: (near initialization for 'sccz80_opts[40].value') main.c:148:67: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] { 0, "U", OPT_FUNCTION, "Undefine a preprocessor directive" , SetUndefine, 0 }, ^~~~~~~~~~~ main.c:148:67: note: (near initialization for 'sccz80_opts[41].value') main.c: In function 'set_option': main.c:831:49: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] void (*func)(option *arg, char *type) = arg->value; ^~~ gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o misc.o misc.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o plunge.o plunge.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o preproc.o preproc.c preproc.c: In function 'gch': preproc.c:49:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ch()) ^~ preproc.c:53:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return line[lptr++]; ^~~~~~ gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o primary.o primary.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o stmt.o stmt.c stmt.c: In function 'doexpr': stmt.c:339:13: warning: variable 'type' set but not used [-Wunused-but-set-variable] Kind type; ^~~~ gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o sym.o sym.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o while.o while.c gcc -g -O2 -MMD -Wall -I../../ext/uthash/src/ -g -pedantic -c -o declparse.o declparse.c gcc -g -O2 -o sccz80 callfunc.o codegen.o const.o data.o declinit.o error.o expr.o goto.o io.o lex.o main.o misc.o plunge.o preproc.o primary.o stmt.o sym.o while.o declparse.o -lm install -m 755 sccz80 /home/build/z88dk/build/z88dk/bin/sccz80 make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/sccz80' make -C src/z80asm PREFIX=`pwd` PREFIX_SHARE=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/z80asm' gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o errors.o errors.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o z80asm.o z80asm.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o sym.o sym.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o libfile.o libfile.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o error_func.o error_func.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o opcodes.o opcodes.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o model.o model.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o codearea.o codearea.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o hist.o hist.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o module.o module.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o zobjfile.o zobjfile.c zobjfile.c: In function 'write_expr': zobjfile.c:40:7: warning: 'range' may be used uninitialized in this function [-Wmaybe-uninitialized] char range; ^~~~~ zobjfile.c: In function 'write_symbols_symtab': zobjfile.c:106:14: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] char scope, type; ^~~~ gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o macros.o macros.c macros.c:164:13: warning: 'collect_params' defined but not used [-Wunused-function] static bool collect_params(char **p, DefMacro *macro, UT_string *param) ^~~~~~~~~~~~~~ gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o directives.o directives.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o options.o options.c options.c: In function 'parse_argv': options.c:167:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( argc == 1 ) ^~ options.c:170:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!get_num_errors()) ^~ gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o scan.o scan.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o main.o main.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -O0 -c -o parse.o parse.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o z80pass.o z80pass.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o symtab.o symtab.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o modlink.o modlink.c modlink.c: In function 'LinkLibModule': modlink.c:948:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( opts.verbose ) ^~ modlink.c:951:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' flag = LinkModule(library->libfilename, curmodule, extern_syms); /* link module & read names */ ^~~~ gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o expr.o expr.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o listfile.o listfile.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o lib/srcfile.o lib/srcfile.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o lib/dbg.o lib/dbg.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o lib/str.o lib/str.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o lib/list.o lib/list.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o lib/strhash.o lib/strhash.c lib/strhash.c: In function 'StrHash_find': lib/strhash.c:94:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( self == NULL || key == NULL ) ^~ lib/strhash.c:97:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' key = StrHash_norm_key( self, key ); ^~~ gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o lib/alloc.o lib/alloc.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o lib/minunit.o lib/minunit.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o lib/class.o lib/class.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o lib/array.o lib/array.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../common/die.o ../common/die.c ../common/die.c: In function 'xglob': ../common/die.c:46:33: warning: passing argument 3 of 'glob' from incompatible pointer type [-Wincompatible-pointer-types] int ret = glob(pattern, flags, errfunc, pglob); ^~~~~~~ In file included from ../common/die.h:21:0, from ../common/die.c:6: /usr/include/glob.h:146:12: note: expected 'int (*)(const char *, int)' but argument is of type 'const int (*)(const char *, int)' extern int glob (const char *__restrict __pattern, int __flags, ^~~~ gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../common/strutil.o ../common/strutil.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../common/fileutil.o ../common/fileutil.c In file included from ../common/fileutil.c:7:0: ../common/fileutil.c: In function 'path_rmdir': ../common/die.h:56:36: warning: implicit declaration of function 'rmdir' [-Wimplicit-function-declaration] #define xrmdir(dir) Check_retval(rmdir(path_os(dir)), (dir)) ^ ../common/die.h:47:46: note: in definition of macro 'Check_retval' #define Check_retval(rv, file) check_retval((rv), (file), __FILE__, __LINE__) ^~ ../common/fileutil.c:649:3: note: in expansion of macro 'xrmdir' xrmdir(path); ^~~~~~ gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../common/objfile.o ../common/objfile.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../common/optparse.o ../common/optparse.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../../ext/regex/regfree.o ../../ext/regex/regfree.c gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../../ext/regex/regcomp.o ../../ext/regex/regcomp.c In file included from ../../ext/regex/regcomp.c:12:0: ../../ext/regex/cclass.h:6:16: warning: missing braces around initializer [-Wmissing-braces] } cclasses[] = { ^ ../../ext/regex/cclass.h:6:16: note: (near initialization for 'cclasses') In file included from ../../ext/regex/regcomp.c:13:0: ../../ext/regex/cname.h:5:14: warning: missing braces around initializer [-Wmissing-braces] } cnames[] = { ^ ../../ext/regex/cname.h:5:14: note: (near initialization for 'cnames') ../../ext/regex/regcomp.c: In function 'p_ere': ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:254:3: note: in expansion of macro 'REQUIRE' REQUIRE(HERE() != conc, REG_EMPTY); /* require nonempty */ ^~~~~~~ ../../ext/regex/regcomp.c: In function 'p_ere_exp': ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:301:3: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EPAREN); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:97:24: note: in expansion of macro 'REQUIRE' #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e)) ^~~~~~~ ../../ext/regex/regcomp.c:314:3: note: in expansion of macro 'MUSTEAT' MUSTEAT(')', REG_EPAREN); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:357:3: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EESCAPE); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:362:3: note: in expansion of macro 'REQUIRE' REQUIRE(!MORE() || !isdigit(PEEK()), REG_BADRPT); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:378:2: note: in expansion of macro 'REQUIRE' REQUIRE(!wascaret, REG_BADRPT); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:405:5: note: in expansion of macro 'REQUIRE' REQUIRE(count <= count2, REG_BADBR); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:414:4: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EBRACE); ^~~~~~~ ../../ext/regex/regcomp.c: In function 'p_str': ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:437:2: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EMPTY); ^~~~~~~ ../../ext/regex/regcomp.c: In function 'p_bre': ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:480:2: note: in expansion of macro 'REQUIRE' REQUIRE(HERE() != start, REG_EMPTY); /* require nonempty */ ^~~~~~~ ../../ext/regex/regcomp.c: In function 'p_simp_re': ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:505:3: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EESCAPE); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:535:3: note: in expansion of macro 'REQUIRE' REQUIRE(EATTWO('\\', ')'), REG_EPAREN); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:565:3: note: in expansion of macro 'REQUIRE' REQUIRE(starordinary, REG_BADRPT); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:583:5: note: in expansion of macro 'REQUIRE' REQUIRE(count <= count2, REG_BADBR); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:592:4: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EBRACE); ^~~~~~~ ../../ext/regex/regcomp.c: In function 'p_count': ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:617:2: note: in expansion of macro 'REQUIRE' REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); ^~~~~~~ ../../ext/regex/regcomp.c: In function 'p_bracket': ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:97:24: note: in expansion of macro 'REQUIRE' #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e)) ^~~~~~~ ../../ext/regex/regcomp.c:657:2: note: in expansion of macro 'MUSTEAT' MUSTEAT(']', REG_EBRACK); ^~~~~~~ ../../ext/regex/regcomp.c: In function 'p_b_term': ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:728:3: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EBRACK); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:730:3: note: in expansion of macro 'REQUIRE' REQUIRE(c != '-' && c != ']', REG_ECTYPE); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:732:3: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EBRACK); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:733:3: note: in expansion of macro 'REQUIRE' REQUIRE(EATTWO(':', ']'), REG_ECTYPE); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:737:3: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EBRACK); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:739:3: note: in expansion of macro 'REQUIRE' REQUIRE(c != '-' && c != ']', REG_ECOLLATE); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:741:3: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EBRACK); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:742:3: note: in expansion of macro 'REQUIRE' REQUIRE(EATTWO('=', ']'), REG_ECOLLATE); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:757:3: note: in expansion of macro 'REQUIRE' REQUIRE(start <= finish, REG_ERANGE); ^~~~~~~ ../../ext/regex/regcomp.c: In function 'p_b_symbol': ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:825:2: note: in expansion of macro 'REQUIRE' REQUIRE(MORE(), REG_EBRACK); ^~~~~~~ ../../ext/regex/regcomp.c:95:30: warning: value computed is not used [-Wunused-value] #define REQUIRE(co, e) ((co) || SETERROR(e)) ^ ../../ext/regex/regcomp.c:831:2: note: in expansion of macro 'REQUIRE' REQUIRE(EATTWO('.', ']'), REG_ECOLLATE); ^~~~~~~ At top level: ../../ext/regex/regcomp.c:1253:1: warning: 'mcin' defined but not used [-Wunused-function] mcin(cs, cp) ^~~~ ../../ext/regex/regcomp.c:1226:1: warning: 'mcsub' defined but not used [-Wunused-function] mcsub(cs, cp) ^~~~~ gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../../ext/regex/regexec.o ../../ext/regex/regexec.c In file included from ../../ext/regex/regexec.c:46:0: ../../ext/regex/engine.c: In function 'sdissect': ../../ext/regex/engine.c:276:17: warning: variable 'dp' set but not used [-Wunused-but-set-variable] register char *dp; ^~ In file included from ../../ext/regex/regexec.c:95:0: ../../ext/regex/engine.c: In function 'ldissect': ../../ext/regex/engine.c:276:17: warning: variable 'dp' set but not used [-Wunused-but-set-variable] register char *dp; ^~ At top level: ../../ext/regex/regexec.c:19:12: warning: 'nope' defined but not used [-Wunused-variable] static int nope = 0; /* for use in asserts; shuts lint up */ ^~~~ gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../../ext/regex/regerror.o ../../ext/regex/regerror.c ../../ext/regex/regerror.c:40:13: warning: missing braces around initializer [-Wmissing-braces] } rerrs[] = { ^ ../../ext/regex/regerror.c:40:13: note: (near initialization for 'rerrs') gcc -MMD -I. -Ilib -It -g -Wall -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -o z80asm errors.o z80asm.o sym.o libfile.o error_func.o opcodes.o model.o codearea.o hist.o module.o zobjfile.o macros.o directives.o options.o scan.o main.o parse.o z80pass.o symtab.o modlink.o expr.o listfile.o lib/srcfile.o lib/dbg.o lib/str.o lib/list.o lib/strhash.o lib/alloc.o lib/minunit.o lib/class.o lib/array.o ../common/die.o ../common/strutil.o ../common/fileutil.o ../common/objfile.o ../common/optparse.o ../../ext/regex/regfree.o ../../ext/regex/regcomp.o ../../ext/regex/regexec.o ../../ext/regex/regerror.o -g -O2 make -C dev/z80asm_lib make[2]: Entering directory '/home/build/z88dk/build/z88dk/src/z80asm/dev/z80asm_lib' ../../z80asm -xz80asm-z80-.lib -mz80 @z80asm_lib.lst ../../z80asm -xz80asm-z80-ixiy.lib -mz80 --IXIY @z80asm_lib.lst ../../z80asm -xz80asm-z80_zxn-.lib -mz80-zxn @z80asm_lib.lst ../../z80asm -xz80asm-z80_zxn-ixiy.lib -mz80-zxn --IXIY @z80asm_lib.lst ../../z80asm -xz80asm-z180-.lib -mz180 @z80asm_lib.lst ../../z80asm -xz80asm-z180-ixiy.lib -mz180 --IXIY @z80asm_lib.lst ../../z80asm -xz80asm-r2k-.lib -mr2k @z80asm_lib.lst ../../z80asm -xz80asm-r2k-ixiy.lib -mr2k --IXIY @z80asm_lib.lst ../../z80asm -xz80asm-r3k-.lib -mr3k @z80asm_lib.lst ../../z80asm -xz80asm-r3k-ixiy.lib -mr3k --IXIY @z80asm_lib.lst make[2]: Leaving directory '/home/build/z88dk/build/z88dk/src/z80asm/dev/z80asm_lib' cp dev/z80asm_lib/z80asm-*.lib . install z80asm /home/build/z88dk/build/z88dk/bin/z80asm install asmpp.pl /home/build/z88dk/build/z88dk/bin/asmpp.pl make -C dev/z80asm_lib install PREFIX=/home/build/z88dk/build/z88dk make[2]: Entering directory '/home/build/z88dk/build/z88dk/src/z80asm/dev/z80asm_lib' install z80asm-z80-.lib /home/build/z88dk/build/z88dk/lib/z80asm-z80-.lib install z80asm-z80-ixiy.lib /home/build/z88dk/build/z88dk/lib/z80asm-z80-ixiy.lib install z80asm-z80_zxn-.lib /home/build/z88dk/build/z88dk/lib/z80asm-z80_zxn-.lib install z80asm-z80_zxn-ixiy.lib /home/build/z88dk/build/z88dk/lib/z80asm-z80_zxn-ixiy.lib install z80asm-z180-.lib /home/build/z88dk/build/z88dk/lib/z80asm-z180-.lib install z80asm-z180-ixiy.lib /home/build/z88dk/build/z88dk/lib/z80asm-z180-ixiy.lib install z80asm-r2k-.lib /home/build/z88dk/build/z88dk/lib/z80asm-r2k-.lib install z80asm-r2k-ixiy.lib /home/build/z88dk/build/z88dk/lib/z80asm-r2k-ixiy.lib install z80asm-r3k-.lib /home/build/z88dk/build/z88dk/lib/z80asm-r3k-.lib install z80asm-r3k-ixiy.lib /home/build/z88dk/build/z88dk/lib/z80asm-r3k-ixiy.lib make[2]: Leaving directory '/home/build/z88dk/build/z88dk/src/z80asm/dev/z80asm_lib' make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/z80asm' make -C src/zcc PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/zcc' gcc -c -o zcc.o -g -O2 -DLOCAL_REGEXP -I. -I../copt zcc.c zcc.c: In function 'ShowErrors': zcc.c:2893:51: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(strstr(filenamebuf, "'"), ""); ^~ zcc.c: In function 'main': zcc.c:996:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmdline); ^~~~~~~~~~~~~~~ zcc.c: In function 'ShowErrors': zcc.c:2896:25: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer2, LINEMAX, fp2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o zcc -g -O2 -DLOCAL_REGEXP zcc.o ../copt/regex/regcomp.o ../copt/regex/regerror.o ../copt/regex/regexec.o ../copt/regex/regfree.o zcc.o: In function `tempname': /home/build/z88dk/build/z88dk/src/zcc/zcc.c:2946: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' install zcc /home/build/z88dk/build/z88dk/bin/ make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/zcc' make -C src/zpragma PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/zpragma' gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -c -o zpragma.o zpragma.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -o z88dk-zpragma zpragma.o -g -O2 install z88dk-zpragma /home/build/z88dk/build/z88dk/bin/z88dk-zpragma make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/zpragma' make -C src/zx7 PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/zx7' gcc -o z88dk-zx7 -g -O2 compress.c optimize.c zx7.c gcc -o z88dk-dzx7 -g -O2 dzx7.c install z88dk-zx7 /home/build/z88dk/build/z88dk/bin/z88dk-zx7 install z88dk-dzx7 /home/build/z88dk/build/z88dk/bin/z88dk-dzx7 make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/zx7' make -C src/z80nm PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/z80nm' gcc -g -O2 -Wall -std=gnu11 -MMD -std=gnu11 -I../common -I../../ext/uthash/src -I../../ext/regex -c -o ar.o ar.c gcc -o z80nm -g -O2 -Wall -std=gnu11 -MMD -std=gnu11 -I../common -I../../ext/uthash/src -I../../ext/regex ar.o ../common/die.o ../common/objfile.o ../common/fileutil.o ../common/strutil.o ../../ext/regex/regfree.o ../../ext/regex/regcomp.o ../../ext/regex/regexec.o ../../ext/regex/regerror.o install z80nm /home/build/z88dk/build/z88dk/bin/z80nm make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/z80nm' make -C src/zobjcopy PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/zobjcopy' gcc -g -O2 -Wall -std=gnu11 -MMD -I../common -I../../ext/uthash/src -I../../ext/optparse -I../../ext/regex -c -o zobjcopy.o zobjcopy.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../common -I../../ext/uthash/src -I../../ext/optparse -I../../ext/regex -o zobjcopy zobjcopy.o ../common/die.o ../common/strutil.o ../common/fileutil.o ../common/objfile.o ../common/optparse.o ../../ext/regex/regfree.o ../../ext/regex/regcomp.o ../../ext/regex/regexec.o ../../ext/regex/regerror.o -g -O2 install zobjcopy /home/build/z88dk/build/z88dk/bin/zobjcopy make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/zobjcopy' make -C src/ticks PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/ticks' gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o ticks.o ticks.c ticks.c: In function 'tapcycles': ticks.c:586:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(tapbuf, 1, 0x20000, ft); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c: In function 'main': ticks.c:736:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(tapbuf, 1, 0x20000, ft); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:803:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(get_memory_addr(256), 1, size, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:810:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(get_memory_addr(0), 1, 16384, fk); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:812:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&i, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:813:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&l_, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:814:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&h_, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:815:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&e_, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:816:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&d_, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:817:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&c_, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:818:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&b_, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:819:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&w, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:825:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&a_, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:826:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&l, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:827:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&h, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:828:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&e, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:829:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&d, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:830:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&c, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:831:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&b, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:832:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&yl, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:833:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&yh, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:834:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&xl, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:835:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&xh, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:836:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&iff, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:838:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&r, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:840:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&w, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:842:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&a, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:843:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&sp, 2, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:844:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&im, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:845:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&w, 1, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:846:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(get_memory_addr(0x4000), 1, 0xc000, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:850:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(get_memory_addr(0), 1, 65536, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:851:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&w, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:853:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&a, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:854:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&c, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:855:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&b, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:856:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&l, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:857:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&h, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:858:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&pc, 2, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:859:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&sp, 2, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:860:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&i, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:861:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&r, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:863:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&e, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:864:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&d, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:865:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&c_, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:866:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&b_, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:867:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&e_, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:868:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&d_, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:869:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&l_, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:870:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&h_, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:871:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&w, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:878:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&a_, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:879:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&yl, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:880:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&yh, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:881:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&xl, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:882:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&xh, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:883:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&iff, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:884:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&im, 1, 1, fh), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:885:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&mp, 2, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:887:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(get_memory_addr(0), 1, size, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:893:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&wavpos, 4, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:900:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(tapbuf, 1, 0x20000, ft); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ticks.c:901:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread(&sttap, 4, 1, fh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o hook_console.o hook_console.c gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o hook_io.o hook_io.c gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o hook_misc.o hook_misc.c gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o hook.o hook.c gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o debugger.o debugger.c gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o linenoise.o linenoise.c gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o utf8.o utf8.c gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o syms.o syms.c gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o disassembler_alg.o disassembler_alg.c gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o memory.o memory.c gcc -o z88dk-ticks -g -O2 -I../../ext/uthash/src/ -g -MMD ticks.o hook_console.o hook_io.o hook_misc.o hook.o debugger.o linenoise.o utf8.o syms.o disassembler_alg.o memory.o gcc -g -O2 -I../../ext/uthash/src/ -g -MMD -c -o disassembler_main.o disassembler_main.c gcc -o z88dk-dis -g -O2 -I../../ext/uthash/src/ -g -MMD disassembler_main.o syms.o disassembler_alg.o install z88dk-ticks /home/build/z88dk/build/z88dk/bin/z88dk-ticks install z88dk-dis /home/build/z88dk/build/z88dk/bin/z88dk-dis make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/ticks' make -C support/graphics PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/support/graphics' gcc -g -O2 `xml2-config --cflags` -c -o z80svg.o z80svg.c gcc -o z88dk-z80svg -g -O2 `xml2-config --cflags` z80svg.o `xml2-config --libs` install z88dk-z80svg /home/build/z88dk/build/z88dk/bin/z88dk-z80svg make[1]: Leaving directory '/home/build/z88dk/build/z88dk/support/graphics' make -C support/pv1000 PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/support/pv1000' gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -c -o font2pv1000.o font2pv1000.c gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -o z88dk-font2pv1000 font2pv1000.o -g -O2 install z88dk-font2pv1000 /home/build/z88dk/build/z88dk/bin/z88dk-font2pv1000 make[1]: Leaving directory '/home/build/z88dk/build/z88dk/support/pv1000' make -C support/basck PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/support/basck' gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -c -o basck.o basck.c basck.c: In function 'dlbl': basck.c:838:17: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("@ $%04x label=%s\n", position, label); ^ basck.c:839:17: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("D $%04x %s\n", position, comment); ^ basck.c:842:21: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] printf("%s \t= $%04X ; %s\n", label, position, comment); ^ basck.c: In function 'clbl': basck.c:850:17: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("@ $%04x label=%s\n", position, label); ^ basck.c:851:17: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("c $%04x %s\n", position, comment); ^ basck.c:854:21: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] printf("%s \t= $%04X ; %s\n", label, position, comment); ^ basck.c: In function 'find_in_skel': basck.c:900:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (skel[j] != SKIP) ^ basck.c: In function 'main': basck.c:1128:66: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf ("\n# CPDEHL (compare DE and HL), code found at $%04X", pos); ^ basck.c:1132:64: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# (Canon X-07 hack.. shifting to position $%04X, *work in progress*)",pos); ^ basck.c:1142:72: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# ...patching MS SoftCard HR GBASIC, gap size: $%04X",pos-256); ^ basck.c:1145:52: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\n# (Detected position for ORG: %d)",pos); ^ basck.c:1162:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\n# (Detected position basing on TSTSGN: %d)",pos); ^ basck.c:1172:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\n# (Detected position basing on DVBCDE: %d)",pos); ^ basck.c:2334:54: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# JP table relocated in ram, ptr in $%04X\n",jptab); ^ basck.c:2337:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# First byte of moved block: $%04X\n",res); ^ basck.c:2343:67: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# Original JP table ptr in ROM to be copied: $%04X, getting JP table address\n",res); ^ basck.c:2356:46: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# JP table for statements = $%04X\n",jptab); ^ basck.c:2358:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("@ $%04x label=%s\n", jptab, "FNCTAB"); ^ basck.c:2359:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("w $%04x %s\n", jptab, "Jump table for statements and functions"); ^ basck.c:2368:70: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# (applying a PC-6001 table shift hack, new pos: $%04X)\n",jptab); ^ basck.c:2385:43: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# TOKEN table position = $%04X, word list in 'extended BASIC' mode.\n",res); ^ basck.c:2387:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("@ $%04x label=%s\n", res-1, "WORDS"); ^ basck.c:2388:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("t $%04x %s\n", res-1, "BASIC keyword list"); ^ basck.c:2445:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\n#\t= assignment\t\t[%d]\t",res2); ^ basck.c:2451:22: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n@ $%04x label=__%s\n", signed_byte(img[res2])+res2+1, "OPRND"); ^ basck.c:2452:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("w $%04x %s\n", signed_byte(img[res2])+res2+1, "'+' operand evaluation"); ^ basck.c:2456:20: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("- $%04X",signed_byte(img[res2])+res2+1); ^ basck.c:2506:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n@ $%04x label=__%s\n", res2+3, "ERR"); ^ basck.c:2507:21: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("w $%04x %s\n", res2+3, "ERR function evaluation"); ^ basck.c:2510:21: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("- $%04X",res2+3); ^ basck.c:2518:24: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n@ $%04x label=__%s\n", res2+3, "ERL"); ^ basck.c:2519:22: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("w $%04x %s\n", res2+3, "ERL function evaluation"); ^ basck.c:2522:22: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("- $%04X",res2+3); ^ basck.c:2527:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (img[res2] == 0xFE) ^~ basck.c:2539:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (img[res2+2]==0x20) { ^~ basck.c:2543:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n@ $%04x label=__%s\n", res2+3, "VARPTR"); ^ basck.c:2544:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("w $%04x %s\n", res2+3, "VARPTR function evaluation"); ^ basck.c:2547:23: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("- $%04X",res2+3); ^ basck.c:2597:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\n#\tELSE\t\t[%d]\n",res2); ^ basck.c:2663:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n\n\n# TOKEN table position = $%04X, word list in classic encoding mode\n",res+pos); ^ basck.c:2665:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("@ $%04x label=%s\n", res+pos-1, "WORDS"); ^ basck.c:2666:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("t $%04x %s\n", res+pos-1, "BASIC keyword list"); ^ basck.c:2686:51: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n\n# JP table for functions = $%04X\n",jptab); ^ basck.c:2688:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("@ $%04x label=%s\n", jptab, "FNCTAB_FN"); ^ basck.c:2689:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("w $%04x %s\n", jptab, "Extra jump table for functions"); ^ basck.c:2695:76: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n\n# (applying a PC-6001 table shift hack, new pos: $%04X)\n\n",jptab); ^ basck.c:2738:49: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n\n\n# TOKEN table position = $%04X, word list in earlier encoding mode.\n",res+pos); ^ basck.c:2775:53: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n\n# JP table for functions = $%04X\n",jptab); ^ basck.c:2777:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("@ $%04x label=%s\n", jptab, "FNCTAB_FN"); ^ basck.c:2778:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("w $%04x %s\n", jptab, "Extra jump table for functions"); ^ basck.c:2830:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\n#\t STKEND system variable = %d ; ",res); ^ basck.c:2861:31: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n#\tPROG = $%04X ; BASIC program start",res); ^ basck.c:2860:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (res>0) ^~ basck.c:2862:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' switch (res) { ^~~~~~ basck.c:2968:19: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (img[res-1] & 0xC7 == 0xC7) ^ basck.c:3020:49: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n\n\n#TOKEN table position = $%04X\n",res); ^ basck.c:3036:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n\n\n#TOKEN table position = $%04X\n",res); ^ basck.c:3052:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n\n\n#TOKEN table position = $%04X\n",res); ^ basck.c:3074:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n\n\n#TOKEN table position = $%04X\n",res); ^ basck.c:3170:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\n# ORG shift detected, %d bytes",pos); ^ basck.c:3444:43: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# TOKEN table position = $%04X\n",res); ^ basck.c:3500:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# TOKEN table position for prefix $FF = $%04X\n",res); ^ basck.c:3540:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("\n# TOKEN table position for prefix $FE = $%04X\n",res); ^ basck.c: In function 'dlbl': basck.c:843:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ basck.c: In function 'clbl': basck.c:855:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ basck.c: In function 'main': basck.c:2679:9: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((c == '<') && ((img[i-2] != '=') || (img[i-2] != ('='+0x80)))) { ^ gcc -g -O2 -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -o z88dk-basck basck.o -g -O2 install z88dk-basck /home/build/z88dk/build/z88dk/bin/z88dk-basck make[1]: Leaving directory '/home/build/z88dk/build/z88dk/support/basck' make -C testsuite make[1]: Entering directory '/home/build/z88dk/build/z88dk/testsuite' zcc +test -vn -a Issue_608_Arrays.c -o tmp1.opt diff -w tmp2.opt results/Issue_608_Arrays.opt mv -f tmp1.opt Issue_608_Arrays.opt zcc +test -vn -a Issue_615_while_loop.c -o tmp1.opt diff -w tmp2.opt results/Issue_615_while_loop.opt mv -f tmp1.opt Issue_615_while_loop.opt zcc +test -vn -a Issue_1132_struct_parameter.c -o tmp1.opt diff -w tmp2.opt results/Issue_1132_struct_parameter.opt mv -f tmp1.opt Issue_1132_struct_parameter.opt zcc +test -vn -a Issue_452_far_pointers.c -o tmp1.opt diff -w tmp2.opt results/Issue_452_far_pointers.opt mv -f tmp1.opt Issue_452_far_pointers.opt zcc +test -vn -a Issue_543_complement.c -o tmp1.opt diff -w tmp2.opt results/Issue_543_complement.opt mv -f tmp1.opt Issue_543_complement.opt zcc +test -vn -a Issue_98_Stack_offset.c -o tmp1.opt diff -w tmp2.opt results/Issue_98_Stack_offset.opt mv -f tmp1.opt Issue_98_Stack_offset.opt zcc +test -vn -a Issue_693_fastcall.c -o tmp1.opt diff -w tmp2.opt results/Issue_693_fastcall.opt mv -f tmp1.opt Issue_693_fastcall.opt zcc +test -vn -a Issue_1016_long_const_compare.c -o tmp1.opt diff -w tmp2.opt results/Issue_1016_long_const_compare.opt mv -f tmp1.opt Issue_1016_long_const_compare.opt zcc +test -vn -a Issue_254_KR_Specifiers.c -o tmp1.opt diff -w tmp2.opt results/Issue_254_KR_Specifiers.opt mv -f tmp1.opt Issue_254_KR_Specifiers.opt zcc +test -vn -a Issue_1126_opt_rule.c -o tmp1.opt diff -w tmp2.opt results/Issue_1126_opt_rule.opt mv -f tmp1.opt Issue_1126_opt_rule.opt zcc +test -vn -a 02_addr_ptr.c -o tmp1.opt diff -w tmp2.opt results/02_addr_ptr.opt mv -f tmp1.opt 02_addr_ptr.opt zcc +test -vn -a Issue_1007_Fix_FP_Constant_Multiplication.c -o tmp1.opt diff -w tmp2.opt results/Issue_1007_Fix_FP_Constant_Multiplication.opt mv -f tmp1.opt Issue_1007_Fix_FP_Constant_Multiplication.opt zcc +test -vn -a Issue_419_Extern_Prototypes_In_Function.c -o tmp1.opt diff -w tmp2.opt results/Issue_419_Extern_Prototypes_In_Function.opt mv -f tmp1.opt Issue_419_Extern_Prototypes_In_Function.opt zcc +test -vn -a Issue_188_builtins.c -o tmp1.opt diff -w tmp2.opt results/Issue_188_builtins.opt mv -f tmp1.opt Issue_188_builtins.opt zcc +test -vn -a Issue_510_mult_minus1.c -o tmp1.opt diff -w tmp2.opt results/Issue_510_mult_minus1.opt mv -f tmp1.opt Issue_510_mult_minus1.opt zcc +test -vn -a Issue_485_sdccdecl.c -o tmp1.opt diff -w tmp2.opt results/Issue_485_sdccdecl.opt mv -f tmp1.opt Issue_485_sdccdecl.opt zcc +test -vn -a Issue_452_pointers.c -o tmp1.opt sccz80:"Issue_452_pointers.c" L:78 Warning:Pointer arithmetic with non-matching types: struct x *ptr1-char * [-Wincompatible-pointer-types] diff -w tmp2.opt results/Issue_452_pointers.opt mv -f tmp1.opt Issue_452_pointers.opt zcc +test -vn -a Issue_985_ptr_cast.c -o tmp1.opt diff -w tmp2.opt results/Issue_985_ptr_cast.opt mv -f tmp1.opt Issue_985_ptr_cast.opt zcc +test -vn -a Issue_103_floating_addition.c -o tmp1.opt diff -w tmp2.opt results/Issue_103_floating_addition.opt mv -f tmp1.opt Issue_103_floating_addition.opt zcc +test -vn -a Issue_452_unsigned.c -o tmp1.opt diff -w tmp2.opt results/Issue_452_unsigned.opt mv -f tmp1.opt Issue_452_unsigned.opt zcc +test -vn -a Issue_615_loop.c -o tmp1.opt sccz80:"Issue_615_loop.c" L:6 Warning:Implicit definition of function 'whilefunc' it will return an int. Prototype it explicitly if this is not what you want. [-Wimplicit-function-definition] sccz80:"Issue_615_loop.c" L:49 Warning:Implicit definition of function 'forfunc' it will return an int. Prototype it explicitly if this is not what you want. [-Wimplicit-function-definition] diff -w tmp2.opt results/Issue_615_loop.opt mv -f tmp1.opt Issue_615_loop.opt zcc +test -vn -a Issue_510_long_and.c -o tmp1.opt diff -w tmp2.opt results/Issue_510_long_and.opt mv -f tmp1.opt Issue_510_long_and.opt zcc +test -vn -a Issue_1102_struct_trailing_comma.c -o tmp1.opt diff -w tmp2.opt results/Issue_1102_struct_trailing_comma.opt mv -f tmp1.opt Issue_1102_struct_trailing_comma.opt zcc +test -vn -a shortcall.c -o tmp1.opt diff -w tmp2.opt results/shortcall.opt mv -f tmp1.opt shortcall.opt zcc +test -vn -a Issue_569_jagged_array.c -o tmp1.opt diff -w tmp2.opt results/Issue_569_jagged_array.opt mv -f tmp1.opt Issue_569_jagged_array.opt zcc +test -vn -a Issue_489_variable_defn_in_forloop.c -o tmp1.opt sccz80:"Issue_489_variable_defn_in_forloop.c" L:17 Warning:Loss of precision, converting long i to int i [-Wconversion] diff -w tmp2.opt results/Issue_489_variable_defn_in_forloop.opt mv -f tmp1.opt Issue_489_variable_defn_in_forloop.opt zcc +test -vn -a Issue_491_enums.c -o tmp1.opt diff -w tmp2.opt results/Issue_491_enums.opt mv -f tmp1.opt Issue_491_enums.opt zcc +test -vn -a Issue_295_structgetsfar.c -o tmp1.opt diff -w tmp2.opt results/Issue_295_structgetsfar.opt mv -f tmp1.opt Issue_295_structgetsfar.opt zcc +test -vn -a Issue_701_compound_scope.c -o tmp1.opt diff -w tmp2.opt results/Issue_701_compound_scope.opt mv -f tmp1.opt Issue_701_compound_scope.opt zcc +test -vn -a Issue_499_typedef_initialisation.c -o tmp1.opt diff -w tmp2.opt results/Issue_499_typedef_initialisation.opt mv -f tmp1.opt Issue_499_typedef_initialisation.opt zcc +test -vn -a Issue_497_astroforce_compile.c -o tmp1.opt diff -w tmp2.opt results/Issue_497_astroforce_compile.opt mv -f tmp1.opt Issue_497_astroforce_compile.opt zcc +test -vn -a Issue_615_if.c -o tmp1.opt diff -w tmp2.opt results/Issue_615_if.opt mv -f tmp1.opt Issue_615_if.opt zcc +test -vn -a Issue_1132_struct_by_value.c -o tmp1.opt diff -w tmp2.opt results/Issue_1132_struct_by_value.opt mv -f tmp1.opt Issue_1132_struct_by_value.opt zcc +test -vn -a Issue_1015_break_with_loop_variable.c -o tmp1.opt diff -w tmp2.opt results/Issue_1015_break_with_loop_variable.opt mv -f tmp1.opt Issue_1015_break_with_loop_variable.opt zcc +test -vn -a Far_Pointer_Call.c -o tmp1.opt diff -w tmp2.opt results/Far_Pointer_Call.opt mv -f tmp1.opt Far_Pointer_Call.opt zcc +test -vn -a Issue_98_check_int.c -o tmp1.opt diff -w tmp2.opt results/Issue_98_check_int.opt mv -f tmp1.opt Issue_98_check_int.opt zcc +test -vn -a Issue_103_double_prepost.c -o tmp1.opt diff -w tmp2.opt results/Issue_103_double_prepost.opt mv -f tmp1.opt Issue_103_double_prepost.opt zcc +test -vn -a Issue_452_arrays.c -o tmp1.opt diff -w tmp2.opt results/Issue_452_arrays.opt mv -f tmp1.opt Issue_452_arrays.opt zcc +test -vn -a Issue_490_long_extension.c -o tmp1.opt diff -w tmp2.opt results/Issue_490_long_extension.opt mv -f tmp1.opt Issue_490_long_extension.opt zcc +test -vn -a Issue_1141_Namespaces.c -o tmp1.opt diff -w tmp2.opt results/Issue_1141_Namespaces.opt mv -f tmp1.opt Issue_1141_Namespaces.opt zcc +test -vn -a Issue_564_casting.c -o tmp1.opt diff -w tmp2.opt results/Issue_564_casting.opt mv -f tmp1.opt Issue_564_casting.opt zcc +test -vn -a Issue_509_long_constant.c -o tmp1.opt diff -w tmp2.opt results/Issue_509_long_constant.opt mv -f tmp1.opt Issue_509_long_constant.opt zcc +test -vn -a Issue_1103_fastcall_fnptr.c -o tmp1.opt diff -w tmp2.opt results/Issue_1103_fastcall_fnptr.opt mv -f tmp1.opt Issue_1103_fastcall_fnptr.opt zcc +test -vn -a Issue_26_casting.c -o tmp1.opt sccz80:"Issue_26_casting.c" L:50 Warning:Implicit definition of function 'SMS_setAddr' it will return an int. Prototype it explicitly if this is not what you want. [-Wimplicit-function-definition] diff -w tmp2.opt results/Issue_26_casting.opt mv -f tmp1.opt Issue_26_casting.opt zcc +test -vn -a Issue_574_fastcall_offset.c -o tmp1.opt diff -w tmp2.opt results/Issue_574_fastcall_offset.opt mv -f tmp1.opt Issue_574_fastcall_offset.opt zcc +test -vn -a paramsoffset.c -o tmp1.opt diff -w tmp2.opt results/paramsoffset.opt mv -f tmp1.opt paramsoffset.opt zcc +test -vn -a Issue_493__func__.c -o tmp1.opt diff -w tmp2.opt results/Issue_493__func__.opt mv -f tmp1.opt Issue_493__func__.opt zcc +test -vn -a Issue_715__double_subtraction.c -o tmp1.opt diff -w tmp2.opt results/Issue_715__double_subtraction.opt mv -f tmp1.opt Issue_715__double_subtraction.opt zcc +test -vn -a Issue_452_struct.c -o tmp1.opt diff -w tmp2.opt results/Issue_452_struct.opt mv -f tmp1.opt Issue_452_struct.opt zcc +test -vn -a Issue_514_flexible_member.c -o tmp1.opt diff -w tmp2.opt results/Issue_514_flexible_member.opt mv -f tmp1.opt Issue_514_flexible_member.opt zcc +test -vn -a Issue_678_compound.c -o tmp1.opt diff -w tmp2.opt results/Issue_678_compound.opt mv -f tmp1.opt Issue_678_compound.opt zcc +test -vn -a Issue_1105_function_pointer_calls.c -o tmp1.opt diff -w tmp2.opt results/Issue_1105_function_pointer_calls.opt mv -f tmp1.opt Issue_1105_function_pointer_calls.opt zcc +test -fp-mode=ieee -vn -a Far_Pointer_Call_ieee.c -o tmp1.opt diff -w tmp2.opt results/Far_Pointer_Call_ieee.opt mv -f tmp1.opt Far_Pointer_Call_ieee.opt zcc +test -vn -a Issue_490_repeated_extern_decls.c -o tmp1.opt diff -w tmp2.opt results/Issue_490_repeated_extern_decls.opt mv -f tmp1.opt Issue_490_repeated_extern_decls.opt zcc +test -vn -a Issue_490_ptr_arithmetic.c -o tmp1.opt diff -w tmp2.opt results/Issue_490_ptr_arithmetic.opt mv -f tmp1.opt Issue_490_ptr_arithmetic.opt zcc +test -vn -a Issue_480_asmfunc.c -o tmp1.opt diff -w tmp2.opt results/Issue_480_asmfunc.opt mv -f tmp1.opt Issue_480_asmfunc.opt zcc +test -vn -a Issue_1016_double_const_compare.c -o tmp1.opt diff -w tmp2.opt results/Issue_1016_double_const_compare.opt mv -f tmp1.opt Issue_1016_double_const_compare.opt zcc +test -fp-mode=ieee -vn -a mathops_ieee.c -o tmp1.opt diff -w tmp2.opt results/mathops_ieee.opt mv -f tmp1.opt mathops_ieee.opt zcc +test -vn -a Issue_896_nested_struct_initialisation.c -o tmp1.opt diff -w tmp2.opt results/Issue_896_nested_struct_initialisation.opt mv -f tmp1.opt Issue_896_nested_struct_initialisation.opt zcc +test -vn -a Issue_501_extern_at.c -o tmp1.opt diff -w tmp2.opt results/Issue_501_extern_at.opt mv -f tmp1.opt Issue_501_extern_at.opt zcc +test -vn -a Issue_98_underlying.c -o tmp1.opt diff -w tmp2.opt results/Issue_98_underlying.opt mv -f tmp1.opt Issue_98_underlying.opt zcc +test -vn -a Issue_600_fastcall.c -o tmp1.opt sccz80:"Issue_600_fastcall.c" L:6 Warning:Cannot define function 'func4' as __z88dk_fastcall __stdc when it has more than 1 argument [-Wincorrect-function-declspec] diff -w tmp2.opt results/Issue_600_fastcall.opt mv -f tmp1.opt Issue_600_fastcall.opt zcc +test -vn -a Issue_482_optrule.c -o tmp1.opt diff -w tmp2.opt results/Issue_482_optrule.opt mv -f tmp1.opt Issue_482_optrule.opt zcc +test -vn -a long_addition_opts.c -o tmp1.opt diff -w tmp2.opt results/long_addition_opts.opt mv -f tmp1.opt long_addition_opts.opt zcc +test -vn -a Issue_1133_bitfields.c -o tmp1.opt diff -w tmp2.opt results/Issue_1133_bitfields.opt mv -f tmp1.opt Issue_1133_bitfields.opt zcc +test -vn -a 01_cast_global_pointer.c -o tmp1.opt diff -w tmp2.opt results/01_cast_global_pointer.opt mv -f tmp1.opt 01_cast_global_pointer.opt zcc +test -vn -a Issue_693_missing_return.c -o tmp1.opt diff -w tmp2.opt results/Issue_693_missing_return.opt mv -f tmp1.opt Issue_693_missing_return.opt zcc +test -vn -a Issue_569_init_from_2d_array.c -o tmp1.opt diff -w tmp2.opt results/Issue_569_init_from_2d_array.opt mv -f tmp1.opt Issue_569_init_from_2d_array.opt zcc +test -vn -a Issue_1062_array_init.c -o tmp1.opt diff -w tmp2.opt results/Issue_1062_array_init.opt mv -f tmp1.opt Issue_1062_array_init.opt zcc +test -vn -a Issue_1054_initialisation.c -o tmp1.opt diff -w tmp2.opt results/Issue_1054_initialisation.opt mv -f tmp1.opt Issue_1054_initialisation.opt zcc +test -vn -a Issue_507_unnamed_structs.c -o tmp1.opt diff -w tmp2.opt results/Issue_507_unnamed_structs.opt mv -f tmp1.opt Issue_507_unnamed_structs.opt zcc +test -vn -a Issue_1015_break_without_loop_variable.c -o tmp1.opt diff -w tmp2.opt results/Issue_1015_break_without_loop_variable.opt mv -f tmp1.opt Issue_1015_break_without_loop_variable.opt zcc +test -custom-copt-rules=../lib/zxn_rules.1 -vn -a zxn/Issue_312_zxn_optimisations.c -o tmp1.opt diff -w tmp2.opt results/zxn/Issue_312_zxn_optimisations.opt mv -f tmp1.opt zxn/Issue_312_zxn_optimisations.opt zcc +rcmx000 -vn -a rabbit/rabbit_optimisations.c -o tmp1.opt diff -w tmp2.opt results/rabbit/rabbit_optimisations.opt mv -f tmp1.opt rabbit/rabbit_optimisations.opt zcc +test -mz180 -vn -a z180/Issue_481_multiply_char.c -o tmp1.opt diff -w tmp2.opt results/z180/Issue_481_multiply_char.opt mv -f tmp1.opt z180/Issue_481_multiply_char.opt make[1]: Leaving directory '/home/build/z88dk/build/z88dk/testsuite' make -C src/z88dk-lib PREFIX=`pwd` install make[1]: Entering directory '/home/build/z88dk/build/z88dk/src/z88dk-lib' gcc -g -O2 -c -o z88dk-lib.o z88dk-lib.c z88dk-lib.c: In function 'main': z88dk-lib.c:547:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(newlib_paths[NEWLIB_HDR_MAKE]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o z88dk-lib -g -O2 z88dk-lib.o install z88dk-lib /home/build/z88dk/build/z88dk/bin/z88dk-lib make[1]: Leaving directory '/home/build/z88dk/build/z88dk/src/z88dk-lib' svn checkout -r 10892 svn://svn.code.sf.net/p/sdcc/code/trunk/sdcc -q /tmp/sdcc svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) svn: E155004: Working copy '/tmp/sdcc' locked. svn: E155004: '/tmp/sdcc' is already locked. Makefile:71: recipe for target 'bin/zsdcc' failed make: *** [bin/zsdcc] Error 1 ************************************************************************* Build failed, stage= Native build ************************************************************************* ######################################################################### Deploying kits to nightly area ######################################################################### total 12352 -rw-rw-r-- 1 build build 12644844 May 26 03:00 z88dk-src-20190526-d95f58a-14505.tgz