=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/hercules", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for hercules-3.13nb3 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/var/tmp/work/emulators/hercules/work/hercules-3.13' Making all in decNumber gmake[2]: Entering directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/decNumber' CC decimal128.lo CC decimal32.lo CC decContext.lo CC decimal64.lo CC decNumber.lo CC decPacked.lo CCLD libdecNumber.la gmake[2]: Leaving directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/decNumber' Making all in softfloat gmake[2]: Entering directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/softfloat' CC softfloat.lo CCLD libsoftfloat.la gmake[2]: Leaving directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/softfloat' Making all in m4 gmake[2]: Entering directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/m4' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/m4' Making all in util gmake[2]: Entering directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/util' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/util' Making all in html gmake[2]: Entering directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/html' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/html' Making all in man gmake[2]: Entering directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/man' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/var/tmp/work/emulators/hercules/work/hercules-3.13/man' Making all in . gmake[2]: Entering directory '/var/tmp/work/emulators/hercules/work/hercules-3.13' CC hsys.lo CC version.lo CC hscutl.lo CC hscutl2.lo CC codepage.lo CC logger.lo logger.c:524:9: warning: cast from 'void (*)(void *)' to 'THREAD_FUNC *' (aka 'void *(*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 524 | if (create_thread (&logger_tid, JOINABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | logger_thread, NULL, "logger_thread") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ logger.c:524:9: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 524 | if (create_thread (&logger_tid, JOINABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | logger_thread, NULL, "logger_thread") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ 2 warnings generated. CC logmsg.lo CC hdl.lo CC hostinfo.lo CC hsocket.lo CC memrchr.lo CC parser.lo CC pttrace.lo CC sllib.lo CC hetlib.lo pttrace.c:262:13: warning: cast from 'void *(*)(void)' to 'THREAD_FUNC *' (aka 'void *(*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 262 | create_thread (&ptttotid, NULL, ptt_timeout, NULL, "ptt_timeout"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ pttrace.c:262:13: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 262 | create_thread (&ptttotid, NULL, ptt_timeout, NULL, "ptt_timeout"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ pttrace.c:400:40: warning: incompatible function pointer types passing 'void *(*)(void)' to parameter of type 'void * _Nullable (* _Nonnull)(void * _Nullable)' [-Wincompatible-function-pointer-types] 400 | result = pthread_create(tid, attr, start, arg); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/pthread.h:340:31: note: passing argument to parameter here 340 | void * _Nullable (* _Nonnull)(void * _Nullable), | ^ 3 warnings generated. CC ckddasd.lo CC fbadasd.lo CC cckddasd.lo cckddasd.c:1454:13: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 1454 | create_thread (&tid, JOINABLE, cckd_ra, NULL, "cckd_ra"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ cckddasd.c:1542:17: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 1542 | create_thread (&tid, JOINABLE, cckd_ra, dev, "cckd_ra"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ cckddasd.c:1590:13: warning: cast from 'void (*)(void *)' to 'THREAD_FUNC *' (aka 'void *(*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1590 | create_thread (&tid, JOINABLE, cckd_writer, NULL, "cckd_writer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ cckddasd.c:1590:13: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 1590 | create_thread (&tid, JOINABLE, cckd_writer, NULL, "cckd_writer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ cckddasd.c:1744:17: warning: cast from 'void (*)(void *)' to 'THREAD_FUNC *' (aka 'void *(*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1744 | create_thread (&tid, JOINABLE, cckd_writer, NULL, "cckd_writer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ cckddasd.c:1744:17: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 1744 | create_thread (&tid, JOINABLE, cckd_writer, NULL, "cckd_writer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ cckddasd.c:1809:13: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 1809 | create_thread (&tid, JOINABLE, cckd_gcol, NULL, "cckd_gcol"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ ckddasd.c:3785:20: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] 3785 | if (!(((dev->ckdloper & CKDOPER_CODE) == CKDOPER_WRITE | ^ ckddasd.c:3997:20: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] 3997 | if (!(((dev->ckdloper & CKDOPER_CODE) == CKDOPER_WRITE | ^ cckddasd.c:5617:17: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 5617 | create_thread (&tid, JOINABLE, cckd_gcol, NULL, "cckd_gcol"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ cckddasd.c:5648:21: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 5648 | if (p[0] != '\0') | ^~~~ | (void *)0 2 warnings generated. 9 warnings generated. CC cckdutil.lo CC dasdtab.lo CC cache.lo CC dasdutil.lo CC shared.lo CC hconsole.lo shared.c:1759:35: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1759 | dev->shrd[ix]->disconnect = 1; | ^ ~ shared.c:1803:36: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1803 | dev->shrd[ix]->waiting = 1; | ^ ~ shared.c:2273:35: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2273 | dev->shrd[ix]->disconnect = 1; | ^ ~ shared.c:2480:28: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2480 | dev->shrd[ix]->pending = 1; | ^ ~ shared.c:2481:28: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2481 | dev->shrd[ix]->havehdr = 1; | ^ ~ shared.c:2529:47: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2529 | dev->shrd[ix]->disconnect = 1; | ^ ~ shared.c:2534:47: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2534 | dev->shrd[ix]->disconnect = 1; | ^ ~ shared.c:2586:44: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2586 | dev->shrd[ix]->pending = 1; | ^ ~ shared.c:2612:43: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2612 | dev->shrd[ix]->disconnect = 1; | ^ ~ shared.c:2632:36: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 2632 | dev->shrd[ix]->havehdr = 1; | ^ ~ shared.c:2863:18: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 2863 | if ( create_thread (&tid, DETACHED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2864 | serverConnect, psock, "serverConnect") ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ shared.c:2963:25: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 2963 | if (i[0] != '\0') logmsg ("%s",(char *)i); | ^~~~ | (void *)0 12 warnings generated. CC w32util.lo CC strsignal.lo CC impl.lo CC config.lo impl.c:578:10: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 578 | if ( create_thread (&sysblk.wdtid, DETACHED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 579 | watchdog_thread, NULL, "watchdog_thread") ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ impl.c:590:14: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 590 | if ( create_thread (&sysblk.shrdtid, DETACHED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | shared_server, NULL, "shared_server") ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ impl.c:605:22: warning: cast from 'DEVIF *' (aka 'int (*)(struct DEVBLK *, int, char **)') to 'THREAD_FUNC *' (aka 'void *(*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 605 | if ( create_thread (&tid, DETACHED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 606 | *dev->hnd->init, dev, "device connecting thread") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ impl.c:605:22: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 605 | if ( create_thread (&tid, DETACHED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 606 | *dev->hnd->init, dev, "device connecting thread") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ impl.c:617:5: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 617 | create_thread(&rctid,DETACHED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 618 | process_rc_file,NULL,"process_rc_file"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ impl.c:624:9: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 624 | create_thread(&logcbtid,DETACHED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | log_do_callback,NULL,"log_do_callback"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ 6 warnings generated. CC bldcfg.lo config.c:87:10: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 87 | if ( create_thread (&sysblk.cputid[cpu], DETACHED, cpu_thread, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | &cpu, thread_name) | ~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ CC panel.lo 1 warning generated. panel.c:462:17: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 462 | p->keep = 1; | ^ ~ CC history.lo CC fillfnam.lo 1 warning generated. CC ipl.lo CC assist.lo CC dat.lo CC stack.lo CC cpu.lo cpu.c:1210:14: warning: incompatible function pointer types passing 'THREAD_FUNC *' (aka 'void *(*)(void *)') to parameter of type 'void *(*)(void)' [-Wincompatible-function-pointer-types] 1210 | if ( create_thread (&sysblk.todtid, DETACHED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1211 | timer_update_thread, NULL, "timer_update_thread") ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./hthreads.h:157:37: note: expanded from macro 'create_thread' 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^~~~~~~~~~~~~~~~~~~ ./pttrace.h:61:62: note: passing argument to parameter here 61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *); | ^ cpu.c:1690:9: error: too many arguments to function call, expected 0, have 2 1690 | EXECUTE_INSTRUCTION(ip, ®s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1693:13: error: too many arguments to function call, expected 0, have 2 1693 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1694:13: error: too many arguments to function call, expected 0, have 2 1694 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1695:13: error: too many arguments to function call, expected 0, have 2 1695 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1696:13: error: too many arguments to function call, expected 0, have 2 1696 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1697:13: error: too many arguments to function call, expected 0, have 2 1697 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1698:13: error: too many arguments to function call, expected 0, have 2 1698 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1702:13: error: too many arguments to function call, expected 0, have 2 1702 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1703:13: error: too many arguments to function call, expected 0, have 2 1703 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1704:13: error: too many arguments to function call, expected 0, have 2 1704 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1705:13: error: too many arguments to function call, expected 0, have 2 1705 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1706:13: error: too many arguments to function call, expected 0, have 2 1706 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ cpu.c:1707:13: error: too many arguments to function call, expected 0, have 2 1707 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ In file included from cpu.c:1874: cpu.c:1643:21: warning: cast from 'U32 (*)(int, U32, REGS *)' (aka 'unsigned int (*)(int, unsigned int, struct REGS *)') to 'func' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 1643 | regs.trace_br = (func)&ARCH_DEP(trace_br); | ^~~~~~~~~~~~~~~~~~~~~~~~~ cpu.c:1690:9: error: too many arguments to function call, expected 0, have 2 1690 | EXECUTE_INSTRUCTION(ip, ®s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ In file included from cpu.c:1874: cpu.c:1693:13: error: too many arguments to function call, expected 0, have 2 1693 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ In file included from cpu.c:1874: cpu.c:1694:13: error: too many arguments to function call, expected 0, have 2 1694 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ In file included from cpu.c:1874: cpu.c:1695:13: error: too many arguments to function call, expected 0, have 2 1695 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ In file included from cpu.c:1874: cpu.c:1696:13: error: too many arguments to function call, expected 0, have 2 1696 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ In file included from cpu.c:1874: cpu.c:1697:13: error: too many arguments to function call, expected 0, have 2 1697 | UNROLLED_EXECUTE(®s); | ^~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:388:2: note: expanded from macro 'UNROLLED_EXECUTE' 388 | EXECUTE_INSTRUCTION((_regs)->ip, (_regs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opcode.h:383:45: note: expanded from macro 'EXECUTE_INSTRUCTION' 383 | (_regs)->ARCH_DEP(opcode_table)[_ip[0]]((_ip), (_regs)); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. gmake[2]: *** [Makefile:1754: cpu.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/var/tmp/work/emulators/hercules/work/hercules-3.13' gmake[1]: *** [Makefile:1776: all-recursive] Error 1 gmake[1]: Leaving directory '/var/tmp/work/emulators/hercules/work/hercules-3.13' gmake: *** [Makefile:1309: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/hercules *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/hercules