=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/STk", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for STk-4.0.1nb3 make Tcl clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c panic.c panic.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | Tcl_SetPanicProc(proc) | ^ panic.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | panic(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclHash.c tclHash.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | Tcl_InitHashTable(tablePtr, keyType) | ^ tclHash.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | Tcl_DeleteHashEntry(entryPtr) | ^ tclHash.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | Tcl_DeleteHashTable(tablePtr) | ^ tclHash.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | Tcl_FirstHashEntry(tablePtr, searchPtr) | ^ tclHash.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | Tcl_NextHashEntry(searchPtr) | ^ tclHash.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | Tcl_HashStats(tablePtr) | ^ tclHash.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | HashString(string) | ^ tclHash.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | StringFind(tablePtr, key) | ^ tclHash.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | StringCreate(tablePtr, key, newPtr) | ^ tclHash.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | OneWordFind(tablePtr, key) | ^ tclHash.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | OneWordCreate(tablePtr, key, newPtr) | ^ tclHash.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | ArrayFind(tablePtr, key) | ^ tclHash.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | ArrayCreate(tablePtr, key, newPtr) | ^ tclHash.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | BogusFind(tablePtr, key) | ^ tclHash.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | BogusCreate(tablePtr, key, newPtr) | ^ tclHash.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | RebuildTable(tablePtr) | ^ 16 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclGet.c In file included from tclGet.c:18: In file included from ./tclPort.h:30: ./tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ tclGet.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | Tcl_GetInt(interp, string, intPtr) | ^ tclGet.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | TclGetLong(interp, string, longPtr) | ^ tclGet.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Tcl_GetDouble(interp, string, doublePtr) | ^ tclGet.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | Tcl_GetBoolean(interp, string, boolPtr) | ^ 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c regexp.c In file included from regexp.c:48: In file included from ./tclPort.h:30: ./tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ regexp.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | TclRegComp(exp) | ^ regexp.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | reg(paren, flagp, rcstate) | ^ regexp.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | regbranch(flagp, rcstate) | ^ regexp.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | regpiece(flagp, rcstate) | ^ regexp.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | regatom(flagp, rcstate) | ^ regexp.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | regnode(op, rcstate) | ^ regexp.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | regc(b, rcstate) | ^ regexp.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | reginsert(op, opnd, rcstate) | ^ regexp.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | regtail(p, val) | ^ regexp.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | regoptail(p, val) | ^ regexp.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | TclRegExec(prog, string, start) | ^ regexp.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | regtry(prog, string, restate) | ^ regexp.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | regmatch(prog, restate) | ^ regexp.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | regrepeat(p, restate) | ^ regexp.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | regnext(p) | ^ regexp.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | TclRegError(string) | ^ 17 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclUtil.c In file included from tclUtil.c:17: In file included from ./tclPort.h:30: ./tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ tclUtil.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | TclFindElement(interp, list, listLength, elementPtr, nextPtr, sizePtr, | ^ tclUtil.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | TclCopyAndCollapse(count, src, dst) | ^ tclUtil.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | Tcl_SplitList(interp, list, argcPtr, argvPtr) | ^ tclUtil.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | Tcl_ScanElement(string, flagPtr) | ^ tclUtil.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | Tcl_ScanCountedElement(string, length, flagPtr) | ^ tclUtil.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | Tcl_ConvertElement(src, dst, flags) | ^ tclUtil.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | Tcl_ConvertCountedElement(src, length, dst, flags) | ^ tclUtil.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | Tcl_Merge(argc, argv) | ^ tclUtil.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | Tcl_Concat(argc, argv) | ^ tclUtil.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | Tcl_ConcatObj(objc, objv) | ^ tclUtil.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | Tcl_StringMatch(string, pattern) | ^ tclUtil.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | Tcl_SetResult(interp, string, freeProc) | ^ tclUtil.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | Tcl_GetStringResult(interp) | ^ tclUtil.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | Tcl_SetObjResult(interp, objPtr) | ^ tclUtil.c:1472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | Tcl_GetObjResult(interp) | ^ tclUtil.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | Tcl_AppendElement(interp, string) | ^ tclUtil.c:1689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1689 | SetupAppendBuffer(iPtr, newSpace) | ^ tclUtil.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | Tcl_FreeResult(interp) | ^ tclUtil.c:1819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | Tcl_ResetResult(interp) | ^ tclUtil.c:1909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1909 | Tcl_SetObjErrorCode(interp, errorObjPtr) | ^ tclUtil.c:1958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | Tcl_RegExpCompile(interp, string) | ^ tclUtil.c:2050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2050 | Tcl_RegExpExec(interp, re, string, start) | ^ tclUtil.c:2094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2094 | Tcl_RegExpRange(re, index, startPtr, endPtr) | ^ tclUtil.c:2136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2136 | Tcl_RegExpMatch(interp, string, pattern) | ^ tclUtil.c:2170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2170 | Tcl_DStringInit(dsPtr) | ^ tclUtil.c:2198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2198 | Tcl_DStringAppend(dsPtr, string, length) | ^ tclUtil.c:2269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2269 | Tcl_DStringAppendElement(dsPtr, string) | ^ tclUtil.c:2339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2339 | Tcl_DStringSetLength(dsPtr, length) | ^ tclUtil.c:2392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | Tcl_DStringFree(dsPtr) | ^ tclUtil.c:2425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2425 | Tcl_DStringResult(interp, dsPtr) | ^ tclUtil.c:2469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2469 | Tcl_DStringGetResult(interp, dsPtr) | ^ tclUtil.c:2551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2551 | Tcl_DStringStartSublist(dsPtr) | ^ tclUtil.c:2585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2585 | Tcl_DStringEndSublist(dsPtr) | ^ tclUtil.c:2616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2616 | Tcl_PrintDouble(interp, value, dst) | ^ tclUtil.c:2752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2752 | TclNeedSpace(start, end) | ^ 36 warnings generated. rm -f libtcl.a ar q libtcl.a panic.o tclHash.o tclGet.o regexp.o tclUtil.o ar: creating archive libtcl.a ranlib libtcl.a clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclEvent.c In file included from tclEvent.c:18: In file included from ./tclPort.h:30: ./tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ tclEvent.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | Tcl_BackgroundError(interp) | ^ tclEvent.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | HandleBgErrors(clientData) | ^ tclEvent.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | BgErrorDeleteProc(clientData, interp) | ^ tclEvent.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | Tcl_CreateExitHandler(proc, clientData) | ^ tclEvent.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | Tcl_DeleteExitHandler(proc, clientData) | ^ tclEvent.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | Tcl_Exit(status) | ^ tclEvent.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | Tcl_UpdateCmd(clientData, interp, argc, argv) | ^ 8 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclTimer.c In file included from tclTimer.c:16: In file included from ./tclPort.h:30: ./tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ In file included from tclTimer.c:18: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE tclTimer.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | TimerExitProc(clientData) | ^ tclTimer.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | Tcl_CreateTimerHandler(milliseconds, proc, clientData) | ^ tclTimer.c:248:30: warning: cast to 'Tcl_TimerToken' (aka 'struct Tcl_TimerToken_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] 248 | timerHandlerPtr->token = (Tcl_TimerToken) lastTimerId; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclTimer.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | Tcl_DeleteTimerHandler(token) | ^ tclTimer.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | TimerSetupProc(data, flags) | ^ tclTimer.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | TimerCheckProc(data, flags) | ^ tclTimer.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | TimerHandlerEventProc(evPtr, flags) | ^ tclTimer.c:518:24: warning: cast to smaller integer type 'int' from 'Tcl_TimerToken' (aka 'struct Tcl_TimerToken_ *') [-Wpointer-to-int-cast] 518 | if ((currentTimerId - (int)timerHandlerPtr->token) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tclTimer.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | Tcl_DoWhenIdle(proc, clientData) | ^ tclTimer.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | Tcl_CancelIdleCall(proc, clientData) | ^ tclTimer.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | Tcl_AfterCmd(clientData, interp, argc, argv) | ^ tclTimer.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | GetAfterEvent(assocPtr, string) | ^ tclTimer.c:1063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | AfterProc(clientData) | ^ tclTimer.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | FreeAfterPtr(afterPtr) | ^ 16 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclUnixNotfy.c In file included from tclUnixNotfy.c:18: In file included from ./tclPort.h:30: ./tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ tclUnixNotfy.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | NotifierExitHandler(clientData) | ^ tclUnixNotfy.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | Tcl_SetTimer(timePtr) | ^ tclUnixNotfy.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | Tcl_CreateFileHandler(fd, mask, proc, clientData) | ^ tclUnixNotfy.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | Tcl_DeleteFileHandler(fd) | ^ tclUnixNotfy.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | FileHandlerEventProc(evPtr, flags) | ^ tclUnixNotfy.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | Tcl_WaitForEvent(timePtr) | ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclUnixTime.c In file included from tclUnixTime.c:16: In file included from ./tclPort.h:30: ./tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ tclUnixTime.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | TclpGetTime(timePtr) | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclUnixEvent.c In file included from tclUnixEvent.c:15: In file included from ./tclPort.h:30: ./tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ tclUnixEvent.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | Tcl_Sleep(ms) | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclPreserve.c tclPreserve.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | PreserveExitProc(clientData) | ^ tclPreserve.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | Tcl_Preserve(clientData) | ^ tclPreserve.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | Tcl_Release(clientData) | ^ tclPreserve.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | Tcl_EventuallyFree(clientData, freeProc) | ^ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclNotify.c In file included from tclNotify.c:19: In file included from ./tclPort.h:30: ./tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ tclNotify.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | NotifierExitHandler(clientData) | ^ tclNotify.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | Tcl_CreateEventSource(setupProc, checkProc, clientData) | ^ tclNotify.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | Tcl_DeleteEventSource(setupProc, checkProc, clientData) | ^ tclNotify.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | Tcl_QueueEvent(evPtr, position) | ^ tclNotify.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | Tcl_DeleteEvents(proc, clientData) | ^ tclNotify.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | Tcl_ServiceEvent(flags) | ^ tclNotify.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | Tcl_SetServiceMode(mode) | ^ tclNotify.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | Tcl_SetMaxBlockTime(timePtr) | ^ tclNotify.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | Tcl_DoOneEvent(flags) | ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -I/opt/pkg/include -c tclAsync.c tclAsync.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | Tcl_AsyncCreate(proc, clientData) | ^ tclAsync.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | Tcl_AsyncMark(async) | ^ tclAsync.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | Tcl_AsyncInvoke(interp, code) | ^ tclAsync.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | Tcl_AsyncDelete(async) | ^ 4 warnings generated. rm -f libevtcl.a ar q libevtcl.a tclEvent.o tclTimer.o tclUnixNotfy.o tclUnixTime.o tclUnixEvent.o tclPreserve.o tclNotify.o tclAsync.o ar: creating archive libevtcl.a ranlib libevtcl.a make Mp rm -f libgmp.a gmp.h (cd gmp-1.3.2; /opt/pkg/bin/bmake CC="clang" CFLAGS="-pipe -Os -I/opt/pkg/include ") rm -f stddef.h rm -f test-stddefh.c ( echo '#include ' ; echo 'main(){size_t foo=sizeof(size_t);exit(0);}' ; ) > test-stddefh.c rm -f test-stddefh.o touch stamp-stddefh clang -pipe -Os -I/opt/pkg/include cre-mparam.c -o cre-mparam cre-mparam.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | ulog2 (x) | ^ cre-mparam.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | main () | ^ | int cre-mparam.c:85:3: warning: call to undeclared function 'puts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | puts ("/* gmp-mparam.h -- Compiler/machine parameter header file."); | ^ cre-mparam.c:109:3: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | printf ("#define BITS_PER_MP_LIMB %d\n", bits_uli); | ^ cre-mparam.c:109:3: note: include the header or explicitly provide a declaration for 'printf' cre-mparam.c:110:45: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 110 | printf ("#define BYTES_PER_MP_LIMB %d\n", sizeof(mp_limb)); | ~~ ^~~~~~~~~~~~~~~ | %lu cre-mparam.c:117:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | exit (0); | ^ cre-mparam.c:117:3: note: include the header or explicitly provide a declaration for 'exit' 6 warnings generated. ./cre-mparam > tmp-gmp-mparam.h mv tmp-gmp-mparam.h gmp-mparam.h clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_init.c In file included from mpz_init.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_set.c In file included from mpz_set.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_set_ui.c In file included from mpz_set_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_set_si.c In file included from mpz_set_si.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_set_str.c In file included from mpz_set_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_iset.c In file included from mpz_iset.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_iset_ui.c In file included from mpz_iset_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_iset_si.c In file included from mpz_iset_si.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_iset_str.c In file included from mpz_iset_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_clear.c In file included from mpz_clear.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_get_ui.c In file included from mpz_get_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_get_si.c In file included from mpz_get_si.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_get_str.c In file included from mpz_get_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_size.c In file included from mpz_size.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_sizeinb.c In file included from mpz_sizeinb.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_add.c In file included from mpz_add.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_add_ui.c In file included from mpz_add_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_sub.c In file included from mpz_sub.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_sub_ui.c In file included from mpz_sub_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mul.c In file included from mpz_mul.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mul_ui.c In file included from mpz_mul_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_div.c In file included from mpz_div.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_div_ui.c In file included from mpz_div_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mod.c In file included from mpz_mod.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mod_ui.c In file included from mpz_mod_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_dm.c In file included from mpz_dm.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_dm_ui.c In file included from mpz_dm_ui.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mdiv.c In file included from mpz_mdiv.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mmod.c In file included from mpz_mmod.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mdm.c In file included from mpz_mdm.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mdiv_ui.c In file included from mpz_mdiv_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mmod_ui.c In file included from mpz_mmod_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mdm_ui.c In file included from mpz_mdm_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_gcd.c In file included from mpz_gcd.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_gcdext.c In file included from mpz_gcdext.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_sqrt.c In file included from mpz_sqrt.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_sqrtrem.c In file included from mpz_sqrtrem.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_powm.c In file included from mpz_powm.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_powm_ui.c In file included from mpz_powm_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_cmp.c In file included from mpz_cmp.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_cmp_ui.c In file included from mpz_cmp_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_cmp_si.c In file included from mpz_cmp_si.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mul_2exp.c In file included from mpz_mul_2exp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_div_2exp.c In file included from mpz_div_2exp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_mod_2exp.c In file included from mpz_mod_2exp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_abs.c In file included from mpz_abs.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_neg.c In file included from mpz_neg.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_com.c In file included from mpz_com.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_and.c In file included from mpz_and.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_ior.c In file included from mpz_ior.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_inp_raw.c In file included from mpz_inp_raw.c:25: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_inp_str.c In file included from mpz_inp_str.c:25: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mpz_inp_str.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | char_ok_for_base (c, base) | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_out_raw.c In file included from mpz_out_raw.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_out_str.c In file included from mpz_out_str.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_perfsqr.c In file included from mpz_perfsqr.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_random.c In file included from mpz_random.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_random2.c In file included from mpz_random2.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_pow_ui.c In file included from mpz_pow_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_clrbit.c In file included from mpz_clrbit.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_fac_ui.c In file included from mpz_fac_ui.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_pprime_p.c In file included from mpz_pprime_p.c:29: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mpz_pprime_p.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | possibly_prime (n, n_minus_1, x, y, q, k) | ^ mpz_pprime_p.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | mpz_probab_prime_p (m, reps) | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_init.c In file included from mpq_init.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_set.c In file included from mpq_set.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_set_ui.c In file included from mpq_set_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mpq_set_ui.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | gcd (x, y) | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_set_si.c In file included from mpq_set_si.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mpq_set_si.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | gcd (x, y) | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_set_num.c In file included from mpq_set_num.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_set_den.c In file included from mpq_set_den.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_get_num.c In file included from mpq_get_num.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_get_den.c In file included from mpq_get_den.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_add.c In file included from mpq_add.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_sub.c In file included from mpq_sub.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_mul.c In file included from mpq_mul.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_div.c In file included from mpq_div.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_clear.c In file included from mpq_clear.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_cmp.c In file included from mpq_cmp.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_inv.c In file included from mpq_inv.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpq_neg.c In file included from mpq_neg.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_add.c In file included from mpn_add.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_sub.c In file included from mpn_sub.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_cmp.c In file included from mpn_cmp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_mul.c In file included from mpn_mul.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_div.c In file included from mpn_div.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_dm_1.c In file included from mpn_dm_1.c:28: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_mod_1.c In file included from mpn_mod_1.c:27: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_lshift.c In file included from mpn_lshift.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_rshift.c In file included from mpn_rshift.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_rshiftci.c In file included from mpn_rshiftci.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpn_sqrt.c In file included from mpn_sqrt.c:38: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c memory.c In file included from memory.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mp_set_fns.c In file included from mp_set_fns.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c _mpz_set_str.c In file included from _mpz_set_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' _mpz_set_str.c:99:13: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | str_len = strlen (str); | ^ _mpz_set_str.c:99:13: note: include the header or explicitly provide a declaration for 'strlen' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c _mpz_get_str.c In file included from _mpz_get_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mpz_realloc.c In file included from mpz_realloc.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mp_clz_tab.c In file included from mp_clz_tab.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c alloca.c alloca.c:145:1: warning: incompatible redeclaration of library function 'alloca' [-Wincompatible-library-redeclaration] 145 | alloca (size) | ^ alloca.c:145:1: note: 'alloca' is a builtin with type 'void *(unsigned long)' alloca.c:168:4: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | free ((pointer) hp); /* Collect garbage. */ | ^ alloca.c:168:4: note: include the header or explicitly provide a declaration for 'free' alloca.c:184:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | register pointer new = (*_mp_allocate_func) (sizeof (header) + size); | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include `if [ x = x ]; then echo cre-conv-tab.c; else echo ; fi` -o cre-conv-tab -lm In file included from cre-conv-tab.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' cre-conv-tab.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | upow (b, e) | ^ cre-conv-tab.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | ulog2 (x) | ^ cre-conv-tab.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | main () | ^ | int cre-conv-tab.c:80:3: warning: call to undeclared function 'puts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | puts ("/* __mp_bases -- Structure for conversion between internal binary"); | ^ cre-conv-tab.c:135:7: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | printf (" /* %2u */ {%lu, 0x%lX, 0x%lX, %.8f},\n", | ^ cre-conv-tab.c:135:7: note: include the header or explicitly provide a declaration for 'printf' cre-conv-tab.c:140:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | exit (0); | ^ cre-conv-tab.c:140:3: note: include the header or explicitly provide a declaration for 'exit' 7 warnings generated. ./cre-conv-tab > tmp-mp_bases.c mv tmp-mp_bases.c mp_bases.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mp_bases.c In file included from mp_bases.c:27: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. rm -f libgmp.a ar cr libgmp.a mpz_init.o mpz_set.o mpz_set_ui.o mpz_set_si.o mpz_set_str.o mpz_iset.o mpz_iset_ui.o mpz_iset_si.o mpz_iset_str.o mpz_clear.o mpz_get_ui.o mpz_get_si.o mpz_get_str.o mpz_size.o mpz_sizeinb.o mpz_add.o mpz_add_ui.o mpz_sub.o mpz_sub_ui.o mpz_mul.o mpz_mul_ui.o mpz_div.o mpz_div_ui.o mpz_mod.o mpz_mod_ui.o mpz_dm.o mpz_dm_ui.o mpz_mdiv.o mpz_mmod.o mpz_mdm.o mpz_mdiv_ui.o mpz_mmod_ui.o mpz_mdm_ui.o mpz_gcd.o mpz_gcdext.o mpz_sqrt.o mpz_sqrtrem.o mpz_powm.o mpz_powm_ui.o mpz_cmp.o mpz_cmp_ui.o mpz_cmp_si.o mpz_mul_2exp.o mpz_div_2exp.o mpz_mod_2exp.o mpz_abs.o mpz_neg.o mpz_com.o mpz_and.o mpz_ior.o mpz_inp_raw.o mpz_inp_str.o mpz_out_raw.o mpz_out_str.o mpz_perfsqr.o mpz_random.o mpz_random2.o mpz_pow_ui.o mpz_clrbit.o mpz_fac_ui.o mpz_pprime_p.o mpq_init.o mpq_set.o mpq_set_ui.o mpq_set_si.o mpq_set_num.o mpq_set_den.o mpq_get_num.o mpq_get_den.o mpq_add.o mpq_sub.o mpq_mul.o mpq_div.o mpq_clear.o mpq_cmp.o mpq_inv.o mpq_neg.o mpn_add.o mpn_sub.o mpn_cmp.o mpn_mul.o mpn_div.o mpn_dm_1.o mpn_mod_1.o mpn_lshift.o mpn_rshift.o mpn_rshiftci.o mpn_sqrt.o memory.o mp_set_fns.o _mpz_set_str.o _mpz_get_str.o mpz_realloc.o mp_clz_tab.o alloca.o mp_bases.o `if [ -r /bin/ranlib -o -r /usr/bin/ranlib ]; then echo ranlib; else echo true; fi` libgmp.a clang -pipe -Os -I/opt/pkg/include -E -DBERKELEY_MP mpz_gcd.c | grep -v '^#' > gcd.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c gcd.c gcd.c:135:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 135 | volatile void abort (void); | ^ gcd.c:135:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c itom.c In file included from itom.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from itom.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -E -DBERKELEY_MP mpz_add.c | grep -v '^#' > madd.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c madd.c madd.c:135:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 135 | volatile void abort (void); | ^ madd.c:135:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -E -DBERKELEY_MP mpz_cmp.c | grep -v '^#' > mcmp.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mcmp.c mcmp.c:28:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 28 | void pow (const __MP_INT *, const __MP_INT *, const __MP_INT *, __MP_INT *); | ^ mcmp.c:28:6: note: 'pow' is a builtin with type 'double (double, double)' mcmp.c:156:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 156 | volatile void abort (void); | ^ mcmp.c:156:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mdiv.c In file included from mdiv.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from mdiv.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c move.c In file included from move.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from move.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -E -DBERKELEY_MP mpz_sub.c | grep -v '^#' > msub.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c msub.c msub.c:135:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 135 | volatile void abort (void); | ^ msub.c:135:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mtox.c In file included from mtox.c:22: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from mtox.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -E -DBERKELEY_MP mpz_mul.c | grep -v '^#' > mult.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mult.c mult.c:135:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 135 | volatile void abort (void); | ^ mult.c:135:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -E -DBERKELEY_MP mpz_powm.c | grep -v '^#' > pow.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c pow.c pow.c:135:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 135 | volatile void abort (void); | ^ pow.c:135:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' pow.c:191:1: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 191 | pow (const __MP_INT *base, const __MP_INT *exp, const __MP_INT *mod, __MP_INT *res) | ^ pow.c:191:1: note: 'pow' is a builtin with type 'double (double, double)' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -E -DBERKELEY_MP mpz_pow_ui.c | grep -v '^#' > rpow.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c rpow.c rpow.c:135:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 135 | volatile void abort (void); | ^ rpow.c:135:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c xtom.c In file included from xtom.c:22: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from xtom.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -E -DBERKELEY_MP mpz_sqrtrem.c | grep -v '^#' > msqrt.c clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c msqrt.c msqrt.c:135:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 135 | volatile void abort (void); | ^ msqrt.c:135:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c sdiv.c In file included from sdiv.c:22: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from sdiv.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mout.c In file included from mout.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from mout.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mout.c:40:3: warning: call to undeclared function 'puts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | puts (str); | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c min.c In file included from min.c:24: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from min.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c mfree.c In file included from mfree.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 72 | void pow (const MINT *, const MINT *, const MINT *, MINT *); | ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from mfree.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 30 | volatile void abort (void); | ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. rm -f libmp.a ar cr libmp.a gcd.o itom.o madd.o mcmp.o mdiv.o move.o msub.o mtox.o mult.o pow.o rpow.o xtom.o msqrt.o sdiv.o mout.o min.o mfree.o mpn_add.o mpn_sub.o mpn_cmp.o mpn_mul.o mpn_div.o mpn_dm_1.o mpn_mod_1.o mpn_lshift.o mpn_rshift.o mpn_rshiftci.o mpn_sqrt.o memory.o mp_set_fns.o _mpz_set_str.o _mpz_get_str.o mpz_realloc.o mp_clz_tab.o alloca.o mp_bases.o mpz_sizeinb.o `if [ -r /bin/ranlib -o -r /usr/bin/ranlib ]; then echo ranlib; else echo true; fi` libmp.a ln -s gmp-1.3.2/libgmp.a . ln -s gmp-1.3.2/gmp.h . make Stack clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include -c libstack.c /bin/rm -f libstack.a ar cqv libstack.a libstack.o q - libstack.o ranlib libstack.a warning: /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: libstack.a the table of contents is empty (no object file members in the library define global symbols) make Tk (cd unix; /opt/pkg/bin/bmake libtk.a) clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tk3d.c In file included from ./../generic/tk3d.c:16: In file included from ./../generic/tk3d.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tk3d.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | Tk_Get3DBorder(interp, tkwin, colorName) | ^ ./../generic/tk3d.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | Tk_Draw3DRectangle(tkwin, drawable, border, x, y, width, height, | ^ ./../generic/tk3d.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | Tk_NameOf3DBorder(border) | ^ ./../generic/tk3d.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | Tk_3DBorderColor(border) | ^ ./../generic/tk3d.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | Tk_3DBorderGC(tkwin, border, which) | ^ ./../generic/tk3d.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | Tk_Free3DBorder(border) | ^ ./../generic/tk3d.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | Tk_SetBackgroundFromBorder(tkwin, border) | ^ ./../generic/tk3d.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | Tk_GetRelief(interp, name, reliefPtr) | ^ ./../generic/tk3d.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | Tk_NameOfRelief(relief) | ^ ./../generic/tk3d.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | Tk_Draw3DPolygon(tkwin, drawable, border, pointPtr, numPoints, | ^ ./../generic/tk3d.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | Tk_Fill3DRectangle(tkwin, drawable, border, x, y, width, | ^ ./../generic/tk3d.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | Tk_Fill3DPolygon(tkwin, drawable, border, pointPtr, numPoints, | ^ ./../generic/tk3d.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | ShiftLine(p1Ptr, p2Ptr, distance, p3Ptr) | ^ ./../generic/tk3d.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | Intersect(a1Ptr, a2Ptr, b1Ptr, b2Ptr, iPtr) | ^ 15 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkArgv.c In file included from ./../generic/tkArgv.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkArgv.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | Tk_ParseArgv(interp, tkwin, argcPtr, argv, argTable, flags) | ^ ./../generic/tkArgv.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | PrintUsage(interp, argTable, flags) | ^ 3 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkAtom.c In file included from ./../generic/tkAtom.c:19: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkAtom.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | Tk_InternAtom(tkwin, name) | ^ ./../generic/tkAtom.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | Tk_GetAtomName(tkwin, atom) | ^ ./../generic/tkAtom.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | AtomInit(dispPtr) | ^ 4 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkBind.c In file included from ./../generic/tkBind.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkBind.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | TkBindInit(mainPtr) | ^ ./../generic/tkBind.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | TkBindFree(mainPtr) | ^ ./../generic/tkBind.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | Tk_CreateBindingTable(interp) | ^ ./../generic/tkBind.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | Tk_DeleteBindingTable(bindingTable) | ^ ./../generic/tkBind.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | Tk_CreateBinding(interp, bindingTable, object, eventString, command, key1, key3) | ^ ./../generic/tkBind.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | TkCreateBindingProcedure(interp, bindingTable, object, eventString, | ^ ./../generic/tkBind.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | Tk_DeleteBinding(interp, bindingTable, object, eventString) | ^ ./../generic/tkBind.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | Tk_GetBinding(interp, bindingTable, object, eventString) | ^ ./../generic/tkBind.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | Tk_GetAllBindings(interp, bindingTable, object) | ^ ./../generic/tkBind.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | Tk_DeleteAllBindings(bindingTable, object) | ^ ./../generic/tkBind.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | Tk_BindEvent(bindingTable, eventPtr, tkwin, numObjects, objectPtr) | ^ ./../generic/tkBind.c:1879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1879 | TkBindDeadWindow(winPtr) | ^ ./../generic/tkBind.c:1931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1931 | MatchPatterns(dispPtr, bindPtr, psPtr, bestPtr, objectPtr, sourcePtrPtr) | ^ ./../generic/tkBind.c:2260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | ExpandPercents(winPtr, before, eventPtr, keySym, dsPtr) | ^ ./../generic/tkBind.c:2665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2665 | ChangeScreen(interp, dispName, screenIndex) | ^ ./../generic/tkBind.c:2721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2721 | Tk_EventCmd(clientData, interp, argc, argv) | ^ ./../generic/tkBind.c:2824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2824 | InitVirtualEventTable(vetPtr) | ^ ./../generic/tkBind.c:2851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2851 | DeleteVirtualEventTable(vetPtr) | ^ ./../generic/tkBind.c:2899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2899 | CreateVirtualEvent(interp, vetPtr, virtString, eventString) | ^ ./../generic/tkBind.c:3006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3006 | DeleteVirtualEvent(interp, vetPtr, virtString, eventString) | ^ ./../generic/tkBind.c:3162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3162 | GetVirtualEvent(interp, vetPtr, virtString) | ^ ./../generic/tkBind.c:3223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3223 | GetAllVirtualEvents(interp, vetPtr) | ^ ./../generic/tkBind.c:3289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3289 | HandleEventGenerate(interp, mainwin, argc, argv) | ^ ./../generic/tkBind.c:3368:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 3368 | if (XKeycodeToKeysym(event.xany.display, | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ ./../generic/tkBind.c:3529:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 3529 | if (XKeycodeToKeysym(event.xany.display, (unsigned) number, | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ ./../generic/tkBind.c:3787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3787 | GetVirtualEventUid(interp, virtString) | ^ ./../generic/tkBind.c:3837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3837 | FindSequence(interp, patternTablePtr, object, eventString, create, | ^ ./../generic/tkBind.c:4008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4008 | ParseEventDescription(interp, eventStringPtr, patPtr, | ^ ./../generic/tkBind.c:4233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4233 | GetField(p, copy, size) | ^ ./../generic/tkBind.c:4268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4268 | GetPatternString(psPtr, dsPtr) | ^ ./../generic/tkBind.c:4408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4408 | GetKeySym(dispPtr, eventPtr) | ^ ./../generic/tkBind.c:4439:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 4439 | sym = XKeycodeToKeysym(dispPtr->display, eventPtr->xkey.keycode, index); | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ ./../generic/tkBind.c:4454:12: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 4454 | sym = XKeycodeToKeysym(dispPtr->display, eventPtr->xkey.keycode, | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ ./../generic/tkBind.c:4465:8: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 4465 | sym = XKeycodeToKeysym(dispPtr->display, eventPtr->xkey.keycode, | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ ./../generic/tkBind.c:4491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4491 | InitKeymapInfo(dispPtr) | ^ ./../generic/tkBind.c:4516:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 4516 | keysym = XKeycodeToKeysym(dispPtr->display, *codePtr, 0); | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ ./../generic/tkBind.c:4542:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 4542 | keysym = XKeycodeToKeysym(dispPtr->display, *codePtr, 0); | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ ./../generic/tkBind.c:4620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4620 | FreeTclBinding(clientData) | ^ ./../generic/tkBind.c:4652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4652 | TkStringToKeysym(name) | ^ ./../generic/tkBind.c:4692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4692 | TkKeysymToString(keysym) | ^ ./../generic/tkBind.c:4726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4726 | TkCopyAndGlobalEval(interp, script) | ^ 42 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkBitmap.c In file included from ./../generic/tkBitmap.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkBitmap.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | Tk_GetBitmap(interp, tkwin, string) | ^ ./../generic/tkBitmap.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | Tk_DefineBitmap(interp, name, source, width, height) | ^ ./../generic/tkBitmap.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | Tk_NameOfBitmap(display, bitmap) | ^ ./../generic/tkBitmap.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | Tk_SizeOfBitmap(display, bitmap, widthPtr, heightPtr) | ^ ./../generic/tkBitmap.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | Tk_FreeBitmap(display, bitmap) | ^ ./../generic/tkBitmap.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | Tk_GetBitmapFromData(interp, tkwin, source, width, height) | ^ ./../generic/tkBitmap.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | TkReadBitmapFile(display, d, filename, width_return, height_return, | ^ 8 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkClipboard.c In file included from ./../generic/tkClipboard.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkClipboard.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | ClipboardHandler(clientData, offset, buffer, maxBytes) | ^ ./../generic/tkClipboard.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | ClipboardAppHandler(clientData, offset, buffer, maxBytes) | ^ ./../generic/tkClipboard.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | ClipboardWindowHandler(clientData, offset, buffer, maxBytes) | ^ ./../generic/tkClipboard.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | ClipboardLostSel(clientData) | ^ ./../generic/tkClipboard.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | Tk_ClipboardClear(interp, tkwin) | ^ ./../generic/tkClipboard.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | Tk_ClipboardAppend(interp, tkwin, type, format, buffer) | ^ ./../generic/tkClipboard.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | Tk_ClipboardCmd(clientData, interp, argc, argv) | ^ ./../generic/tkClipboard.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | TkClipInit(interp, dispPtr) | ^ 9 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCmds.c In file included from ./../generic/tkCmds.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCmds.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | Tk_BellCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCmds.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | Tk_BindCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCmds.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | TkBindEventProc(winPtr, eventPtr) | ^ ./../generic/tkCmds.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | Tk_BindtagsCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCmds.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | TkFreeBindingTags(winPtr) | ^ ./../generic/tkCmds.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | Tk_DestroyCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCmds.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | Tk_LowerCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCmds.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | Tk_RaiseCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCmds.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | Tk_TkObjCmd(clientData, interp, objc, objv) | ^ ./../generic/tkCmds.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | Tk_TkwaitCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCmds.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | WaitVariableProc(clientData, interp, name1, name2, flags) | ^ ./../generic/tkCmds.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | WaitVisibilityProc(clientData, eventPtr) | ^ ./../generic/tkCmds.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | WaitWindowProc(clientData, eventPtr) | ^ ./../generic/tkCmds.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | Tk_UpdateCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCmds.c:976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | Tk_WinfoObjCmd(clientData, interp, objc, objv) | ^ ./../generic/tkCmds.c:1746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1746 | TkGetDisplayOf(interp, objc, objv, tkwinPtr) | ^ ./../generic/tkCmds.c:1806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | TkDeadAppCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCmds.c:1836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | GetToplevel(tkwin) | ^ 19 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkColor.c In file included from ./../generic/tkColor.c:17: In file included from ./../generic/tkColor.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkColor.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | Tk_GetColor(interp, tkwin, name) | ^ ./../generic/tkColor.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | Tk_GetColorByValue(tkwin, colorPtr) | ^ ./../generic/tkColor.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | Tk_NameOfColor(colorPtr) | ^ ./../generic/tkColor.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | Tk_GCForColor(colorPtr, drawable) | ^ ./../generic/tkColor.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | Tk_FreeColor(colorPtr) | ^ 6 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkConfig.c In file included from ./../generic/tkConfig.c:15: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkConfig.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | Tk_Menu_ConfigureWidget(interp, addr, tkwin, specs, argc, argv, widgRec, flags) | ^ ./../generic/tkConfig.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | Tk_ConfigureWidget(interp, tkwin, specs, argc, argv, widgRec, flags) | ^ ./../generic/tkConfig.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | FindConfigSpec(interp, specs, argvName, needFlags, hateFlags) | ^ ./../generic/tkConfig.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | DoConfig(interp, tkwin, specPtr, value, valueIsUid, widgRec) | ^ ./../generic/tkConfig.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | Tk_ConfigureInfo(interp, tkwin, specs, widgRec, argvName, flags) | ^ ./../generic/tkConfig.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | FormatConfigInfo(interp, tkwin, specPtr, widgRec) | ^ ./../generic/tkConfig.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | FormatConfigValue(interp, tkwin, specPtr, widgRec, buffer, freeProcPtr) | ^ ./../generic/tkConfig.c:1225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | Tk_ConfigureValue(interp, tkwin, specs, widgRec, argvName, flags) | ^ ./../generic/tkConfig.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | Tk_FreeOptions(specs, widgRec, display, needFlags) | ^ 10 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCursor.c In file included from ./../generic/tkCursor.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCursor.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | Tk_GetCursor(interp, tkwin, string) | ^ ./../generic/tkCursor.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | Tk_GetCursorFromData(interp, tkwin, source, mask, width, height, | ^ ./../generic/tkCursor.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | Tk_NameOfCursor(display, cursor) | ^ ./../generic/tkCursor.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | Tk_FreeCursor(display, cursor) | ^ 5 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkError.c In file included from ./../generic/tkError.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkError.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | Tk_CreateErrorHandler(display, error, request, minorCode, errorProc, clientData) | ^ ./../generic/tkError.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | Tk_DeleteErrorHandler(handler) | ^ ./../generic/tkError.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | ErrorProc(display, errEventPtr) | ^ 4 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkEvent.c In file included from ./../generic/tkEvent.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkEvent.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | Tk_CreateEventHandler(token, mask, proc, clientData) | ^ ./../generic/tkEvent.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | Tk_DeleteEventHandler(token, mask, proc, clientData) | ^ ./../generic/tkEvent.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | Tk_CreateGenericHandler(proc, clientData) | ^ ./../generic/tkEvent.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | Tk_DeleteGenericHandler(proc, clientData) | ^ ./../generic/tkEvent.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | Tk_HandleEvent(eventPtr) | ^ ./../generic/tkEvent.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | TkEventDeadWindow(winPtr) | ^ ./../generic/tkEvent.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | TkCurrentTime(dispPtr) | ^ ./../generic/tkEvent.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | Tk_QueueWindowEvent(eventPtr, position) | ^ ./../generic/tkEvent.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | TkQueueEventForAllChildren(winPtr, eventPtr) | ^ ./../generic/tkEvent.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | WindowEventProc(evPtr, flags) | ^ ./../generic/tkEvent.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | DelayedMotionProc(clientData) | ^ 12 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkFocus.c In file included from ./../generic/tkFocus.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkFocus.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | Tk_FocusCmd(clientData, interp, argc, argv) | ^ ./../generic/tkFocus.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | TkFocusFilterEvent(winPtr, eventPtr) | ^ ./../generic/tkFocus.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | SetFocus(winPtr, force) | ^ ./../generic/tkFocus.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | TkGetFocusWin(winPtr) | ^ ./../generic/tkFocus.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | TkFocusKeyEvent(winPtr, eventPtr) | ^ ./../generic/tkFocus.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | TkFocusDeadWindow(winPtr) | ^ ./../generic/tkFocus.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | GenerateFocusEvents(sourcePtr, destPtr) | ^ ./../generic/tkFocus.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | FocusMapProc(clientData, eventPtr) | ^ ./../generic/tkFocus.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | FindDisplayFocusInfo(mainPtr, dispPtr) | ^ 10 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkFont.c In file included from ./../generic/tkFont.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkFont.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | TkFontPkgInit(mainPtr) | ^ ./../generic/tkFont.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | TkFontPkgFree(mainPtr) | ^ ./../generic/tkFont.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | Tk_FontObjCmd(clientData, interp, objc, objv) | ^ ./../generic/tkFont.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | UpdateDependantFonts(fiPtr, tkwin, namedHashPtr) | ^ ./../generic/tkFont.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | TheWorldHasChanged(clientData) | ^ ./../generic/tkFont.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | RecomputeWidgets(winPtr) | ^ ./../generic/tkFont.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | TkCreateNamedFont(interp, tkwin, name, faPtr) | ^ ./../generic/tkFont.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | Tk_GetFont(interp, tkwin, string) | ^ ./../generic/tkFont.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | Tk_GetFontFromObj(interp, tkwin, objPtr) | ^ ./../generic/tkFont.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | Tk_NameOfFont(tkfont) | ^ ./../generic/tkFont.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | Tk_FreeFont(tkfont) | ^ ./../generic/tkFont.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | Tk_FontId(tkfont) | ^ ./../generic/tkFont.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | Tk_GetFontMetrics(tkfont, fmPtr) | ^ ./../generic/tkFont.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | Tk_PostscriptFontName(tkfont, dsPtr) | ^ ./../generic/tkFont.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | Tk_TextWidth(tkfont, string, numChars) | ^ ./../generic/tkFont.c:1360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | Tk_UnderlineChars(display, drawable, gc, tkfont, string, x, y, firstChar, | ^ ./../generic/tkFont.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1422 | Tk_ComputeTextLayout(tkfont, string, numChars, wrapLength, justify, flags, | ^ ./../generic/tkFont.c:1717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1717 | Tk_FreeTextLayout(textLayout) | ^ ./../generic/tkFont.c:1750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1750 | Tk_DrawTextLayout(display, drawable, gc, layout, x, y, firstChar, lastChar) | ^ ./../generic/tkFont.c:1829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1829 | Tk_UnderlineTextLayout(display, drawable, gc, layout, x, y, underline) | ^ ./../generic/tkFont.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | Tk_PointToChar(layout, x, y) | ^ ./../generic/tkFont.c:2028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | Tk_CharBbox(layout, index, xPtr, yPtr, widthPtr, heightPtr) | ^ ./../generic/tkFont.c:2141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | Tk_DistanceToTextLayout(layout, x, y) | ^ ./../generic/tkFont.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2225 | Tk_IntersectTextLayout(layout, x, y, width, height) | ^ ./../generic/tkFont.c:2335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2335 | Tk_TextLayoutToPostscript(interp, layout) | ^ ./../generic/tkFont.c:2424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2424 | TkInitFontAttributes(faPtr) | ^ ./../generic/tkFont.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | ConfigAttributesObj(interp, tkwin, objc, objv, faPtr) | ^ ./../generic/tkFont.c:2559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2559 | GetAttributeInfoObj(interp, faPtr, objPtr) | ^ ./../generic/tkFont.c:2689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2689 | ParseFontNameObj(interp, tkwin, objPtr, faPtr) | ^ ./../generic/tkFont.c:2824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2824 | TkParseXLFD(string, xaPtr) | ^ ./../generic/tkFont.c:3007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3007 | FieldSpecified(field) | ^ ./../generic/tkFont.c:3045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3045 | NewChunk(layoutPtrPtr, maxPtr, start, numChars, curX, newX, y) | ^ 33 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGet.c In file included from ./../generic/tkGet.c:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkGet.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | Tk_GetAnchor(interp, string, anchorPtr) | ^ ./../generic/tkGet.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | Tk_NameOfAnchor(anchor) | ^ ./../generic/tkGet.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | Tk_GetJoinStyle(interp, string, joinPtr) | ^ ./../generic/tkGet.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Tk_NameOfJoinStyle(join) | ^ ./../generic/tkGet.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | Tk_GetCapStyle(interp, string, capPtr) | ^ ./../generic/tkGet.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | Tk_NameOfCapStyle(cap) | ^ ./../generic/tkGet.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | Tk_GetJustify(interp, string, justifyPtr) | ^ ./../generic/tkGet.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | Tk_NameOfJustify(justify) | ^ ./../generic/tkGet.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | Tk_GetUid(string) | ^ ./../generic/tkGet.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | Tk_GetScreenMM(interp, tkwin, string, doublePtr) | ^ ./../generic/tkGet.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | Tk_GetPixels(interp, tkwin, string, intPtr) | ^ 12 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGC.c In file included from ./../generic/tkGC.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkGC.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | Tk_GetGC(tkwin, valueMask, valuePtr) | ^ ./../generic/tkGC.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | Tk_FreeGC(display, gc) | ^ 3 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGeometry.c In file included from ./../generic/tkGeometry.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkGeometry.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | Tk_ManageGeometry(tkwin, mgrPtr, clientData) | ^ ./../generic/tkGeometry.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | Tk_GeometryRequest(tkwin, reqWidth, reqHeight) | ^ ./../generic/tkGeometry.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | Tk_SetInternalBorder(tkwin, width) | ^ ./../generic/tkGeometry.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | Tk_MaintainGeometry(slave, master, x, y, width, height) | ^ ./../generic/tkGeometry.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | Tk_UnmaintainGeometry(slave, master) | ^ ./../generic/tkGeometry.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | MaintainMasterProc(clientData, eventPtr) | ^ ./../generic/tkGeometry.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | MaintainSlaveProc(clientData, eventPtr) | ^ ./../generic/tkGeometry.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | MaintainCheckProc(clientData) | ^ 9 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGrab.c In file included from ./../generic/tkGrab.c:15: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkGrab.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | Tk_GrabCmd(clientData, interp, argc, argv) | ^ ./../generic/tkGrab.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | Tk_Grab(interp, tkwin, grabGlobal) | ^ ./../generic/tkGrab.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | Tk_Ungrab(tkwin) | ^ ./../generic/tkGrab.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | ReleaseButtonGrab(dispPtr) | ^ ./../generic/tkGrab.c:680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | TkPointerEvent(eventPtr, winPtr) | ^ ./../generic/tkGrab.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | TkChangeEventWindow(eventPtr, winPtr) | ^ ./../generic/tkGrab.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | TkInOutEvents(eventPtr, sourcePtr, destPtr, leaveType, enterType, position) | ^ ./../generic/tkGrab.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | MovePointer2(sourcePtr, destPtr, mode, leaveEvents, enterEvents) | ^ ./../generic/tkGrab.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | TkGrabDeadWindow(winPtr) | ^ ./../generic/tkGrab.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | EatGrabEvents(dispPtr, serial) | ^ ./../generic/tkGrab.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | GrabRestrictProc(arg, eventPtr) | ^ ./../generic/tkGrab.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | QueueGrabWindowChange(dispPtr, grabWinPtr) | ^ ./../generic/tkGrab.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | GrabWinEventProc(evPtr, flags) | ^ ./../generic/tkGrab.c:1413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | FindCommonAncestor(winPtr1, winPtr2, countPtr1, countPtr2) | ^ ./../generic/tkGrab.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | TkPositionInTree(winPtr, treePtr) | ^ ./../generic/tkGrab.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | TkGrabState(winPtr) | ^ 17 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGrid.c In file included from ./../generic/tkGrid.c:14: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkGrid.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | Tk_GridCmd(clientData, interp, argc, argv) | ^ ./../generic/tkGrid.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | GridReqProc(clientData, tkwin) | ^ ./../generic/tkGrid.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | GridLostSlaveProc(clientData, tkwin) | ^ ./../generic/tkGrid.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | AdjustOffsets(size, slots, slotPtr) | ^ ./../generic/tkGrid.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | AdjustForSticky(slavePtr, xPtr, yPtr, widthPtr, heightPtr) | ^ ./../generic/tkGrid.c:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | ArrangeGrid(clientData) | ^ ./../generic/tkGrid.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | ResolveConstraints(masterPtr, slotType, maxOffset) | ^ ./../generic/tkGrid.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1751 | GetGrid(tkwin) | ^ ./../generic/tkGrid.c:1819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | SetGridSize(masterPtr) | ^ ./../generic/tkGrid.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | CheckSlotData(masterPtr, slot, slotType, checkOnly) | ^ ./../generic/tkGrid.c:1942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1942 | InitMasterData(masterPtr) | ^ ./../generic/tkGrid.c:1985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1985 | Unlink(slavePtr) | ^ ./../generic/tkGrid.c:2046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2046 | DestroyGrid(memPtr) | ^ ./../generic/tkGrid.c:2083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2083 | GridStructureProc(clientData, eventPtr) | ^ ./../generic/tkGrid.c:2160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2160 | ConfigureSlaves(interp, tkwin, argc, argv) | ^ ./../generic/tkGrid.c:2596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2596 | StickyToString(flags, result) | ^ ./../generic/tkGrid.c:2647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2647 | StringToSticky(string) | ^ 18 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkOption.c In file included from ./../generic/tkOption.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkOption.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | Tk_AddOption(tkwin, name, value, priority) | ^ ./../generic/tkOption.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | Tk_GetOption(tkwin, name, className) | ^ ./../generic/tkOption.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | Tk_OptionCmd(clientData, interp, argc, argv) | ^ ./../generic/tkOption.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | TkOptionDeadWindow(winPtr) | ^ ./../generic/tkOption.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | TkOptionClassChanged(winPtr) | ^ ./../generic/tkOption.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | ParsePriority(interp, string) | ^ ./../generic/tkOption.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | AddFromString(interp, tkwin, string, priority) | ^ ./../generic/tkOption.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | ReadOptionFile(interp, tkwin, fileName, priority) | ^ ./../generic/tkOption.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | NewArray(numEls) | ^ ./../generic/tkOption.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | ExtendArray(arrayPtr, elPtr) | ^ ./../generic/tkOption.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | SetupStacks(winPtr, leaf) | ^ ./../generic/tkOption.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | ExtendStacks(arrayPtr, leaf) | ^ ./../generic/tkOption.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | OptionInit(mainPtr) | ^ ./../generic/tkOption.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | ClearOptionTree(arrayPtr) | ^ ./../generic/tkOption.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | GetDefaultOptions(interp, winPtr) | ^ 16 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkPack.c In file included from ./../generic/tkPack.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkPack.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | Tk_PackCmd(clientData, interp, argc, argv) | ^ ./../generic/tkPack.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | PackReqProc(clientData, tkwin) | ^ ./../generic/tkPack.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | PackLostSlaveProc(clientData, tkwin) | ^ ./../generic/tkPack.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | ArrangePacking(clientData) | ^ ./../generic/tkPack.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | XExpansion(slavePtr, cavityWidth) | ^ ./../generic/tkPack.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | YExpansion(slavePtr, cavityHeight) | ^ ./../generic/tkPack.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | GetPacker(tkwin) | ^ ./../generic/tkPack.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | PackAfter(interp, prevPtr, masterPtr, argc, argv) | ^ ./../generic/tkPack.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | Unlink(packPtr) | ^ ./../generic/tkPack.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | DestroyPacker(memPtr) | ^ ./../generic/tkPack.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | PackStructureProc(clientData, eventPtr) | ^ ./../generic/tkPack.c:1456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | ConfigureSlaves(interp, tkwin, argc, argv) | ^ 13 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkPlace.c In file included from ./../generic/tkPlace.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkPlace.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | Tk_PlaceCmd(clientData, interp, argc, argv) | ^ ./../generic/tkPlace.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | FindSlave(tkwin) | ^ ./../generic/tkPlace.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | UnlinkSlave(slavePtr) | ^ ./../generic/tkPlace.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | FindMaster(tkwin) | ^ ./../generic/tkPlace.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | ConfigureSlave(interp, slavePtr, argc, argv) | ^ ./../generic/tkPlace.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | RecomputePlacement(clientData) | ^ ./../generic/tkPlace.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | MasterStructureProc(clientData, eventPtr) | ^ ./../generic/tkPlace.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | SlaveStructureProc(clientData, eventPtr) | ^ ./../generic/tkPlace.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | PlaceRequestProc(clientData, tkwin) | ^ ./../generic/tkPlace.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | PlaceLostSlaveProc(clientData, tkwin) | ^ 11 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkSelect.c In file included from ./../generic/tkSelect.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkSelect.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | Tk_CreateSelHandler(tkwin, selection, target, proc, clientData, format) | ^ ./../generic/tkSelect.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Tk_DeleteSelHandler(tkwin, selection, target) | ^ ./../generic/tkSelect.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | Tk_OwnSelection(tkwin, selection, proc, clientData) | ^ ./../generic/tkSelect.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | Tk_ClearSelection(tkwin, selection) | ^ ./../generic/tkSelect.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | Tk_GetSelection(interp, tkwin, selection, target, proc, clientData) | ^ ./../generic/tkSelect.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | Tk_SelectionCmd(clientData, interp, argc, argv) | ^ ./../generic/tkSelect.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | TkSelDeadWindow(winPtr) | ^ ./../generic/tkSelect.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | TkSelInit(tkwin) | ^ ./../generic/tkSelect.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | TkSelClearSelection(tkwin, eventPtr) | ^ ./../generic/tkSelect.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | SelGetProc(clientData, interp, portion) | ^ ./../generic/tkSelect.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | HandleTclCommand(clientData, offset, buffer, maxBytes) | ^ ./../generic/tkSelect.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | TkSelDefaultSelection(infoPtr, target, buffer, maxBytes, typePtr) | ^ ./../generic/tkSelect.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | LostSelection(clientData) | ^ 14 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkUtil.c In file included from ./../generic/tkUtil.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkUtil.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | TkDrawInsetFocusHighlight(tkwin, gc, width, drawable, padding) | ^ ./../generic/tkUtil.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | Tk_DrawFocusHighlight(tkwin, gc, width, drawable) | ^ ./../generic/tkUtil.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | Tk_GetScrollInfo(interp, argc, argv, dblPtr, intPtr) | ^ ./../generic/tkUtil.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | TkComputeAnchor(anchor, tkwin, padX, padY, innerWidth, innerHeight, xPtr, yPtr) | ^ ./../generic/tkUtil.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | TkFindStateString(mapPtr, numKey) | ^ ./../generic/tkUtil.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | TkFindStateNum(interp, field, mapPtr, strKey) | ^ 7 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkVisual.c In file included from ./../generic/tkVisual.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkVisual.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | Tk_GetVisual(interp, tkwin, string, depthPtr, colormapPtr) | ^ ./../generic/tkVisual.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | Tk_GetColormap(interp, tkwin, string) | ^ ./../generic/tkVisual.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | Tk_FreeColormap(display, colormap) | ^ ./../generic/tkVisual.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | Tk_PreserveColormap(display, colormap) | ^ 5 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkWindow.c In file included from ./../generic/tkWindow.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkWindow.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | CreateTopLevelWindow(interp, parent, name, screenName) | ^ ./../generic/tkWindow.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | GetScreen(interp, screenName, screenPtr) | ^ ./../generic/tkWindow.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | TkGetDisplay(display) | ^ ./../generic/tkWindow.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | TkAllocWindow(dispPtr, screenNum, parentPtr) | ^ ./../generic/tkWindow.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | NameWindow(interp, winPtr, parentPtr, name) | ^ ./../generic/tkWindow.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | TkCreateMainWindow(interp, screenName, baseName) | ^ ./../generic/tkWindow.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | Tk_CreateWindow(interp, parent, name, screenName) | ^ ./../generic/tkWindow.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | Tk_CreateWindowFromPath(interp, tkwin, pathName, screenName) | ^ ./../generic/tkWindow.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | Tk_DestroyWindow(tkwin) | ^ ./../generic/tkWindow.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | Tk_MapWindow(tkwin) | ^ ./../generic/tkWindow.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | Tk_MakeWindowExist(tkwin) | ^ ./../generic/tkWindow.c:1522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1522 | Tk_UnmapWindow(tkwin) | ^ ./../generic/tkWindow.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | Tk_ConfigureWindow(tkwin, valueMask, valuePtr) | ^ ./../generic/tkWindow.c:1594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1594 | Tk_MoveWindow(tkwin, x, y) | ^ ./../generic/tkWindow.c:1613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | Tk_ResizeWindow(tkwin, width, height) | ^ ./../generic/tkWindow.c:1632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | Tk_MoveResizeWindow(tkwin, x, y, width, height) | ^ ./../generic/tkWindow.c:1655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | Tk_SetWindowBorderWidth(tkwin, width) | ^ ./../generic/tkWindow.c:1673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1673 | Tk_ChangeWindowAttributes(tkwin, valueMask, attsPtr) | ^ ./../generic/tkWindow.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | Tk_SetWindowBackground(tkwin, pixel) | ^ ./../generic/tkWindow.c:1757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1757 | Tk_SetWindowBackgroundPixmap(tkwin, pixmap) | ^ ./../generic/tkWindow.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | Tk_SetWindowBorder(tkwin, pixel) | ^ ./../generic/tkWindow.c:1794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | Tk_SetWindowBorderPixmap(tkwin, pixmap) | ^ ./../generic/tkWindow.c:1813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1813 | Tk_DefineCursor(tkwin, cursor) | ^ ./../generic/tkWindow.c:1833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1833 | Tk_UndefineCursor(tkwin) | ^ ./../generic/tkWindow.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1840 | Tk_SetWindowColormap(tkwin, colormap) | ^ ./../generic/tkWindow.c:1880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1880 | Tk_SetWindowVisual(tkwin, visual, depth, colormap) | ^ ./../generic/tkWindow.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | TkDoConfigureNotify(winPtr) | ^ ./../generic/tkWindow.c:1972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1972 | Tk_SetClass(tkwin, className) | ^ ./../generic/tkWindow.c:2004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2004 | TkSetClassProcs(tkwin, procs, instanceData) | ^ ./../generic/tkWindow.c:2036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2036 | Tk_NameToWindow(interp, pathName, tkwin) | ^ ./../generic/tkWindow.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | Tk_IdToWindow(display, window) | ^ ./../generic/tkWindow.c:2116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2116 | Tk_DisplayName(tkwin) | ^ ./../generic/tkWindow.c:2140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2140 | UnlinkWindow(winPtr) | ^ ./../generic/tkWindow.c:2187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2187 | Tk_RestackWindow(tkwin, aboveBelow, other) | ^ ./../generic/tkWindow.c:2317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | Tk_MainWindow(interp) | ^ ./../generic/tkWindow.c:2355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2355 | Tk_StrictMotif(tkwin) | ^ ./../generic/tkWindow.c:2382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2382 | OpenIM(dispPtr) | ^ ./../generic/tkWindow.c:2462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2462 | DeleteWindowsExitProc(clientData) | ^ 39 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnix.c In file included from ./tkUnix.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnix.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | TkGetServerInfo(interp, tkwin) | ^ ./tkUnix.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | TkGetDefaultScreenName(interp, screenName) | ^ 3 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnix3d.c In file included from ./tkUnix3d.c:15: In file included from ./../generic/tk3d.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnix3d.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | TkpFreeBorder(borderPtr) | ^ ./tkUnix3d.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | Tk_3DVerticalBevel(tkwin, drawable, border, x, y, width, height, | ^ ./tkUnix3d.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | Tk_3DHorizontalBevel(tkwin, drawable, border, x, y, width, height, | ^ ./tkUnix3d.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | TkpGetShadows(borderPtr, tkwin) | ^ 5 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixButton.c In file included from ./tkUnixButton.c:15: In file included from ./../generic/tkButton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixButton.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | TkpCreateButton(tkwin) | ^ ./tkUnixButton.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | TkpDisplayButton(clientData) | ^ ./tkUnixButton.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | TkpComputeButtonGeometry(butPtr) | ^ 4 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixColor.c In file included from ./tkUnixColor.c:15: In file included from ./../generic/tkColor.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixColor.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | TkpFreeColor(tkColPtr) | ^ ./tkUnixColor.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | TkpGetColor(tkwin, name) | ^ ./tkUnixColor.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | TkpGetColorByValue(tkwin, colorPtr) | ^ ./tkUnixColor.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | FindClosestColor(tkwin, desiredColorPtr, actualColorPtr) | ^ ./tkUnixColor.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | DeleteStressedCmap(display, colormap) | ^ ./tkUnixColor.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | TkpCmapStressed(tkwin, colormap) | ^ 7 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixCursor.c In file included from ./tkUnixCursor.c:14: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixCursor.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | TkGetCursorByName(interp, tkwin, string) | ^ ./tkUnixCursor.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | TkCreateCursorFromData(tkwin, source, mask, width, height, xHot, yHot, | ^ ./tkUnixCursor.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | TkFreeCursor(cursorPtr) | ^ 4 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixDraw.c In file included from ./tkUnixDraw.c:14: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixDraw.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | TkScrollWindow(tkwin, gc, x, y, width, height, dx, dy, damageRgn) | ^ ./tkUnixDraw.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | ScrollRestrictProc(arg, eventPtr) | ^ 3 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixEmbed.c In file included from ./tkUnixEmbed.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixEmbed.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | TkpUseWindow(interp, tkwin, string) | ^ ./tkUnixEmbed.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | TkpMakeWindow(winPtr, parent) | ^ ./tkUnixEmbed.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | TkpMakeContainer(tkwin) | ^ ./tkUnixEmbed.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | EmbedErrorProc(clientData, errEventPtr) | ^ ./tkUnixEmbed.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | EmbeddedEventProc(clientData, eventPtr) | ^ ./tkUnixEmbed.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | ContainerEventProc(clientData, eventPtr) | ^ ./tkUnixEmbed.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | EmbedStructureProc(clientData, eventPtr) | ^ ./tkUnixEmbed.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | EmbedFocusProc(clientData, eventPtr) | ^ ./tkUnixEmbed.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | EmbedGeometryRequest(containerPtr, width, height) | ^ ./tkUnixEmbed.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | EmbedSendConfigure(containerPtr) | ^ ./tkUnixEmbed.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | TkpGetOtherWindow(winPtr) | ^ ./tkUnixEmbed.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | TkpRedirectKeyEvent(winPtr, eventPtr) | ^ ./tkUnixEmbed.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | TkpClaimFocus(topLevelPtr, force) | ^ ./tkUnixEmbed.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | TkpTestembedCmd(clientData, interp, argc, argv) | ^ ./tkUnixEmbed.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | EmbedWindowDeleted(winPtr) | ^ ./tkUnixEmbed.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | TkUnixContainerId(winPtr) | ^ 17 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixEvent.c In file included from ./tkUnixEvent.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixEvent.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | DisplayExitHandler(clientData) | ^ ./tkUnixEvent.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | TkpOpenDisplay(display_name) | ^ ./tkUnixEvent.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | TkpCloseDisplay(displayPtr) | ^ ./tkUnixEvent.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | DisplaySetupProc(clientData, flags) | ^ ./tkUnixEvent.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | DisplayCheckProc(clientData, flags) | ^ ./tkUnixEvent.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | DisplayFileProc(clientData, flags) | ^ ./tkUnixEvent.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | TkUnixDoOneXEvent(timePtr) | ^ ./tkUnixEvent.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | TkpSync(display) | ^ 9 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixFocus.c In file included from ./tkUnixFocus.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixFocus.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | TkpChangeFocus(winPtr, force) | ^ 2 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixFont.c In file included from ./tkUnixFont.c:15: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixFont.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | TkpGetNativeFont(tkwin, name) | ^ ./tkUnixFont.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | TkpGetFontFromAttributes(tkFontPtr, tkwin, faPtr) | ^ ./tkUnixFont.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | TkpDeleteFont(tkFontPtr) | ^ ./tkUnixFont.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | TkpGetFontFamilies(interp, tkwin) | ^ ./tkUnixFont.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | Tk_MeasureChars(tkfont, source, numChars, maxLength, flags, lengthPtr) | ^ ./tkUnixFont.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | Tk_DrawChars(display, drawable, gc, tkfont, source, numChars, x, y) | ^ ./tkUnixFont.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | DrawChars(display, drawable, gc, fontPtr, source, numChars, x, y) | ^ ./tkUnixFont.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | AllocFont(tkFontPtr, tkwin, fontStructPtr, fontName) | ^ ./tkUnixFont.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | GetControlCharSubst(c, buf) | ^ 10 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DTK_LIBRARY=\"/usr/local/lib/tk4.0.1\" ./tkUnixInit.c In file included from ./tkUnixInit.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixInit.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | TkpInit(interp) | ^ 2 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixMenu.c In file included from ./tkUnixMenu.c:14: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixMenu.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | TkpNewMenu(menuPtr) | ^ ./tkUnixMenu.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | TkpDestroyMenu(menuPtr) | ^ ./tkUnixMenu.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | TkpDestroyMenuEntry(mEntryPtr) | ^ ./tkUnixMenu.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | TkpConfigureMenuEntry(mePtr) | ^ ./tkUnixMenu.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | TkpMenuNewEntry(mePtr) | ^ ./tkUnixMenu.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | TkpSetWindowMenuBar(tkwin, menuPtr) | ^ ./tkUnixMenu.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | TkpSetMainMenubar(interp, tkwin, menuName) | ^ ./tkUnixMenu.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | GetMenuIndicatorGeometry(menuPtr, mePtr, tkfont, fmPtr, widthPtr, heightPtr) | ^ ./tkUnixMenu.c:332:4: warning: cast to 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] 332 | (TkMenuPlatformEntryData) ((65 * mePtr->height) / 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:335:4: warning: cast to 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] 335 | (TkMenuPlatformEntryData) ((75 * mePtr->height) / 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:340:30: warning: cast to 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] 340 | mePtr->platformEntryData = (TkMenuPlatformEntryData) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 341 | ((80 * mePtr->height) / 100); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:343:30: warning: cast to 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] 343 | mePtr->platformEntryData = (TkMenuPlatformEntryData) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 344 | mePtr->height; | ~~~~~~~~~~~~~ ./tkUnixMenu.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | GetMenuAccelGeometry(menuPtr, mePtr, tkfont, fmPtr, widthPtr, heightPtr) | ^ ./tkUnixMenu.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | DrawMenuEntryBackground(menuPtr, mePtr, d, activeBorder, bgBorder, x, y, | ^ ./tkUnixMenu.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | DrawMenuEntryAccelerator(menuPtr, mePtr, d, gc, tkfont, fmPtr, activeBorder, | ^ ./tkUnixMenu.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | DrawMenuEntryIndicator(menuPtr, mePtr, d, gc, indicatorGC, tkfont, fmPtr, | ^ ./tkUnixMenu.c:547:8: warning: cast to smaller integer type 'int' from 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') [-Wpointer-to-int-cast] 547 | dim = (int) mePtr->platformEntryData; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:575:12: warning: cast to smaller integer type 'int' from 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') [-Wpointer-to-int-cast] 575 | radius = ((int) mePtr->platformEntryData)/2; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:577:5: warning: cast to smaller integer type 'int' from 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') [-Wpointer-to-int-cast] 577 | - (int) mePtr->platformEntryData)/2; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | DrawMenuSeparator(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, y, width, height) | ^ ./tkUnixMenu.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | DrawMenuEntryLabel( | ^ ./tkUnixMenu.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | DrawMenuUnderline(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, y, width, height) | ^ ./tkUnixMenu.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | TkpPostMenu(interp, menuPtr, x, y) | ^ ./tkUnixMenu.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | GetMenuSeparatorGeometry(menuPtr, mePtr, tkfont, fmPtr, widthPtr, | ^ ./tkUnixMenu.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | GetTearoffEntryGeometry(menuPtr, mePtr, tkfont, fmPtr, widthPtr, heightPtr) | ^ ./tkUnixMenu.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | TkpComputeMenubarGeometry(menuPtr) | ^ ./tkUnixMenu.c:1078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | DrawTearoffEntry(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, y, width, height) | ^ ./tkUnixMenu.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | TkpInitializeMenuBindings(interp, bindingTable) | ^ ./tkUnixMenu.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | SetHelpMenu(menuPtr) | ^ ./tkUnixMenu.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | TkpDrawMenuEntry(mePtr, d, tkfont, menuMetricsPtr, x, y, width, height, | ^ ./tkUnixMenu.c:1344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | GetMenuLabelGeometry(mePtr, tkfont, fmPtr, widthPtr, heightPtr) | ^ ./tkUnixMenu.c:1391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | TkpComputeStandardMenuGeometry( | ^ ./tkUnixMenu.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | TkpMenuNotifyToplevelCreate(interp, menuName) | ^ 34 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixMenubu.c In file included from ./tkUnixMenubu.c:15: In file included from ./../generic/tkMenubutton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixMenubu.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | TkpCreateMenuButton(tkwin) | ^ ./tkUnixMenubu.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | TkpDisplayMenuButton(clientData) | ^ ./tkUnixMenubu.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | TkpDestroyMenuButton(mbPtr) | ^ ./tkUnixMenubu.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | TkpComputeMenuButtonGeometry(mbPtr) | ^ 5 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixScale.c In file included from ./tkUnixScale.c:15: In file included from ./../generic/tkScale.h:19: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixScale.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | TkpCreateScale(tkwin) | ^ ./tkUnixScale.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | TkpDestroyScale(scalePtr) | ^ ./tkUnixScale.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | DisplayVerticalScale(scalePtr, drawable, drawnAreaPtr) | ^ ./tkUnixScale.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | DisplayVerticalValue(scalePtr, drawable, value, rightEdge) | ^ ./tkUnixScale.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | DisplayHorizontalScale(scalePtr, drawable, drawnAreaPtr) | ^ ./tkUnixScale.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | DisplayHorizontalValue(scalePtr, drawable, value, top) | ^ ./tkUnixScale.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | TkpDisplayScale(clientData) | ^ ./tkUnixScale.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | TkpScaleElement(scalePtr, x, y) | ^ ./tkUnixScale.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | TkpSetScaleValue(scalePtr, value, setVar, invokeCommand) | ^ ./tkUnixScale.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | TkpPixelToValue(scalePtr, x, y) | ^ ./tkUnixScale.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | TkpValueToPixel(scalePtr, value) | ^ 12 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixScrlbr.c In file included from ./tkUnixScrlbr.c:15: In file included from ./../generic/tkScrollbar.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixScrlbr.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | TkpCreateScrollbar(tkwin) | ^ ./tkUnixScrlbr.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | TkpDisplayScrollbar(clientData) | ^ ./tkUnixScrlbr.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | TkpComputeScrollbarGeometry(scrollPtr) | ^ ./tkUnixScrlbr.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | TkpDestroyScrollbar(scrollPtr) | ^ ./tkUnixScrlbr.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | TkpConfigureScrollbar(scrollPtr) | ^ ./tkUnixScrlbr.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | TkpScrollbarPosition(scrollPtr, x, y) | ^ 7 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixSelect.c In file included from ./tkUnixSelect.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixSelect.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | TkSelGetSelection(interp, tkwin, selection, target, proc, clientData) | ^ ./tkUnixSelect.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | TkSelPropProc(eventPtr) | ^ ./tkUnixSelect.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | TkSelEventProc(tkwin, eventPtr) | ^ ./tkUnixSelect.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | SelTimeoutProc(clientData) | ^ ./tkUnixSelect.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | ConvertSelection(winPtr, eventPtr) | ^ ./tkUnixSelect.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | SelRcvIncrProc(clientData, eventPtr) | ^ ./tkUnixSelect.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | SelectionSize(selPtr) | ^ ./tkUnixSelect.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | IncrTimeoutProc(clientData) | ^ ./tkUnixSelect.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | SelCvtToX(string, type, tkwin, numLongsPtr) | ^ ./tkUnixSelect.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | SelCvtFromX(propPtr, numValues, type, tkwin) | ^ 11 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixSend.c In file included from ./tkUnixSend.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixSend.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | RegOpen(interp, dispPtr, lock) | ^ ./tkUnixSend.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | RegFindName(regPtr, name) | ^ ./tkUnixSend.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | RegDeleteName(regPtr, name) | ^ ./tkUnixSend.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | RegAddName(regPtr, name, commWindow) | ^ ./tkUnixSend.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | RegClose(regPtr) | ^ ./tkUnixSend.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | ValidateName(dispPtr, name, commWindow, oldOK) | ^ ./tkUnixSend.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | ServerSecure(dispPtr) | ^ ./tkUnixSend.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | Tk_SetAppName(tkwin, name) | ^ ./tkUnixSend.c:898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | Tk_SendCmd(clientData, interp, argc, argv) | ^ ./tkUnixSend.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | TkGetInterpNames(interp, tkwin) | ^ ./tkUnixSend.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | SendInit(interp, dispPtr) | ^ ./tkUnixSend.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | SendEventProc(clientData, eventPtr) | ^ ./tkUnixSend.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | AppendPropCarefully(display, window, property, value, length, pendingPtr) | ^ ./tkUnixSend.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | AppendErrorProc(clientData, errorPtr) | ^ ./tkUnixSend.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | DeleteProc(clientData) | ^ ./tkUnixSend.c:1847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | SendRestrictProc(clientData, eventPtr) | ^ ./tkUnixSend.c:1885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1885 | UpdateCommWindow(dispPtr) | ^ 18 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixWm.c In file included from ./tkUnixWm.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixWm.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | TkWmNewWindow(winPtr) | ^ ./tkUnixWm.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | TkWmMapWindow(winPtr) | ^ ./tkUnixWm.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | TkWmUnmapWindow(winPtr) | ^ ./tkUnixWm.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | TkWmDeadWindow(winPtr) | ^ ./tkUnixWm.c:739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | TkWmSetClass(winPtr) | ^ ./tkUnixWm.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | Tk_WmCmd(clientData, interp, argc, argv) | ^ ./tkUnixWm.c:2041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | Tk_SetGrid(tkwin, reqWidth, reqHeight, widthInc, heightInc) | ^ ./tkUnixWm.c:2140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2140 | Tk_UnsetGrid(tkwin) | ^ ./tkUnixWm.c:2204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2204 | ConfigureEvent(wmPtr, configEventPtr) | ^ ./tkUnixWm.c:2383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2383 | ReparentEvent(wmPtr, reparentEventPtr) | ^ ./tkUnixWm.c:2515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2515 | ComputeReparentGeometry(wmPtr) | ^ ./tkUnixWm.c:2619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2619 | WrapperEventProc(clientData, eventPtr) | ^ ./tkUnixWm.c:2703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2703 | TopLevelReqProc(dummy, tkwin) | ^ ./tkUnixWm.c:2768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2768 | UpdateGeometryInfo(clientData) | ^ ./tkUnixWm.c:2979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2979 | UpdateSizeHints(winPtr) | ^ ./tkUnixWm.c:3104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3104 | WaitForConfigureNotify(winPtr, serial) | ^ ./tkUnixWm.c:3172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3172 | WaitForEvent(display, window, type, eventPtr) | ^ ./tkUnixWm.c:3235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3235 | WaitRestrictProc(clientData, eventPtr) | ^ ./tkUnixWm.c:3286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3286 | WaitForMapNotify(winPtr, mapped) | ^ ./tkUnixWm.c:3348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3348 | UpdateHints(winPtr) | ^ ./tkUnixWm.c:3379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3379 | ParseGeometry(interp, string, winPtr) | ^ ./tkUnixWm.c:3515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3515 | Tk_GetRootCoords(tkwin, xPtr, yPtr) | ^ ./tkUnixWm.c:3611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3611 | Tk_CoordsToWindow(rootX, rootY, tkwin) | ^ ./tkUnixWm.c:3789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3789 | UpdateVRootGeometry(wmPtr) | ^ ./tkUnixWm.c:3865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3865 | Tk_GetVRootGeometry(tkwin, xPtr, yPtr, widthPtr, heightPtr) | ^ ./tkUnixWm.c:3921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3921 | Tk_MoveToplevelWindow(tkwin, x, y) | ^ ./tkUnixWm.c:3975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3975 | UpdateWmProtocols(wmPtr) | ^ ./tkUnixWm.c:4033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4033 | TkWmProtocolEventProc(winPtr, eventPtr) | ^ ./tkUnixWm.c:4108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4108 | TkWmRestackToplevel(winPtr, aboveBelow, otherPtr) | ^ ./tkUnixWm.c:4328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4328 | TkWmAddToColormapWindows(winPtr) | ^ ./tkUnixWm.c:4425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4425 | TkWmRemoveFromColormapWindows(winPtr) | ^ ./tkUnixWm.c:4516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4516 | TkGetPointerCoords(tkwin, xPtr, yPtr) | ^ ./tkUnixWm.c:4563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4563 | GetMaxSize(wmPtr, maxWidthPtr, maxHeightPtr) | ^ ./tkUnixWm.c:4624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4624 | TkpMakeMenuWindow(tkwin, transient) | ^ ./tkUnixWm.c:4688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4688 | CreateWrapper(wmPtr) | ^ ./tkUnixWm.c:4791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4791 | TkWmFocusToplevel(winPtr) | ^ ./tkUnixWm.c:4824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4824 | TkUnixSetMenubar(tkwin, menubar) | ^ ./tkUnixWm.c:4914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4914 | MenubarDestroyProc(clientData, eventPtr) | ^ ./tkUnixWm.c:4952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4952 | MenubarReqProc(clientData, tkwin) | ^ ./tkUnixWm.c:4989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4989 | TkpGetWrapperWindow(winPtr) | ^ 41 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixXId.c In file included from ./tkUnixXId.c:31: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./tkUnixXId.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | TkInitXId(dispPtr) | ^ ./tkUnixXId.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | AllocXId(display) | ^ ./tkUnixXId.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | Tk_FreeXId(display, xid) | ^ ./tkUnixXId.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | TkFreeWindowId(dispPtr, w) | ^ ./tkUnixXId.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | WindowIdCleanup(clientData) | ^ ./tkUnixXId.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | WindowIdCleanup2(clientData) | ^ ./tkUnixXId.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | CheckRestrictProc(clientData, eventPtr) | ^ ./tkUnixXId.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | Tk_GetPixmap(display, d, width, height, depth) | ^ ./tkUnixXId.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | Tk_FreePixmap(display, pixmap) | ^ ./tkUnixXId.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | TkpWindowWasRecentlyDeleted(win, dispPtr) | ^ 11 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkButton.c In file included from ./../generic/tkButton.c:18: In file included from ./../generic/tkButton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkButton.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | Tk_ButtonCmd(clientData, interp, argc, argv) | ^ ./../generic/tkButton.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | Tk_CheckbuttonCmd(clientData, interp, argc, argv) | ^ ./../generic/tkButton.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | Tk_LabelCmd(clientData, interp, argc, argv) | ^ ./../generic/tkButton.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | Tk_RadiobuttonCmd(clientData, interp, argc, argv) | ^ ./../generic/tkButton.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | ButtonCreate(clientData, interp, argc, argv, type) | ^ ./../generic/tkButton.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | ButtonWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkButton.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | DestroyButton(butPtr) | ^ ./../generic/tkButton.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | ConfigureButton(interp, butPtr, argc, argv, flags) | ^ ./../generic/tkButton.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | TkButtonWorldChanged(instanceData) | ^ ./../generic/tkButton.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | ButtonEventProc(clientData, eventPtr) | ^ ./../generic/tkButton.c:1186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | ButtonCmdDeletedProc(clientData) | ^ ./../generic/tkButton.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | TkInvokeButton(butPtr) | ^ ./../generic/tkButton.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | ButtonVarProc(clientData, interp, name1, name2, flags) | ^ ./../generic/tkButton.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | ButtonTextVarProc(clientData, interp, name1, name2, flags) | ^ ./../generic/tkButton.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | ButtonImageProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ ./../generic/tkButton.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | ButtonSelectImageProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ 17 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkEntry.c In file included from ./../generic/tkEntry.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkEntry.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | Tk_EntryCmd(clientData, interp, argc, argv) | ^ ./../generic/tkEntry.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | EntryWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkEntry.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | DestroyEntry(memPtr) | ^ ./../generic/tkEntry.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | ConfigureEntry(interp, entryPtr, argc, argv, flags) | ^ ./../generic/tkEntry.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | EntryWorldChanged(instanceData) | ^ ./../generic/tkEntry.c:1108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | DisplayEntry(clientData) | ^ ./../generic/tkEntry.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | EntryComputeGeometry(entryPtr) | ^ ./../generic/tkEntry.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1422 | InsertChars(entryPtr, index, string) | ^ ./../generic/tkEntry.c:1493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | DeleteChars(entryPtr, index, count) | ^ ./../generic/tkEntry.c:1585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1585 | EntryValueChanged(entryPtr) | ^ ./../generic/tkEntry.c:1646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | EntrySetValue(entryPtr, value) | ^ ./../generic/tkEntry.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | EntryEventProc(clientData, eventPtr) | ^ ./../generic/tkEntry.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | EntryCmdDeletedProc(clientData) | ^ ./../generic/tkEntry.c:1790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1790 | GetEntryIndex(interp, entryPtr, string, indexPtr) | ^ ./../generic/tkEntry.c:1902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | EntryScanTo(entryPtr, x) | ^ ./../generic/tkEntry.c:1956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | EntrySelectTo(entryPtr, index) | ^ ./../generic/tkEntry.c:2022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | EntryFetchSelection(clientData, offset, buffer, maxBytes) | ^ ./../generic/tkEntry.c:2076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2076 | EntryLostSelection(clientData) | ^ ./../generic/tkEntry.c:2118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | EventuallyRedraw(entryPtr) | ^ ./../generic/tkEntry.c:2157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2157 | EntryVisibleRange(entryPtr, firstPtr, lastPtr) | ^ ./../generic/tkEntry.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | EntryUpdateScrollbar(entryPtr) | ^ ./../generic/tkEntry.c:2257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2257 | EntryBlinkProc(clientData) | ^ ./../generic/tkEntry.c:2296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | EntryFocusProc(entryPtr, gotFocus) | ^ ./../generic/tkEntry.c:2336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2336 | EntryTextVarProc(clientData, interp, name1, name2, flags) | ^ 25 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkFrame.c In file included from ./../generic/tkFrame.c:19: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkFrame.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | Tk_FrameCmd(clientData, interp, argc, argv) | ^ ./../generic/tkFrame.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | Tk_ToplevelCmd(clientData, interp, argc, argv) | ^ ./../generic/tkFrame.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | TkCreateFrame(clientData, interp, argc, argv, toplevel, appName) | ^ ./../generic/tkFrame.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | FrameWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkFrame.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | DestroyFrame(memPtr) | ^ ./../generic/tkFrame.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | ConfigureFrame(interp, framePtr, argc, argv, flags) | ^ ./../generic/tkFrame.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | DisplayFrame(clientData) | ^ ./../generic/tkFrame.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | FrameEventProc(clientData, eventPtr) | ^ ./../generic/tkFrame.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | FrameCmdDeletedProc(clientData) | ^ ./../generic/tkFrame.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | MapFrame(clientData) | ^ ./../generic/tkFrame.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | TkInstallFrameMenu(tkwin) | ^ 12 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkListbox.c In file included from ./../generic/tkListbox.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkListbox.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Tk_ListboxCmd(clientData, interp, argc, argv) | ^ ./../generic/tkListbox.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | ListboxWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkListbox.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | DestroyListbox(memPtr) | ^ ./../generic/tkListbox.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | ConfigureListbox(interp, listPtr, argc, argv, flags) | ^ ./../generic/tkListbox.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | ListboxWorldChanged(instanceData) | ^ ./../generic/tkListbox.c:1165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | DisplayListbox(clientData) | ^ ./../generic/tkListbox.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | ListboxComputeGeometry(listPtr, fontChanged, maxIsStale, updateGrid) | ^ ./../generic/tkListbox.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | InsertEls(listPtr, index, argc, argv) | ^ ./../generic/tkListbox.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | DeleteEls(listPtr, first, last) | ^ ./../generic/tkListbox.c:1658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1658 | ListboxEventProc(clientData, eventPtr) | ^ ./../generic/tkListbox.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | ListboxCmdDeletedProc(clientData) | ^ ./../generic/tkListbox.c:1777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | GetListboxIndex(interp, listPtr, string, endIsSize, indexPtr) | ^ ./../generic/tkListbox.c:1855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1855 | ChangeListboxView(listPtr, index) | ^ ./../generic/tkListbox.c:1895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1895 | ChangeListboxOffset(listPtr, offset) | ^ ./../generic/tkListbox.c:1942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1942 | ListboxScanTo(listPtr, x, y) | ^ ./../generic/tkListbox.c:2015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2015 | NearestListboxElement(listPtr, y) | ^ ./../generic/tkListbox.c:2056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2056 | ListboxSelect(listPtr, first, last, select) | ^ ./../generic/tkListbox.c:2133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2133 | ListboxFetchSelection(clientData, offset, buffer, maxBytes) | ^ ./../generic/tkListbox.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | ListboxLostSelection(clientData) | ^ ./../generic/tkListbox.c:2241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2241 | ListboxRedrawRange(listPtr, first, last) | ^ ./../generic/tkListbox.c:2279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2279 | ListboxUpdateVScrollbar(listPtr) | ^ ./../generic/tkListbox.c:2341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2341 | ListboxUpdateHScrollbar(listPtr) | ^ 23 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMenu.c In file included from ./../generic/tkMenu.c:71: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkMenu.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | Tk_MenuCmd(clientData, interp, argc, argv) | ^ ./../generic/tkMenu.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | MenuWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkMenu.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | TkInvokeMenu(interp, menuPtr, index) | ^ ./../generic/tkMenu.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | DestroyMenuInstance(menuPtr) | ^ ./../generic/tkMenu.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | TkDestroyMenu(menuPtr) | ^ ./../generic/tkMenu.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | UnhookCascadeEntry(mePtr) | ^ ./../generic/tkMenu.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | DestroyMenuEntry(memPtr) | ^ ./../generic/tkMenu.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | MenuWorldChanged(instanceData) | ^ ./../generic/tkMenu.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | ConfigureMenu(interp, menuPtr, argc, argv, flags) | ^ ./../generic/tkMenu.c:1502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1502 | ConfigureMenuEntry(mePtr, argc, argv, flags) | ^ ./../generic/tkMenu.c:1532:34: warning: passing arguments to 'Tk_Menu_ConfigureWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | if (Tk_Menu_ConfigureWidget(menuPtr->interp, &menuPtr->entries[index], | ^ ./../generic/tkMenu.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | ConfigureMenuCloneEntries(interp, menuPtr, index, argc, argv, flags) | ^ ./../generic/tkMenu.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | TkGetMenuIndex(interp, menuPtr, string, lastOK, indexPtr) | ^ ./../generic/tkMenu.c:1933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1933 | MenuCmdDeletedProc(clientData) | ^ ./../generic/tkMenu.c:1971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | MenuNewEntry(menuPtr, index, type) | ^ ./../generic/tkMenu.c:2062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2062 | MenuAddOrInsert(interp, menuPtr, indexString, argc, argv) | ^ ./../generic/tkMenu.c:2218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2218 | MenuVarProc(clientData, interp, name1, name2, flags) | ^ ./../generic/tkMenu.c:2297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2297 | TkActivateMenuEntry(menuPtr, index) | ^ ./../generic/tkMenu.c:2346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | TkPostCommand(menuPtr) | ^ ./../generic/tkMenu.c:2389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2389 | CloneMenu(menuPtr, newMenuName, newMenuTypeString) | ^ ./../generic/tkMenu.c:2583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2583 | MenuDoYPosition(interp, menuPtr, arg) | ^ ./../generic/tkMenu.c:2625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2625 | GetIndexFromCoords(interp, menuPtr, string, indexPtr) | ^ ./../generic/tkMenu.c:2690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2690 | RecursivelyDeleteMenu(menuPtr) | ^ ./../generic/tkMenu.c:2725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2725 | TkNewMenuName(interp, parentName, menuPtr) | ^ ./../generic/tkMenu.c:2809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2809 | TkSetWindowMenuBar(interp, tkwin, oldMenuName, menuName) | ^ ./../generic/tkMenu.c:2967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2967 | DestroyMenuHashTable(clientData, interp) | ^ ./../generic/tkMenu.c:2994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2994 | TkGetMenuHashTable(interp) | ^ ./../generic/tkMenu.c:3031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3031 | TkCreateMenuReferences(interp, pathName) | ^ ./../generic/tkMenu.c:3085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3085 | TkFindMenuReferences(interp, pathName) | ^ ./../generic/tkMenu.c:3125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3125 | TkFreeMenuReferences(menuRefPtr) | ^ ./../generic/tkMenu.c:3155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3155 | DeleteMenuCloneEntries(menuPtr, first, last) | ^ 32 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMenubutton.c In file included from ./../generic/tkMenubutton.c:16: In file included from ./../generic/tkMenubutton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkMenubutton.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | Tk_MenubuttonCmd(clientData, interp, argc, argv) | ^ ./../generic/tkMenubutton.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | MenuButtonWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkMenubutton.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | DestroyMenuButton(memPtr) | ^ ./../generic/tkMenubutton.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | ConfigureMenuButton(interp, mbPtr, argc, argv, flags) | ^ ./../generic/tkMenubutton.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | TkMenuButtonWorldChanged(instanceData) | ^ ./../generic/tkMenubutton.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | MenuButtonEventProc(clientData, eventPtr) | ^ ./../generic/tkMenubutton.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | MenuButtonCmdDeletedProc(clientData) | ^ ./../generic/tkMenubutton.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | MenuButtonTextVarProc(clientData, interp, name1, name2, flags) | ^ ./../generic/tkMenubutton.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | MenuButtonImageProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ 10 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMenuDraw.c In file included from ./../generic/tkMenuDraw.c:15: In file included from ./../generic/tkMenu.h:18: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkMenuDraw.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | TkMenuInitializeDrawingFields(menuPtr) | ^ ./../generic/tkMenuDraw.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | TkMenuInitializeEntryDrawingFields(mePtr) | ^ ./../generic/tkMenuDraw.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | TkMenuFreeDrawOptions(menuPtr) | ^ ./../generic/tkMenuDraw.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | TkMenuEntryFreeDrawOptions(mePtr) | ^ ./../generic/tkMenuDraw.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | TkMenuConfigureDrawOptions(menuPtr) | ^ ./../generic/tkMenuDraw.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | TkMenuConfigureEntryDrawOptions(mePtr, index) | ^ ./../generic/tkMenuDraw.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | TkEventuallyRecomputeMenu(menuPtr) | ^ ./../generic/tkMenuDraw.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | TkRecomputeMenu(menuPtr) | ^ ./../generic/tkMenuDraw.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | TkEventuallyRedrawMenu(menuPtr, mePtr) | ^ ./../generic/tkMenuDraw.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | ComputeMenuGeometry(clientData) | ^ ./../generic/tkMenuDraw.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | TkMenuSelectImageProc(clientData, x, y, width, height, imgWidth, | ^ ./../generic/tkMenuDraw.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | DisplayMenu(clientData) | ^ ./../generic/tkMenuDraw.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | TkMenuEventProc(clientData, eventPtr) | ^ ./../generic/tkMenuDraw.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | TkMenuImageProc(clientData, x, y, width, height, imgWidth, | ^ ./../generic/tkMenuDraw.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | TkPostTearoffMenu(interp, menuPtr, x, y) | ^ ./../generic/tkMenuDraw.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | TkPostSubmenu(interp, menuPtr, mePtr) | ^ ./../generic/tkMenuDraw.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | AdjustMenuCoords(menuPtr, mePtr, xPtr, yPtr, string) | ^ 18 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMessage.c In file included from ./../generic/tkMessage.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkMessage.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | Tk_MessageCmd(clientData, interp, argc, argv) | ^ ./../generic/tkMessage.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | MessageWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkMessage.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | DestroyMessage(memPtr) | ^ ./../generic/tkMessage.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | ConfigureMessage(interp, msgPtr, argc, argv, flags) | ^ ./../generic/tkMessage.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | MessageWorldChanged(instanceData) | ^ ./../generic/tkMessage.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | ComputeMessageGeometry(msgPtr) | ^ ./../generic/tkMessage.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | DisplayMessage(clientData) | ^ ./../generic/tkMessage.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | MessageEventProc(clientData, eventPtr) | ^ ./../generic/tkMessage.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | MessageCmdDeletedProc(clientData) | ^ ./../generic/tkMessage.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | MessageTextVarProc(clientData, interp, name1, name2, flags) | ^ 11 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkScale.c In file included from ./../generic/tkScale.c:23: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkScale.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | Tk_ScaleCmd(clientData, interp, argc, argv) | ^ ./../generic/tkScale.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | ScaleWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkScale.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | DestroyScale(memPtr) | ^ ./../generic/tkScale.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | ConfigureScale(interp, scalePtr, argc, argv, flags) | ^ ./../generic/tkScale.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | ScaleWorldChanged(instanceData) | ^ ./../generic/tkScale.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | ComputeFormat(scalePtr) | ^ ./../generic/tkScale.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | ComputeScaleGeometry(scalePtr) | ^ ./../generic/tkScale.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | ScaleEventProc(clientData, eventPtr) | ^ ./../generic/tkScale.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | ScaleCmdDeletedProc(clientData) | ^ ./../generic/tkScale.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | TkEventuallyRedrawScale(scalePtr, what) | ^ ./../generic/tkScale.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | TkRoundToResolution(scalePtr, value) | ^ ./../generic/tkScale.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | TkRoundToValueResolution(scalePtr, value) | ^ ./../generic/tkScale.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | ScaleVarProc(clientData, interp, name1, name2, flags) | ^ 14 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkScrollbar.c In file included from ./../generic/tkScrollbar.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkScrollbar.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | Tk_ScrollbarCmd(clientData, interp, argc, argv) | ^ ./../generic/tkScrollbar.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | ScrollbarWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkScrollbar.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | ConfigureScrollbar(interp, scrollPtr, argc, argv, flags) | ^ ./../generic/tkScrollbar.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | TkScrollbarEventProc(clientData, eventPtr) | ^ ./../generic/tkScrollbar.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | ScrollbarCmdDeletedProc(clientData) | ^ ./../generic/tkScrollbar.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | TkScrollbarEventuallyRedraw(scrollPtr) | ^ 7 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvas.c In file included from ./../generic/tkCanvas.c:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvas.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | Tk_CanvasCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCanvas.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | CanvasWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkCanvas.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | DestroyCanvas(memPtr) | ^ ./../generic/tkCanvas.c:1515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1515 | ConfigureCanvas(interp, canvasPtr, argc, argv, flags) | ^ ./../generic/tkCanvas.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | CanvasWorldChanged(instanceData) | ^ ./../generic/tkCanvas.c:1686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | DisplayCanvas(clientData) | ^ ./../generic/tkCanvas.c:1896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1896 | CanvasEventProc(clientData, eventPtr) | ^ ./../generic/tkCanvas.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | CanvasCmdDeletedProc(clientData) | ^ ./../generic/tkCanvas.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | Tk_CanvasEventuallyRedraw(canvas, x1, y1, x2, y2) | ^ ./../generic/tkCanvas.c:2081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2081 | Tk_CreateItemType(typePtr) | ^ ./../generic/tkCanvas.c:2202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | StartTagSearch(canvasPtr, tag, searchPtr) | ^ ./../generic/tkCanvas.c:2311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2311 | NextItem(searchPtr) | ^ ./../generic/tkCanvas.c:2399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2399 | DoItem(interp, itemPtr, tag) | ^ ./../generic/tkCanvas.c:2481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2481 | FindItems(interp, canvasPtr, argc, argv, newTag, cmdName, option) | ^ ./../generic/tkCanvas.c:2725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2725 | FindArea(interp, canvasPtr, argv, uid, enclosed) | ^ ./../generic/tkCanvas.c:2811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2811 | RelinkItems(canvasPtr, tag, prevPtr) | ^ ./../generic/tkCanvas.c:2898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2898 | CanvasBindProc(clientData, eventPtr) | ^ ./../generic/tkCanvas.c:3011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3011 | PickCurrentItem(canvasPtr, eventPtr) | ^ ./../generic/tkCanvas.c:3199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3199 | CanvasFindClosest(canvasPtr, coords) | ^ ./../generic/tkCanvas.c:3249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3249 | CanvasDoEvent(canvasPtr, eventPtr) | ^ ./../generic/tkCanvas.c:3327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3327 | CanvasBlinkProc(clientData) | ^ ./../generic/tkCanvas.c:3374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3374 | CanvasFocusProc(canvasPtr, gotFocus) | ^ ./../generic/tkCanvas.c:3427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3427 | CanvasSelectTo(canvasPtr, itemPtr, index) | ^ ./../generic/tkCanvas.c:3497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3497 | CanvasFetchSelection(clientData, offset, buffer, maxBytes) | ^ ./../generic/tkCanvas.c:3539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3539 | CanvasLostSelection(clientData) | ^ ./../generic/tkCanvas.c:3574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3574 | GridAlign(coord, spacing) | ^ ./../generic/tkCanvas.c:3610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3610 | PrintScrollFractions(screen1, screen2, object1, object2, string) | ^ ./../generic/tkCanvas.c:3663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3663 | CanvasUpdateScrollbars(canvasPtr) | ^ ./../generic/tkCanvas.c:3743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3743 | CanvasSetOrigin(canvasPtr, xOrigin, yOrigin) | ^ 30 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvArc.c In file included from ./../generic/tkCanvArc.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvArc.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | CreateArc(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvArc.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | ArcCoords(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvArc.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | ConfigureArc(interp, canvas, itemPtr, argc, argv, flags) | ^ ./../generic/tkCanvArc.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | DeleteArc(canvas, itemPtr, display) | ^ ./../generic/tkCanvArc.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | ComputeArcBbox(canvas, arcPtr) | ^ ./../generic/tkCanvArc.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | DisplayArc(canvas, itemPtr, display, drawable, x, y, width, height) | ^ ./../generic/tkCanvArc.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | ArcToPoint(canvas, itemPtr, pointPtr) | ^ ./../generic/tkCanvArc.c:898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | ArcToArea(canvas, itemPtr, rectPtr) | ^ ./../generic/tkCanvArc.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | ScaleArc(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ ./../generic/tkCanvArc.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | TranslateArc(canvas, itemPtr, deltaX, deltaY) | ^ ./../generic/tkCanvArc.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | ComputeArcOutline(arcPtr) | ^ ./../generic/tkCanvArc.c:1413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | HorizLineToArc(x1, x2, y, rx, ry, start, extent) | ^ ./../generic/tkCanvArc.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | VertLineToArc(x, y1, y2, rx, ry, start, extent) | ^ ./../generic/tkCanvArc.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | AngleInRange(x, y, start, extent) | ^ ./../generic/tkCanvArc.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | ArcToPostscript(interp, canvas, itemPtr, prepass) | ^ 16 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvBmap.c In file included from ./../generic/tkCanvBmap.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvBmap.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | CreateBitmap(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvBmap.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | BitmapCoords(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvBmap.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | ConfigureBitmap(interp, canvas, itemPtr, argc, argv, flags) | ^ ./../generic/tkCanvBmap.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | DeleteBitmap(canvas, itemPtr, display) | ^ ./../generic/tkCanvBmap.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | ComputeBitmapBbox(canvas, bmapPtr) | ^ ./../generic/tkCanvBmap.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | DisplayBitmap(canvas, itemPtr, display, drawable, x, y, width, height) | ^ ./../generic/tkCanvBmap.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | BitmapToPoint(canvas, itemPtr, coordPtr) | ^ ./../generic/tkCanvBmap.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | BitmapToArea(canvas, itemPtr, rectPtr) | ^ ./../generic/tkCanvBmap.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | ScaleBitmap(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ ./../generic/tkCanvBmap.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | TranslateBitmap(canvas, itemPtr, deltaX, deltaY) | ^ ./../generic/tkCanvBmap.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | BitmapToPostscript(interp, canvas, itemPtr, prepass) | ^ 12 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvImg.c In file included from ./../generic/tkCanvImg.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvImg.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | CreateImage(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvImg.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | ImageCoords(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvImg.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | ConfigureImage(interp, canvas, itemPtr, argc, argv, flags) | ^ ./../generic/tkCanvImg.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | DeleteImage(canvas, itemPtr, display) | ^ ./../generic/tkCanvImg.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | ComputeImageBbox(canvas, imgPtr) | ^ ./../generic/tkCanvImg.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | DisplayImage(canvas, itemPtr, display, drawable, x, y, width, height) | ^ ./../generic/tkCanvImg.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | ImageToPoint(canvas, itemPtr, coordPtr) | ^ ./../generic/tkCanvImg.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | ImageToArea(canvas, itemPtr, rectPtr) | ^ ./../generic/tkCanvImg.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | ScaleImage(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ ./../generic/tkCanvImg.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | TranslateImage(canvas, itemPtr, deltaX, deltaY) | ^ ./../generic/tkCanvImg.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | ImageChangedProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ 12 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvLine.c In file included from ./../generic/tkCanvLine.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvLine.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | CreateLine(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvLine.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | LineCoords(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvLine.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | ConfigureLine(interp, canvas, itemPtr, argc, argv, flags) | ^ ./../generic/tkCanvLine.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | DeleteLine(canvas, itemPtr, display) | ^ ./../generic/tkCanvLine.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | ComputeLineBbox(canvas, linePtr) | ^ ./../generic/tkCanvLine.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | DisplayLine(canvas, itemPtr, display, drawable, x, y, width, height) | ^ ./../generic/tkCanvLine.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | LineToPoint(canvas, itemPtr, pointPtr) | ^ ./../generic/tkCanvLine.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | LineToArea(canvas, itemPtr, rectPtr) | ^ ./../generic/tkCanvLine.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | ScaleLine(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ ./../generic/tkCanvLine.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | TranslateLine(canvas, itemPtr, deltaX, deltaY) | ^ ./../generic/tkCanvLine.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | ParseArrowShape(clientData, interp, tkwin, value, recordPtr, offset) | ^ ./../generic/tkCanvLine.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | PrintArrowShape(clientData, tkwin, recordPtr, offset, freeProcPtr) | ^ ./../generic/tkCanvLine.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | ConfigureArrows(canvas, linePtr) | ^ ./../generic/tkCanvLine.c:1476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | LineToPostscript(interp, canvas, itemPtr, prepass) | ^ ./../generic/tkCanvLine.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | ArrowheadPostscript(interp, canvas, linePtr, arrowPtr) | ^ 16 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvPoly.c In file included from ./../generic/tkCanvPoly.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvPoly.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | CreatePolygon(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvPoly.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | PolygonCoords(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvPoly.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | ConfigurePolygon(interp, canvas, itemPtr, argc, argv, flags) | ^ ./../generic/tkCanvPoly.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | DeletePolygon(canvas, itemPtr, display) | ^ ./../generic/tkCanvPoly.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | ComputePolygonBbox(canvas, polyPtr) | ^ ./../generic/tkCanvPoly.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | TkFillPolygon(canvas, coordPtr, numPoints, display, drawable, gc, outlineGC) | ^ ./../generic/tkCanvPoly.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | DisplayPolygon(canvas, itemPtr, display, drawable, x, y, width, height) | ^ ./../generic/tkCanvPoly.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | PolygonToPoint(canvas, itemPtr, pointPtr) | ^ ./../generic/tkCanvPoly.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | PolygonToArea(canvas, itemPtr, rectPtr) | ^ ./../generic/tkCanvPoly.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | ScalePolygon(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ ./../generic/tkCanvPoly.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | TranslatePolygon(canvas, itemPtr, deltaX, deltaY) | ^ ./../generic/tkCanvPoly.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | PolygonToPostscript(interp, canvas, itemPtr, prepass) | ^ 13 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvPs.c In file included from ./../generic/tkCanvPs.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvPs.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | TkCanvPostscriptCmd(canvasPtr, interp, argc, argv) | ^ ./../generic/tkCanvPs.c:938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | Tk_CanvasPsColor(interp, canvas, colorPtr) | ^ ./../generic/tkCanvPs.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | Tk_CanvasPsFont(interp, canvas, tkfont) | ^ ./../generic/tkCanvPs.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | Tk_CanvasPsBitmap(interp, canvas, bitmap, startX, startY, width, height) | ^ ./../generic/tkCanvPs.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | Tk_CanvasPsStipple(interp, canvas, bitmap) | ^ ./../generic/tkCanvPs.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | Tk_CanvasPsY(canvas, y) | ^ ./../generic/tkCanvPs.c:1298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | Tk_CanvasPsPath(interp, canvas, coordPtr, numPoints) | ^ ./../generic/tkCanvPs.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | GetPostscriptPoints(interp, string, doublePtr) | ^ 9 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvText.c In file included from ./../generic/tkCanvText.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvText.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | CreateText(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvText.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | TextCoords(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvText.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | ConfigureText(interp, canvas, itemPtr, argc, argv, flags) | ^ ./../generic/tkCanvText.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | DeleteText(canvas, itemPtr, display) | ^ ./../generic/tkCanvText.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | ComputeTextBbox(canvas, textPtr) | ^ ./../generic/tkCanvText.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | DisplayCanvText(canvas, itemPtr, display, drawable, x, y, width, height) | ^ ./../generic/tkCanvText.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | TextInsert(canvas, itemPtr, beforeThis, string) | ^ ./../generic/tkCanvText.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | TextDeleteChars(canvas, itemPtr, first, last) | ^ ./../generic/tkCanvText.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | TextToPoint(canvas, itemPtr, pointPtr) | ^ ./../generic/tkCanvText.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | TextToArea(canvas, itemPtr, rectPtr) | ^ ./../generic/tkCanvText.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | ScaleText(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ ./../generic/tkCanvText.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | TranslateText(canvas, itemPtr, deltaX, deltaY) | ^ ./../generic/tkCanvText.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | GetTextIndex(interp, canvas, itemPtr, string, indexPtr) | ^ ./../generic/tkCanvText.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | SetTextCursor(canvas, itemPtr, index) | ^ ./../generic/tkCanvText.c:1193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | GetSelText(canvas, itemPtr, offset, buffer, maxBytes) | ^ ./../generic/tkCanvText.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | TextToPostscript(interp, canvas, itemPtr, prepass) | ^ 17 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvUtil.c In file included from ./../generic/tkCanvUtil.c:16: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvUtil.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | Tk_CanvasTkwin(canvas) | ^ ./../generic/tkCanvUtil.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | Tk_CanvasDrawableCoords(canvas, x, y, drawableXPtr, drawableYPtr) | ^ ./../generic/tkCanvUtil.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | Tk_CanvasWindowCoords(canvas, x, y, screenXPtr, screenYPtr) | ^ ./../generic/tkCanvUtil.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | Tk_CanvasGetCoord(interp, canvas, string, doublePtr) | ^ ./../generic/tkCanvUtil.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | Tk_CanvasSetStippleOrigin(canvas, gc) | ^ ./../generic/tkCanvUtil.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | Tk_CanvasGetTextInfo(canvas) | ^ ./../generic/tkCanvUtil.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | Tk_CanvasTagsParseProc(clientData, interp, tkwin, value, widgRec, offset) | ^ ./../generic/tkCanvUtil.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | Tk_CanvasTagsPrintProc(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ 9 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvWind.c In file included from ./../generic/tkCanvWind.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkCanvWind.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | CreateWinItem(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvWind.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | WinItemCoords(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkCanvWind.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | ConfigureWinItem(interp, canvas, itemPtr, argc, argv, flags) | ^ ./../generic/tkCanvWind.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | DeleteWinItem(canvas, itemPtr, display) | ^ ./../generic/tkCanvWind.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | ComputeWindowBbox(canvas, winItemPtr) | ^ ./../generic/tkCanvWind.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | DisplayWinItem(canvas, itemPtr, display, drawable, regionX, regionY, | ^ ./../generic/tkCanvWind.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | WinItemToPoint(canvas, itemPtr, pointPtr) | ^ ./../generic/tkCanvWind.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | WinItemToArea(canvas, itemPtr, rectPtr) | ^ ./../generic/tkCanvWind.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | ScaleWinItem(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ ./../generic/tkCanvWind.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | TranslateWinItem(canvas, itemPtr, deltaX, deltaY) | ^ ./../generic/tkCanvWind.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | WinItemStructureProc(clientData, eventPtr) | ^ ./../generic/tkCanvWind.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | WinItemRequestProc(clientData, tkwin) | ^ ./../generic/tkCanvWind.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | WinItemLostSlaveProc(clientData, tkwin) | ^ 14 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkRectOval.c In file included from ./../generic/tkRectOval.c:17: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkRectOval.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | CreateRectOval(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkRectOval.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | RectOvalCoords(interp, canvas, itemPtr, argc, argv) | ^ ./../generic/tkRectOval.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | ConfigureRectOval(interp, canvas, itemPtr, argc, argv, flags) | ^ ./../generic/tkRectOval.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | DeleteRectOval(canvas, itemPtr, display) | ^ ./../generic/tkRectOval.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | ComputeRectOvalBbox(canvas, rectOvalPtr) | ^ ./../generic/tkRectOval.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | DisplayRectOval(canvas, itemPtr, display, drawable, x, y, width, height) | ^ ./../generic/tkRectOval.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | RectToPoint(canvas, itemPtr, pointPtr) | ^ ./../generic/tkRectOval.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | OvalToPoint(canvas, itemPtr, pointPtr) | ^ ./../generic/tkRectOval.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | RectToArea(canvas, itemPtr, areaPtr) | ^ ./../generic/tkRectOval.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | OvalToArea(canvas, itemPtr, areaPtr) | ^ ./../generic/tkRectOval.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | ScaleRectOval(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ ./../generic/tkRectOval.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | TranslateRectOval(canvas, itemPtr, deltaX, deltaY) | ^ ./../generic/tkRectOval.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | RectOvalToPostscript(interp, canvas, itemPtr, prepass) | ^ 14 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTrig.c In file included from ./../generic/tkTrig.c:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkTrig.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | TkLineToPoint(end1Ptr, end2Ptr, pointPtr) | ^ ./../generic/tkTrig.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | TkLineToArea(end1Ptr, end2Ptr, rectPtr) | ^ ./../generic/tkTrig.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | TkThickPolyLineToArea(coordPtr, numPoints, width, capStyle, joinStyle, rectPtr) | ^ ./../generic/tkTrig.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | TkPolygonToPoint(polyPtr, numPoints, pointPtr) | ^ ./../generic/tkTrig.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | TkPolygonToArea(polyPtr, numPoints, rectPtr) | ^ ./../generic/tkTrig.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | TkOvalToPoint(ovalPtr, width, filled, pointPtr) | ^ ./../generic/tkTrig.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | TkOvalToArea(ovalPtr, rectPtr) | ^ ./../generic/tkTrig.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | TkIncludePoint(itemPtr, pointPtr) | ^ ./../generic/tkTrig.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | TkBezierScreenPoints(canvas, control, numSteps, xPointPtr) | ^ ./../generic/tkTrig.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | TkBezierPoints(control, numSteps, coordPtr) | ^ ./../generic/tkTrig.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | TkMakeBezierCurve(canvas, pointPtr, numPoints, numSteps, xPoints, dblPoints) | ^ ./../generic/tkTrig.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | TkMakeBezierPostscript(interp, canvas, pointPtr, numPoints) | ^ ./../generic/tkTrig.c:1309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | TkGetMiterPoints(p1, p2, p3, width, m1, m2) | ^ ./../generic/tkTrig.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | TkGetButtPoints(p1, p2, width, project, m1, m2) | ^ 15 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImage.c In file included from ./../generic/tkImage.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkImage.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | Tk_CreateImageType(typePtr) | ^ ./../generic/tkImage.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | Tk_ImageCmd(clientData, interp, argc, argv) | ^ ./../generic/tkImage.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | Tk_ImageChanged(imageMaster, x, y, width, height, imageWidth, | ^ ./../generic/tkImage.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | Tk_NameOfImage(imageMaster) | ^ ./../generic/tkImage.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | Tk_GetImage(interp, tkwin, name, changeProc, clientData) | ^ ./../generic/tkImage.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | Tk_FreeImage(image) | ^ ./../generic/tkImage.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | Tk_RedrawImage(image, imageX, imageY, width, height, drawable, | ^ ./../generic/tkImage.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | Tk_SizeOfImage(image, widthPtr, heightPtr) | ^ ./../generic/tkImage.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | Tk_DeleteImage(interp, name) | ^ ./../generic/tkImage.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | DeleteImage(masterPtr) | ^ ./../generic/tkImage.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | TkDeleteAllImages(mainPtr) | ^ ./../generic/tkImage.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | Tk_GetImageMasterData(interp, name, typePtrPtr) | ^ 13 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgBmap.c In file included from ./../generic/tkImgBmap.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkImgBmap.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | ImgBmapCreate(interp, name, argc, argv, typePtr, master, clientDataPtr) | ^ ./../generic/tkImgBmap.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | ImgBmapConfigureMaster(masterPtr, argc, argv, flags) | ^ ./../generic/tkImgBmap.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | ImgBmapConfigureInstance(instancePtr) | ^ ./../generic/tkImgBmap.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | TkGetBitmapData(interp, string, fileName, widthPtr, heightPtr, | ^ ./../generic/tkImgBmap.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | NextBitmapWord(parseInfoPtr) | ^ ./../generic/tkImgBmap.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | ImgBmapCmd(clientData, interp, argc, argv) | ^ ./../generic/tkImgBmap.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | ImgBmapGet(tkwin, masterData) | ^ ./../generic/tkImgBmap.c:861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | ImgBmapDisplay(clientData, display, drawable, imageX, imageY, width, | ^ ./../generic/tkImgBmap.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | ImgBmapFree(clientData, display) | ^ ./../generic/tkImgBmap.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | ImgBmapDelete(masterData) | ^ ./../generic/tkImgBmap.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | ImgBmapCmdDeletedProc(clientData) | ^ ./../generic/tkImgBmap.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | GetByte(chan) | ^ 13 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgGIF.c In file included from ./../generic/tkImgGIF.c:60: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkImgGIF.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | FileMatchGIF(chan, fileName, formatString, widthPtr, heightPtr) | ^ ./../generic/tkImgGIF.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | FileReadGIF(interp, chan, fileName, formatString, imageHandle, destX, destY, | ^ ./../generic/tkImgGIF.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | StringMatchGIF(string, formatString, widthPtr, heightPtr) | ^ ./../generic/tkImgGIF.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | StringReadGIF(interp,string,formatString,imageHandle, | ^ ./../generic/tkImgGIF.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | ReadGIFHeader(chan, widthPtr, heightPtr) | ^ ./../generic/tkImgGIF.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | ReadColorMap(chan, number, buffer) | ^ ./../generic/tkImgGIF.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | DoExtension(chan, label, transparent) | ^ ./../generic/tkImgGIF.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | GetDataBlock(chan, buf) | ^ ./../generic/tkImgGIF.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | ReadImage(interp, imagePtr, chan, len, rows, cmap, | ^ ./../generic/tkImgGIF.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | LWZReadByte(chan, flag, input_code_size) | ^ ./../generic/tkImgGIF.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | GetCode(chan, code_size, flag) | ^ ./../generic/tkImgGIF.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | mInit(string, handle) | ^ ./../generic/tkImgGIF.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | Mread(dst, chunkSize, numChunks, handle) | ^ ./../generic/tkImgGIF.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | Mgetc(handle) | ^ ./../generic/tkImgGIF.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | char64(c) | ^ ./../generic/tkImgGIF.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | Fread(dst, hunk, count, chan) | ^ 17 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgPPM.c In file included from ./../generic/tkImgPPM.c:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkImgPPM.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | FileMatchPPM(chan, fileName, formatString, widthPtr, heightPtr) | ^ ./../generic/tkImgPPM.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | FileReadPPM(interp, chan, fileName, formatString, imageHandle, destX, destY, | ^ ./../generic/tkImgPPM.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | FileWritePPM(interp, fileName, formatString, blockPtr) | ^ ./../generic/tkImgPPM.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | ReadPPMFileHeader(chan, widthPtr, heightPtr, maxIntensityPtr) | ^ 5 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgPhoto.c In file included from ./../generic/tkImgPhoto.c:21: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkImgPhoto.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | Tk_CreatePhotoImageFormat(formatPtr) | ^ ./../generic/tkImgPhoto.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | ImgPhotoCreate(interp, name, argc, argv, typePtr, master, clientDataPtr) | ^ ./../generic/tkImgPhoto.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | ImgPhotoCmd(clientData, interp, argc, argv) | ^ ./../generic/tkImgPhoto.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | ParseSubcommandOptions(optPtr, interp, allowedOptions, optIndexPtr, argc, argv) | ^ ./../generic/tkImgPhoto.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | ImgPhotoConfigureMaster(interp, masterPtr, argc, argv, flags) | ^ ./../generic/tkImgPhoto.c:1462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1462 | ImgPhotoConfigureInstance(instancePtr) | ^ ./../generic/tkImgPhoto.c:1602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1602 | ImgPhotoGet(tkwin, masterData) | ^ ./../generic/tkImgPhoto.c:1803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1803 | ImgPhotoDisplay(clientData, display, drawable, imageX, imageY, width, | ^ ./../generic/tkImgPhoto.c:1863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1863 | ImgPhotoFree(clientData, display) | ^ ./../generic/tkImgPhoto.c:1909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1909 | ImgPhotoDelete(masterData) | ^ ./../generic/tkImgPhoto.c:1955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | ImgPhotoCmdDeletedProc(clientData) | ^ ./../generic/tkImgPhoto.c:1986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | ImgPhotoSetSize(masterPtr, width, height) | ^ ./../generic/tkImgPhoto.c:2148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2148 | ImgPhotoInstanceSetSize(instancePtr) | ^ ./../generic/tkImgPhoto.c:2282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2282 | IsValidPalette(instancePtr, palette) | ^ ./../generic/tkImgPhoto.c:2369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2369 | CountBits(mask) | ^ ./../generic/tkImgPhoto.c:2404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2404 | GetColorTable(instancePtr) | ^ ./../generic/tkImgPhoto.c:2501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2501 | FreeColorTable(colorPtr) | ^ ./../generic/tkImgPhoto.c:2535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2535 | AllocateColors(colorPtr) | ^ ./../generic/tkImgPhoto.c:2816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2816 | DisposeColorTable(clientData) | ^ ./../generic/tkImgPhoto.c:2864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2864 | ReclaimColors(id, numColors) | ^ ./../generic/tkImgPhoto.c:2955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2955 | DisposeInstance(clientData) | ^ ./../generic/tkImgPhoto.c:3014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3014 | MatchFileFormat(interp, chan, fileName, formatString, imageFormatPtr, | ^ ./../generic/tkImgPhoto.c:3105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3105 | MatchStringFormat(interp, string, formatString, imageFormatPtr, | ^ ./../generic/tkImgPhoto.c:3182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3182 | Tk_FindPhoto(interp, imageName) | ^ ./../generic/tkImgPhoto.c:3214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3214 | Tk_PhotoPutBlock(handle, blockPtr, x, y, width, height) | ^ ./../generic/tkImgPhoto.c:3357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3357 | Tk_PhotoPutZoomedBlock(handle, blockPtr, x, y, width, height, zoomX, zoomY, | ^ ./../generic/tkImgPhoto.c:3544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3544 | Dither(masterPtr, x, y, width, height) | ^ ./../generic/tkImgPhoto.c:3622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3622 | DitherInstance(instancePtr, xStart, yStart, width, height) | ^ ./../generic/tkImgPhoto.c:3962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3962 | Tk_PhotoBlank(handle) | ^ ./../generic/tkImgPhoto.c:4027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4027 | Tk_PhotoExpand(handle, width, height) | ^ ./../generic/tkImgPhoto.c:4068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4068 | Tk_PhotoGetSize(handle, widthPtr, heightPtr) | ^ ./../generic/tkImgPhoto.c:4101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4101 | Tk_PhotoSetSize(handle, width, height) | ^ ./../generic/tkImgPhoto.c:4139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4139 | Tk_PhotoGetImage(handle, blockPtr) | ^ 34 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkText.c In file included from ./../generic/tkText.c:20: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkText.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | Tk_TextCmd(clientData, interp, argc, argv) | ^ ./../generic/tkText.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | TextWidgetCmd(clientData, interp, argc, argv) | ^ ./../generic/tkText.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | DestroyText(memPtr) | ^ ./../generic/tkText.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | ConfigureText(interp, textPtr, argc, argv, flags) | ^ ./../generic/tkText.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | TextWorldChanged(instanceData) | ^ ./../generic/tkText.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | TextEventProc(clientData, eventPtr) | ^ ./../generic/tkText.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | TextCmdDeletedProc(clientData) | ^ ./../generic/tkText.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | InsertChars(textPtr, indexPtr, string) | ^ ./../generic/tkText.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | DeleteChars(textPtr, index1String, index2String) | ^ ./../generic/tkText.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | TextFetchSelection(clientData, offset, buffer, maxBytes) | ^ ./../generic/tkText.c:1500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | TkTextLostSelection(clientData) | ^ ./../generic/tkText.c:1544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | TextBlinkProc(clientData) | ^ ./../generic/tkText.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | TextSearchCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkText.c:1997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | TkTextGetTabs(interp, tkwin, string) | ^ ./../generic/tkText.c:2103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | TextDumpCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkText.c:2234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2234 | DumpLine(interp, textPtr, what, linePtr, start, end, lineno, command) | ^ ./../generic/tkText.c:2322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2322 | DumpSegment(interp, key, value, command, lineno, offset, what) | ^ 18 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextBTree.c In file included from ./../generic/tkTextBTree.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkTextBTree.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | TkBTreeCreate(textPtr) | ^ ./../generic/tkTextBTree.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | TkBTreeDestroy(tree) | ^ ./../generic/tkTextBTree.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | DestroyNode(nodePtr) | ^ ./../generic/tkTextBTree.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | DeleteSummaries(summaryPtr) | ^ ./../generic/tkTextBTree.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | TkBTreeInsertChars(indexPtr, string) | ^ ./../generic/tkTextBTree.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | SplitSeg(indexPtr) | ^ ./../generic/tkTextBTree.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | CleanupLine(linePtr) | ^ ./../generic/tkTextBTree.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | TkBTreeDeleteChars(index1Ptr, index2Ptr) | ^ ./../generic/tkTextBTree.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | TkBTreeFindLine(tree, line) | ^ ./../generic/tkTextBTree.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | TkBTreeNextLine(linePtr) | ^ ./../generic/tkTextBTree.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | TkBTreePreviousLine(linePtr) | ^ ./../generic/tkTextBTree.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | TkBTreeLineIndex(linePtr) | ^ ./../generic/tkTextBTree.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | TkBTreeLinkSegment(segPtr, indexPtr) | ^ ./../generic/tkTextBTree.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | TkBTreeUnlinkSegment(tree, segPtr, linePtr) | ^ ./../generic/tkTextBTree.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | TkBTreeTag(index1Ptr, index2Ptr, tagPtr, add) | ^ ./../generic/tkTextBTree.c:1298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | ChangeNodeToggleCount(nodePtr, tagPtr, delta) | ^ ./../generic/tkTextBTree.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | FindTagStart(tree, tagPtr, indexPtr) | ^ ./../generic/tkTextBTree.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | FindTagEnd(tree, tagPtr, indexPtr) | ^ ./../generic/tkTextBTree.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | TkBTreeStartSearch(index1Ptr, index2Ptr, tagPtr, searchPtr) | ^ ./../generic/tkTextBTree.c:1747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1747 | TkBTreeStartSearchBack(index1Ptr, index2Ptr, tagPtr, searchPtr) | ^ ./../generic/tkTextBTree.c:1854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1854 | TkBTreeNextTag(searchPtr) | ^ ./../generic/tkTextBTree.c:2016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2016 | TkBTreePrevTag(searchPtr) | ^ ./../generic/tkTextBTree.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2225 | TkBTreeCharTagged(indexPtr, tagPtr) | ^ ./../generic/tkTextBTree.c:2337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2337 | TkBTreeGetTags(indexPtr, numTagsPtr) | ^ ./../generic/tkTextBTree.c:2451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2451 | IncCount(tagPtr, inc, tagInfoPtr) | ^ ./../generic/tkTextBTree.c:2517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2517 | TkBTreeCheck(tree) | ^ ./../generic/tkTextBTree.c:2659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2659 | CheckNodeConsistency(nodePtr) | ^ ./../generic/tkTextBTree.c:2820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2820 | Rebalance(treePtr, nodePtr) | ^ ./../generic/tkTextBTree.c:3049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3049 | RecomputeNodeCounts(nodePtr) | ^ ./../generic/tkTextBTree.c:3196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3196 | TkBTreeNumLines(tree) | ^ ./../generic/tkTextBTree.c:3222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | CharSplitProc(segPtr, index) | ^ ./../generic/tkTextBTree.c:3265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3265 | CharCleanupProc(segPtr, linePtr) | ^ ./../generic/tkTextBTree.c:3307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3307 | CharDeleteProc(segPtr, linePtr, treeGone) | ^ ./../generic/tkTextBTree.c:3338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3338 | CharCheckProc(segPtr, linePtr) | ^ ./../generic/tkTextBTree.c:3387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3387 | ToggleDeleteProc(segPtr, linePtr, treeGone) | ^ ./../generic/tkTextBTree.c:3439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3439 | ToggleCleanupProc(segPtr, linePtr) | ^ ./../generic/tkTextBTree.c:3503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3503 | ToggleLineChangeProc(segPtr, linePtr) | ^ ./../generic/tkTextBTree.c:3532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3532 | ToggleCheckProc(segPtr, linePtr) | ^ ./../generic/tkTextBTree.c:3582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3582 | TkBTreeCharsInLine(linePtr) | ^ 40 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextDisp.c In file included from ./../generic/tkTextDisp.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkTextDisp.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | TkTextCreateDInfo(textPtr) | ^ ./../generic/tkTextDisp.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | TkTextFreeDInfo(textPtr) | ^ ./../generic/tkTextDisp.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | GetStyle(textPtr, indexPtr) | ^ ./../generic/tkTextDisp.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | FreeStyle(textPtr, stylePtr) | ^ ./../generic/tkTextDisp.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | LayoutDLine(textPtr, indexPtr) | ^ ./../generic/tkTextDisp.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | UpdateDisplayInfo(textPtr) | ^ ./../generic/tkTextDisp.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | FreeDLines(textPtr, firstPtr, lastPtr, unlink) | ^ ./../generic/tkTextDisp.c:1543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | DisplayDLine(textPtr, dlPtr, prevPtr, pixmap) | ^ ./../generic/tkTextDisp.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | DisplayLineBackground(textPtr, dlPtr, prevPtr, pixmap) | ^ ./../generic/tkTextDisp.c:2023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2023 | DisplayText(clientData) | ^ ./../generic/tkTextDisp.c:2410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2410 | TkTextEventuallyRepick(textPtr) | ^ ./../generic/tkTextDisp.c:2442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2442 | TkTextRedrawRegion(textPtr, x, y, width, height) | ^ ./../generic/tkTextDisp.c:2485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2485 | TextInvalidateRegion(textPtr, region) | ^ ./../generic/tkTextDisp.c:2551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2551 | TkTextChanged(textPtr, index1Ptr, index2Ptr) | ^ ./../generic/tkTextDisp.c:2631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2631 | TkTextRedrawTag(textPtr, index1Ptr, index2Ptr, tagPtr, withTag) | ^ ./../generic/tkTextDisp.c:2792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2792 | TkTextRelayoutWindow(textPtr) | ^ ./../generic/tkTextDisp.c:2893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2893 | TkTextSetYView(textPtr, indexPtr, pickPlace) | ^ ./../generic/tkTextDisp.c:3043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3043 | MeasureUp(textPtr, srcPtr, distance, dstPtr) | ^ ./../generic/tkTextDisp.c:3140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3140 | TkTextSeeCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkTextDisp.c:3261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3261 | TkTextXviewCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkTextDisp.c:3338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3338 | ScrollByLines(textPtr, offset) | ^ ./../generic/tkTextDisp.c:3448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3448 | TkTextYviewCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkTextDisp.c:3614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3614 | TkTextScanCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkTextDisp.c:3723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3723 | GetXView(interp, textPtr, report) | ^ ./../generic/tkTextDisp.c:3793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3793 | GetYView(interp, textPtr, report) | ^ ./../generic/tkTextDisp.c:3872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3872 | FindDLine(dlPtr, indexPtr) | ^ ./../generic/tkTextDisp.c:3943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3943 | TkTextPixelIndex(textPtr, x, y, indexPtr) | ^ ./../generic/tkTextDisp.c:4047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4047 | TkTextCharBbox(textPtr, indexPtr, xPtr, yPtr, widthPtr, heightPtr) | ^ ./../generic/tkTextDisp.c:4156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4156 | TkTextDLineInfo(textPtr, indexPtr, xPtr, yPtr, widthPtr, heightPtr, basePtr) | ^ ./../generic/tkTextDisp.c:4222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4222 | TkTextCharLayoutProc(textPtr, indexPtr, segPtr, offset, maxX, maxChars, | ^ ./../generic/tkTextDisp.c:4372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4372 | CharDisplayProc(chunkPtr, x, y, height, baseline, display, dst, screenY) | ^ ./../generic/tkTextDisp.c:4471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4471 | CharUndisplayProc(textPtr, chunkPtr) | ^ ./../generic/tkTextDisp.c:4500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4500 | CharMeasureProc(chunkPtr, x) | ^ ./../generic/tkTextDisp.c:4536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4536 | CharBboxProc(chunkPtr, index, y, lineHeight, baseline, xPtr, yPtr, | ^ ./../generic/tkTextDisp.c:4612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4612 | AdjustForTab(textPtr, tabArrayPtr, index, chunkPtr) | ^ ./../generic/tkTextDisp.c:4794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4794 | SizeOfTab(textPtr, tabArrayPtr, index, x, maxX) | ^ ./../generic/tkTextDisp.c:4893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4893 | NextTabStop(tkfont, x, tabOrigin) | ^ ./../generic/tkTextDisp.c:4949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4949 | MeasureChars(tkfont, source, maxChars, startX, maxX, tabOrigin, nextXPtr) | ^ 39 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextImage.c In file included from ./../generic/tkTextImage.c:16: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkTextImage.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | TkTextImageCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkTextImage.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | EmbImageConfigure(textPtr, eiPtr, argc, argv) | ^ ./../generic/tkTextImage.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | AlignParseProc(clientData, interp, tkwin, value, widgRec, offset) | ^ ./../generic/tkTextImage.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | AlignPrintProc(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ./../generic/tkTextImage.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | EmbImageDeleteProc(eiPtr, linePtr, treeGone) | ^ ./../generic/tkTextImage.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | EmbImageCleanupProc(eiPtr, linePtr) | ^ ./../generic/tkTextImage.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | EmbImageLayoutProc(textPtr, indexPtr, eiPtr, offset, maxX, maxChars, | ^ ./../generic/tkTextImage.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | EmbImageCheckProc(eiPtr, linePtr) | ^ ./../generic/tkTextImage.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | EmbImageDisplayProc(chunkPtr, x, y, lineHeight, baseline, display, dst, screenY) | ^ ./../generic/tkTextImage.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | EmbImageBboxProc(chunkPtr, index, y, lineHeight, baseline, xPtr, yPtr, | ^ ./../generic/tkTextImage.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | TkTextImageIndex(textPtr, name, indexPtr) | ^ ./../generic/tkTextImage.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | EmbImageProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ 13 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextIndex.c In file included from ./../generic/tkTextIndex.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkTextIndex.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | TkTextMakeIndex(tree, lineIndex, charIndex, indexPtr) | ^ ./../generic/tkTextIndex.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | TkTextIndexToSeg(indexPtr, offsetPtr) | ^ ./../generic/tkTextIndex.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | TkTextSegToOffset(segPtr, linePtr) | ^ ./../generic/tkTextIndex.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | TkTextGetIndex(interp, textPtr, string, indexPtr) | ^ ./../generic/tkTextIndex.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | TkTextPrintIndex(indexPtr, string) | ^ ./../generic/tkTextIndex.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | TkTextIndexCmp(index1Ptr, index2Ptr) | ^ ./../generic/tkTextIndex.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | ForwBack(string, indexPtr) | ^ ./../generic/tkTextIndex.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | TkTextIndexForwChars(srcPtr, count, dstPtr) | ^ ./../generic/tkTextIndex.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | TkTextIndexBackChars(srcPtr, count, dstPtr) | ^ ./../generic/tkTextIndex.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | StartEnd(string, indexPtr) | ^ 11 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextMark.c In file included from ./../generic/tkTextMark.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkTextMark.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | TkTextMarkCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkTextMark.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | TkTextSetMark(textPtr, name, indexPtr) | ^ ./../generic/tkTextMark.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | TkTextMarkSegToIndex(textPtr, markPtr, indexPtr) | ^ ./../generic/tkTextMark.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | TkTextMarkNameToIndex(textPtr, name, indexPtr) | ^ ./../generic/tkTextMark.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | MarkDeleteProc(segPtr, linePtr, treeGone) | ^ ./../generic/tkTextMark.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | MarkCleanupProc(markPtr, linePtr) | ^ ./../generic/tkTextMark.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | MarkLayoutProc(textPtr, indexPtr, segPtr, offset, maxX, maxChars, | ^ ./../generic/tkTextMark.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | TkTextInsertDisplayProc(chunkPtr, x, y, height, baseline, display, dst, screenY) | ^ ./../generic/tkTextMark.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | InsertUndisplayProc(textPtr, chunkPtr) | ^ ./../generic/tkTextMark.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | MarkCheckProc(markPtr, linePtr) | ^ ./../generic/tkTextMark.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | MarkFindNext(interp, textPtr, string) | ^ ./../generic/tkTextMark.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | MarkFindPrev(interp, textPtr, string) | ^ 13 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextTag.c In file included from ./../generic/tkTextTag.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkTextTag.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | TkTextTagCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkTextTag.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | TkTextCreateTag(textPtr, tagName) | ^ ./../generic/tkTextTag.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | FindTag(interp, textPtr, tagName) | ^ ./../generic/tkTextTag.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | TkTextFreeTag(textPtr, tagPtr) | ^ ./../generic/tkTextTag.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | SortTags(numTags, tagArrayPtr) | ^ ./../generic/tkTextTag.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | TagSortProc(first, second) | ^ ./../generic/tkTextTag.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | ChangeTagPriority(textPtr, tagPtr, prio) | ^ ./../generic/tkTextTag.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | TkTextBindProc(clientData, eventPtr) | ^ ./../generic/tkTextTag.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | TkTextPickCurrent(textPtr, eventPtr) | ^ 10 warnings generated. clang -c -pipe -Os -I/opt/pkg/include -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextWind.c In file included from ./../generic/tkTextWind.c:17: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE ./../generic/tkTextWind.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | TkTextWindowCmd(textPtr, interp, argc, argv) | ^ ./../generic/tkTextWind.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | EmbWinConfigure(textPtr, ewPtr, argc, argv) | ^ ./../generic/tkTextWind.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | AlignParseProc(clientData, interp, tkwin, value, widgRec, offset) | ^ ./../generic/tkTextWind.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | AlignPrintProc(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ./../generic/tkTextWind.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | EmbWinStructureProc(clientData, eventPtr) | ^ ./../generic/tkTextWind.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | EmbWinRequestProc(clientData, tkwin) | ^ ./../generic/tkTextWind.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | EmbWinLostSlaveProc(clientData, tkwin) | ^ ./../generic/tkTextWind.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | EmbWinDeleteProc(ewPtr, linePtr, treeGone) | ^ ./../generic/tkTextWind.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | EmbWinCleanupProc(ewPtr, linePtr) | ^ ./../generic/tkTextWind.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | EmbWinLayoutProc(textPtr, indexPtr, ewPtr, offset, maxX, maxChars, | ^ ./../generic/tkTextWind.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | EmbWinCheckProc(ewPtr, linePtr) | ^ ./../generic/tkTextWind.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | EmbWinDisplayProc(chunkPtr, x, y, lineHeight, baseline, display, dst, screenY) | ^ ./../generic/tkTextWind.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | EmbWinUndisplayProc(textPtr, chunkPtr) | ^ ./../generic/tkTextWind.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | EmbWinBboxProc(chunkPtr, index, y, lineHeight, baseline, xPtr, yPtr, | ^ ./../generic/tkTextWind.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | EmbWinDelayedUnmap(clientData) | ^ ./../generic/tkTextWind.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | TkTextWindowIndex(textPtr, name, indexPtr) | ^ 17 warnings generated. rm -f libtk.a ar cr libtk.a tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkCursor.o tkError.o tkEvent.o tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o tkOption.o tkPack.o tkPlace.o tkSelect.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixCursor.o tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o tkUnixInit.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o ranlib libtk.a make Snow clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c userinit.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c stk.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c slib.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c primitives.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c boolean.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c char.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c str.c str.c:188:38: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] 188 | if ((from=STk_integer_value(start))==LONG_MIN) Err(msg ,start); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~ str.c:189:35: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] 189 | if ((to=STk_integer_value(end)) == LONG_MIN) Err(msg ,end); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c vector.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c gc.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c port.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c number.c number.c:650:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 650 | else Err("bad number in an integer division", x); | ^ number.c:654:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 654 | else Err("bad number in an integer division", y); | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c list.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c symbol.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c read.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c print.c print.c:69:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 69 | if (strlen(p) == len) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c eval.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c env.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c macros.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c syntax.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c cont.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c io.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c sport.c sport.c:41:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 41 | strcpy(p->base, str); | ^~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c promise.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c error.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c proc.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c keyword.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c dump.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c address.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c dynload.c dynload.c:696:1: warning: non-void function does not return a value [-Wreturn-type] 696 | } | ^ dynload.c:702:1: warning: non-void function does not return a value [-Wreturn-type] 702 | } | ^ dynload.c:708:1: warning: non-void function does not return a value [-Wreturn-type] 708 | } | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c unix.c unix.c:755:7: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 755 | s = tmpnam(NULL); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:287:1: note: 'tmpnam' has been explicitly marked deprecated here 287 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c toplevel.c toplevel.c:58:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 58 | Fprintf(STk_curr_eport, "Copyright 1993-1999 Erick Gallesio - "); | ^~~~ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c argv.c argv.c:153:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 153 | else | ^ argv.c:256:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 256 | fprintf(f, "%d %s\n", strlen(*argv), *argv); | ~~ ^~~~~~~~~~~~~ | %lu argv.c:261:22: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 261 | fprintf(f, "%d\n", env-environ); | ~~ ^~~~~~~~~~~ | %ld argv.c:264:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 264 | fprintf(f, "%d %s\n", strlen(*env), *env); | ~~ ^~~~~~~~~~~~ | %lu 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c extend.c extend.c:100:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] 100 | return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); | ^ ~~~~~~~~~~~~~ extend.c:100:36: note: use '&' for a bitwise operation 100 | return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); | ^~ | & extend.c:100:36: note: remove constant to silence this warning 100 | return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); | ^~~~~~~~~~~~~~~~ extend.c:172:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 172 | static C_hash_table_initialized = 0; | ~~~~~~ ^ | int extend.c:187:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | return (*(p->getter))(var); | ^ extend.c:202:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | (*(p->setter))(var, value); | ^ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c signal.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c trace.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c module.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c dummy.c dummy.c:40:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | char *Tcl_SetVar2(interp, name1, name2, val, flags) | ^ dummy.c:46:1: warning: non-void function does not return a value [-Wreturn-type] 46 | } | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c stklos.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c vport.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c console.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tcl-lib.c tcl-lib.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | Tcl_IsSafe(interp) | ^ tcl-lib.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | Tcl_HideCommand(interp, cmdName, hiddenCmdName) | ^ tcl-lib.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | Tcl_WrongNumArgs(interp, objc, objv, message) | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tcl-util.c In file included from tcl-util.c:38: In file included from ../Tcl/tclPort.h:30: ../Tcl/tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ tcl-util.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | Tcl_PosixError(interp) | ^ tcl-util.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | Tcl_Backslash(src, readPtr) | ^ tcl-util.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | Tcl_TildeSubst(interp, name, bufferPtr) | ^ ../Tcl/tcl.h:1556:24: note: expanded from macro 'Tcl_TildeSubst' 1556 | #define Tcl_TildeSubst Tcl_TranslateFileName | ^ tcl-util.c:268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | int Tcl_ExprDouble(interp, string, ptr) | ^ tcl-util.c:287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | int Tcl_ExprLong(interp, string, ptr) | ^ tcl-util.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | Tcl_AllowExceptions(interp) | ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tcl-glue.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tcl-obj.c tcl-obj.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | Tcl_NewListObj(objc, objv) | ^ tcl-obj.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | Tcl_ListObjLength(interp, listPtr, intPtr) | ^ tcl-obj.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | Tcl_ListObjAppendElement(interp, listPtr, objPtr) | ^ tcl-obj.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | Tcl_ListObjReplace(interp, listPtr, first, count, objc, objv) | ^ tcl-obj.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | Tcl_ListObjIndex(interp, listPtr, index, objPtrPtr) | ^ tcl-obj.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | Tcl_ListObjGetElements(interp, listPtr, objcPtr, objvPtr) | ^ tcl-obj.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | Tcl_NewStringObj(bytes, length) | ^ tcl-obj.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | Tcl_AppendToObj(objPtr, bytes, length) | ^ tcl-obj.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | Tcl_GetStringFromObj(objPtr, lengthPtr) | ^ tcl-obj.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | Tcl_SetStringObj(objPtr, bytes, length) | ^ tcl-obj.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | Tcl_SetDoubleObj(objPtr, dblValue) | ^ tcl-obj.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | Tcl_GetDoubleFromObj(interp, objPtr, dblPtr) | ^ tcl-obj.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | Tcl_SetLongObj(objPtr, longValue) | ^ tcl-obj.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | Tcl_GetLongFromObj(interp, objPtr, longPtr) | ^ tcl-obj.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | Tcl_NewIntObj(intValue) | ^ tcl-obj.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | Tcl_SetIntObj(objPtr, intValue) | ^ tcl-obj.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | Tcl_GetIntFromObj(interp, objPtr, intPtr) | ^ tcl-obj.c:559:15: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] 559 | if (*intPtr == LONG_MIN) { | ~~~~~~~ ^ ~~~~~~~~ tcl-obj.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | Tcl_SetBooleanObj(objPtr, boolValue) | ^ tcl-obj.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | Tcl_GetBooleanFromObj(interp, objPtr, boolPtr) | ^ tcl-obj.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | Tcl_NewBooleanObj(boolValue) | ^ tcl-obj.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | Tcl_GetIndexFromObj(interp, objPtr, tablePtr, msg, flags, indexPtr) | ^ 22 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c hash.c hash.c:230:74: warning: add explicit braces to avoid dangling else [-Wdangling-else] 230 | if ((void *) SUBRF(compar) == (void *) STk_eq) type = hash_eq; else | ^ hash.c:302:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 302 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:302:16: note: place parentheses around the assignment to silence this warning 302 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ^ | ( ) hash.c:302:16: note: use '==' to turn this assignment into an equality comparison 302 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ^ | == hash.c:308:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 308 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:308:16: note: place parentheses around the assignment to silence this warning 308 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ^ | ( ) hash.c:308:16: note: use '==' to turn this assignment into an equality comparison 308 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ^ | == hash.c:314:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 314 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:314:16: note: place parentheses around the assignment to silence this warning 314 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ^ | ( ) hash.c:314:16: note: use '==' to turn this assignment into an equality comparison 314 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ^ | == hash.c:317:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 317 | if (tmp = find_key(key, val, HASH_COMP(ht))) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:317:10: note: place parentheses around the assignment to silence this warning 317 | if (tmp = find_key(key, val, HASH_COMP(ht))) | ^ | ( ) hash.c:317:10: note: use '==' to turn this assignment into an equality comparison 317 | if (tmp = find_key(key, val, HASH_COMP(ht))) | ^ | == hash.c:337:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 337 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:337:16: note: place parentheses around the assignment to silence this warning 337 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ^ | ( ) hash.c:337:16: note: use '==' to turn this assignment into an equality comparison 337 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ^ | == hash.c:343:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 343 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:343:16: note: place parentheses around the assignment to silence this warning 343 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ^ | ( ) hash.c:343:16: note: use '==' to turn this assignment into an equality comparison 343 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ^ | == hash.c:349:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 349 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:349:16: note: place parentheses around the assignment to silence this warning 349 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ^ | ( ) hash.c:349:16: note: use '==' to turn this assignment into an equality comparison 349 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ^ | == 8 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c posix.c posix.c:333:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 333 | if (len=strftime(buffer, 1023, CHARS(format), p)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ posix.c:333:10: note: place parentheses around the assignment to silence this warning 333 | if (len=strftime(buffer, 1023, CHARS(format), p)) | ^ | ( ) posix.c:333:10: note: use '==' to turn this assignment into an equality comparison 333 | if (len=strftime(buffer, 1023, CHARS(format), p)) | ^ | == 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c socket.c socket.c:249:48: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 249 | if (getsockname(s, (struct sockaddr *) &sin, (int *) &len) < 0) { | ^~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ socket.c:309:77: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 309 | if (BAD_SOCKET(new_s = accept(SOCKET(sock)->fd, (struct sockaddr *) &sin, &len))) | ^~~~ socket.c:50:27: note: expanded from macro 'BAD_SOCKET' 50 | # define BAD_SOCKET(s) ((s) < 0) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ socket.c:524:63: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 524 | if (getsockname(SOCKET(sock)->fd, (struct sockaddr *) &sin, &len)) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c sregexp.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c process.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c html.c html.c:159:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | Tcl_DStringAppend(dStr, &table[i].c, 1); | ^~~~~~~~~~~ ../Tcl/tcl.h:1239:20: note: passing argument to parameter 'string' here 1239 | CONST char *string, int length)); | ^ html.c:222:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 222 | for (s = CHARS(str); c = *s; s++) { | ~~^~~~ html.c:222:26: note: place parentheses around the assignment to silence this warning 222 | for (s = CHARS(str); c = *s; s++) { | ^ | ( ) html.c:222:26: note: use '==' to turn this assignment into an equality comparison 222 | for (s = CHARS(str); c = *s; s++) { | ^ | == 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c base64.c clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c locale.c /bin/rm -f libsnow.a ar rc libsnow.a stk.o slib.o primitives.o boolean.o char.o str.o vector.o gc.o port.o number.o list.o symbol.o read.o print.o eval.o env.o macros.o syntax.o cont.o io.o sport.o promise.o error.o proc.o keyword.o dump.o address.o dynload.o unix.o toplevel.o argv.o extend.o signal.o trace.o module.o dummy.o stklos.o vport.o console.o tcl-lib.o tcl-util.o tcl-glue.o tcl-obj.o hash.o posix.o socket.o sregexp.o process.o html.o base64.o locale.o ranlib libsnow.a /bin/rm -f snow clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DNO_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -o snow userinit.o libsnow.a ../Mp/libgmp.a ../Stack/libstack.a ../Tcl/libtcl.a -L/opt/pkg/lib -L/opt/pkg/lib -ldl -lm make Src clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c userinit.c In file included from userinit.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c stk.c In file included from stk.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c slib.c In file included from slib.c:26: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c primitives.c In file included from primitives.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c boolean.c In file included from boolean.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c char.c In file included from char.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c str.c In file included from str.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE str.c:188:38: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] 188 | if ((from=STk_integer_value(start))==LONG_MIN) Err(msg ,start); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~ str.c:189:35: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] 189 | if ((to=STk_integer_value(end)) == LONG_MIN) Err(msg ,end); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c vector.c In file included from vector.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c gc.c In file included from gc.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c port.c In file included from port.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c number.c In file included from number.c:38: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE number.c:650:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 650 | else Err("bad number in an integer division", x); | ^ number.c:654:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 654 | else Err("bad number in an integer division", y); | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c list.c In file included from list.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c symbol.c In file included from symbol.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c read.c In file included from read.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c print.c In file included from print.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE print.c:69:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 69 | if (strlen(p) == len) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c eval.c In file included from eval.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c env.c In file included from env.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c macros.c In file included from macros.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c syntax.c In file included from syntax.c:39: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c cont.c In file included from cont.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c io.c In file included from io.c:50: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c sport.c In file included from sport.c:27: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE sport.c:41:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 41 | strcpy(p->base, str); | ^~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c promise.c In file included from promise.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c error.c In file included from error.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c proc.c In file included from proc.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c keyword.c In file included from keyword.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c dump.c In file included from dump.c:21: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c address.c In file included from address.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c dynload.c In file included from dynload.c:90: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE dynload.c:696:1: warning: non-void function does not return a value [-Wreturn-type] 696 | } | ^ dynload.c:702:1: warning: non-void function does not return a value [-Wreturn-type] 702 | } | ^ dynload.c:708:1: warning: non-void function does not return a value [-Wreturn-type] 708 | } | ^ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c unix.c In file included from unix.c:58: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE unix.c:755:7: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 755 | s = tmpnam(NULL); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:287:1: note: 'tmpnam' has been explicitly marked deprecated here 287 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c toplevel.c In file included from toplevel.c:32: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE toplevel.c:58:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 58 | Fprintf(STk_curr_eport, "Copyright 1993-1999 Erick Gallesio - "); | ^~~~ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c argv.c In file included from argv.c:37: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE argv.c:153:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 153 | else | ^ argv.c:256:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 256 | fprintf(f, "%d %s\n", strlen(*argv), *argv); | ~~ ^~~~~~~~~~~~~ | %lu argv.c:261:22: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 261 | fprintf(f, "%d\n", env-environ); | ~~ ^~~~~~~~~~~ | %ld argv.c:264:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 264 | fprintf(f, "%d %s\n", strlen(*env), *env); | ~~ ^~~~~~~~~~~~ | %lu 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c extend.c In file included from extend.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE extend.c:100:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] 100 | return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); | ^ ~~~~~~~~~~~~~ extend.c:100:36: note: use '&' for a bitwise operation 100 | return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); | ^~ | & extend.c:100:36: note: remove constant to silence this warning 100 | return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); | ^~~~~~~~~~~~~~~~ extend.c:172:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 172 | static C_hash_table_initialized = 0; | ~~~~~~ ^ | int extend.c:187:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | return (*(p->getter))(var); | ^ extend.c:202:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | (*(p->setter))(var, value); | ^ 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c signal.c In file included from signal.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c trace.c In file included from trace.c:41: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE trace.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | int Tcl_TraceVar(interp, var, flags, proc, clientData) | ^ trace.c:251:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | int Tcl_TraceVar2(interp, name1, name2, flags, proc, clientData) | ^ trace.c:258:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | void Tcl_UntraceVar(interp, var, flags, proc, clientData) | ^ trace.c:265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | void Tcl_UntraceVar2(interp, name1, name2, flags, proc, clientData) | ^ 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c module.c In file included from module.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c dummy.c In file included from dummy.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c stklos.c In file included from stklos.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c vport.c In file included from vport.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c console.c In file included from console.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tcl-lib.c In file included from tcl-lib.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE tcl-lib.c:44:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | int Tcl_GlobalEval(interp, s) | ^ tcl-lib.c:95:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | int Tcl_Eval(interp, s) /* very simplist. */ | ^ tcl-lib.c:159:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | char *Tcl_GetVar(interp, var, flags) | ^ tcl-lib.c:168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | char *Tcl_GetVar2(interp, name1, name2, flags) | ^ tcl-lib.c:178:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | char *Tcl_SetVar(interp, var, val, flags) | ^ tcl-lib.c:187:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | char *Tcl_SetVar2(interp, name1, name2, val, flags) | ^ tcl-lib.c:202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | int STk_internal_Tcl_DeleteCommand(interp, cmdName) | ^ tcl-lib.c:237:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | int Tcl_DeleteCommand(interp, cmdName) | ^ tcl-lib.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | Tcl_DeleteCommandFromToken(interp, cmd) | ^ tcl-lib.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | Tcl_CreateCommand(interp, cmdName, proc, clientData, deleteProc) | ^ tcl-lib.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | Tcl_GetCommandName(interp, command) | ^ tcl-lib.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | Tcl_GetCommandInfo(interp, cmdName, infoPtr) | ^ tcl-lib.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | Tcl_SetAssocData(interp, name, proc, clientData) | ^ tcl-lib.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | Tcl_DeleteAssocData(interp, name) | ^ tcl-lib.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | Tcl_GetAssocData(interp, name, procPtr) | ^ tcl-lib.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | Tcl_InterpDeleted(interp) | ^ tcl-lib.c:640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | void Tcl_DeleteInterp(interp) | ^ tcl-lib.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | Tcl_GetOpenFile(interp, string, forWriting, checkUsage, filePtr) | ^ tcl-lib.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | Tcl_IsSafe(interp) | ^ tcl-lib.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | Tcl_HideCommand(interp, cmdName, hiddenCmdName) | ^ tcl-lib.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | Tcl_WrongNumArgs(interp, objc, objv, message) | ^ 22 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tcl-util.c In file included from tcl-util.c:35: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE In file included from tcl-util.c:38: In file included from ../Tcl/tclPort.h:30: ../Tcl/tclUnixPort.h:473:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 473 | extern double strtod(); | ^ tcl-util.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | Tcl_PosixError(interp) | ^ tcl-util.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | Tcl_Backslash(src, readPtr) | ^ tcl-util.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | Tcl_TildeSubst(interp, name, bufferPtr) | ^ ../Tcl/tcl.h:1556:24: note: expanded from macro 'Tcl_TildeSubst' 1556 | #define Tcl_TildeSubst Tcl_TranslateFileName | ^ tcl-util.c:268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | int Tcl_ExprDouble(interp, string, ptr) | ^ tcl-util.c:287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | int Tcl_ExprLong(interp, string, ptr) | ^ tcl-util.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | void Tcl_AddErrorInfo(interp, message) | ^ tcl-util.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | Tcl_AllowExceptions(interp) | ^ 9 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tcl-glue.c In file included from tcl-glue.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tcl-obj.c In file included from tcl-obj.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE tcl-obj.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | Tcl_CreateObjCommand(interp, cmdName, proc, clientData, deleteProc) | ^ tcl-obj.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | Tcl_NewListObj(objc, objv) | ^ tcl-obj.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | Tcl_ListObjLength(interp, listPtr, intPtr) | ^ tcl-obj.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | Tcl_ListObjAppendElement(interp, listPtr, objPtr) | ^ tcl-obj.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | Tcl_ListObjReplace(interp, listPtr, first, count, objc, objv) | ^ tcl-obj.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | Tcl_ListObjIndex(interp, listPtr, index, objPtrPtr) | ^ tcl-obj.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | Tcl_ListObjGetElements(interp, listPtr, objcPtr, objvPtr) | ^ tcl-obj.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | Tcl_NewStringObj(bytes, length) | ^ tcl-obj.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | Tcl_AppendToObj(objPtr, bytes, length) | ^ tcl-obj.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | Tcl_GetStringFromObj(objPtr, lengthPtr) | ^ tcl-obj.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | Tcl_SetStringObj(objPtr, bytes, length) | ^ tcl-obj.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | Tcl_SetDoubleObj(objPtr, dblValue) | ^ tcl-obj.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | Tcl_GetDoubleFromObj(interp, objPtr, dblPtr) | ^ tcl-obj.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | Tcl_SetLongObj(objPtr, longValue) | ^ tcl-obj.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | Tcl_GetLongFromObj(interp, objPtr, longPtr) | ^ tcl-obj.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | Tcl_NewIntObj(intValue) | ^ tcl-obj.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | Tcl_SetIntObj(objPtr, intValue) | ^ tcl-obj.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | Tcl_GetIntFromObj(interp, objPtr, intPtr) | ^ tcl-obj.c:559:15: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] 559 | if (*intPtr == LONG_MIN) { | ~~~~~~~ ^ ~~~~~~~~ tcl-obj.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | Tcl_SetBooleanObj(objPtr, boolValue) | ^ tcl-obj.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | Tcl_GetBooleanFromObj(interp, objPtr, boolPtr) | ^ tcl-obj.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | Tcl_NewBooleanObj(boolValue) | ^ tcl-obj.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | Tcl_GetIndexFromObj(interp, objPtr, tablePtr, msg, flags, indexPtr) | ^ tcl-obj.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | Tcl_EvalObj(interp, objPtr) | ^ 25 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tk-main.c In file included from tk-main.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tk-glue.c In file included from tk-glue.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c tk-util.c In file included from tk-util.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c pixmap.c In file included from pixmap.c:45: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE pixmap.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | ImgXpmCreate(interp, name, argc, argv, typePtr, master, clientDataPtr) | ^ pixmap.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | ImgXpmConfigureMaster(masterPtr, argc, argv, flags) | ^ pixmap.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | ImgXpmGetData(interp, masterPtr) | ^ pixmap.c:474:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | static char ** ImgXpmGetDataFromId(interp, id) | ^ pixmap.c:495:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | static char ** ImgXpmGetDataFromString(interp, string, numLines_return) | ^ pixmap.c:624:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | static char ** ImgXpmGetDataFromFile(interp, fileName, numLines_return) | ^ pixmap.c:681:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | static char * GetType(colorDefn, type_ret) | ^ pixmap.c:728:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | static char * GetColor(colorDefn, colorName, type_ret) | ^ pixmap.c:793:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | static void ImgXpmGetPixmapFromData(interp, masterPtr, instancePtr) | ^ pixmap.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | ImgXpmConfigureInstance(instancePtr) | ^ pixmap.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | ImgXpmCmd(clientData, interp, argc, argv) | ^ pixmap.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | ImgXpmGet(tkwin, masterData) | ^ pixmap.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | ImgXpmDisplay(clientData, display, drawable, imageX, imageY, width, | ^ pixmap.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | ImgXpmFree(clientData, display) | ^ pixmap.c:1412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1412 | ImgXpmDelete(masterData) | ^ pixmap.c:1450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | ImgXpmCmdDeletedProc(clientData) | ^ 17 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c jpeg.c In file included from jpeg.c:49: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE jpeg.c:70:5: warning: incompatible function pointer types initializing 'Tk_ImageFileMatchProc *' (aka 'int (*)(struct Tcl_Channel_ *, char *, char *, int *, int *)') with an expression of type 'int (FILE *, char *, char *, int *, int *)' (aka 'int (struct __sFILE *, char *, char *, int *, int *)') [-Wincompatible-function-pointer-types] 70 | FileMatchJPEG, /* fileMatchProc */ | ^~~~~~~~~~~~~ jpeg.c:72:5: warning: incompatible function pointer types initializing 'Tk_ImageFileReadProc *' (aka 'int (*)(struct Tcl_Interp *, struct Tcl_Channel_ *, char *, char *, void *, int, int, int, int, int, int)') with an expression of type 'int (Tcl_Interp *, FILE *, char *, char *, Tk_PhotoHandle, int, int, int, int, int, int)' (aka 'int (struct Tcl_Interp *, struct __sFILE *, char *, char *, void *, int, int, int, int, int, int)') [-Wincompatible-function-pointer-types] 72 | FileReadJPEG, /* fileReadProc */ | ^~~~~~~~~~~~ jpeg.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | FileMatchJPEG(f, fileName, formatString, widthPtr, heightPtr) | ^ jpeg.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | FileReadJPEG(interp, f, fileName, formatString, imageHandle, destX, destY, | ^ jpeg.c:499:12: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] 499 | dest = y + (8 * piece); | ^ ~~~~~~~~~~~~~~~ jpeg.c:507:12: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] 507 | dest = y + (16*8) + (8 * (piece-2)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpeg.c:515:12: warning: assigning to 'unsigned char *' from 'signed char[64]' converts between pointers to integer types with different sign [-Wpointer-sign] 515 | dest = cb; | ^ ~~ jpeg.c:523:12: warning: assigning to 'unsigned char *' from 'signed char[64]' converts between pointers to integer types with different sign [-Wpointer-sign] 523 | dest = cr; | ^ ~~ jpeg.c:533:12: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] 533 | dest = y + (8 * piece); | ^ ~~~~~~~~~~~~~~~ jpeg.c:541:12: warning: assigning to 'unsigned char *' from 'signed char[64]' converts between pointers to integer types with different sign [-Wpointer-sign] 541 | dest = cb; | ^ ~~ jpeg.c:549:12: warning: assigning to 'unsigned char *' from 'signed char[64]' converts between pointers to integer types with different sign [-Wpointer-sign] 549 | dest = cr; | ^ ~~ jpeg.c:598:13: warning: assigning to 'signed char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 598 | outPtr = dest; | ^ ~~~~ jpeg.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | ReadJPEGFileHeader(f, wPtr, hPtr, decPtr, lumqt, chqt) | ^ 14 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c hash.c In file included from hash.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE hash.c:230:74: warning: add explicit braces to avoid dangling else [-Wdangling-else] 230 | if ((void *) SUBRF(compar) == (void *) STk_eq) type = hash_eq; else | ^ hash.c:302:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 302 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:302:16: note: place parentheses around the assignment to silence this warning 302 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ^ | ( ) hash.c:302:16: note: use '==' to turn this assignment into an equality comparison 302 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ^ | == hash.c:308:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 308 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:308:16: note: place parentheses around the assignment to silence this warning 308 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ^ | ( ) hash.c:308:16: note: use '==' to turn this assignment into an equality comparison 308 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ^ | == hash.c:314:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 314 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:314:16: note: place parentheses around the assignment to silence this warning 314 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ^ | ( ) hash.c:314:16: note: use '==' to turn this assignment into an equality comparison 314 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ^ | == hash.c:317:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 317 | if (tmp = find_key(key, val, HASH_COMP(ht))) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:317:10: note: place parentheses around the assignment to silence this warning 317 | if (tmp = find_key(key, val, HASH_COMP(ht))) | ^ | ( ) hash.c:317:10: note: use '==' to turn this assignment into an equality comparison 317 | if (tmp = find_key(key, val, HASH_COMP(ht))) | ^ | == hash.c:337:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 337 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:337:16: note: place parentheses around the assignment to silence this warning 337 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ^ | ( ) hash.c:337:16: note: use '==' to turn this assignment into an equality comparison 337 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) | ^ | == hash.c:343:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 343 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:343:16: note: place parentheses around the assignment to silence this warning 343 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ^ | ( ) hash.c:343:16: note: use '==' to turn this assignment into an equality comparison 343 | if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) | ^ | == hash.c:349:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 349 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:349:16: note: place parentheses around the assignment to silence this warning 349 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ^ | ( ) hash.c:349:16: note: use '==' to turn this assignment into an equality comparison 349 | if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { | ^ | == 9 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c posix.c In file included from posix.c:27: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE posix.c:333:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 333 | if (len=strftime(buffer, 1023, CHARS(format), p)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ posix.c:333:10: note: place parentheses around the assignment to silence this warning 333 | if (len=strftime(buffer, 1023, CHARS(format), p)) | ^ | ( ) posix.c:333:10: note: use '==' to turn this assignment into an equality comparison 333 | if (len=strftime(buffer, 1023, CHARS(format), p)) | ^ | == 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c socket.c In file included from socket.c:49: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE socket.c:249:48: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 249 | if (getsockname(s, (struct sockaddr *) &sin, (int *) &len) < 0) { | ^~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ socket.c:309:77: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 309 | if (BAD_SOCKET(new_s = accept(SOCKET(sock)->fd, (struct sockaddr *) &sin, &len))) | ^~~~ socket.c:50:27: note: expanded from macro 'BAD_SOCKET' 50 | # define BAD_SOCKET(s) ((s) < 0) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ socket.c:524:63: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 524 | if (getsockname(SOCKET(sock)->fd, (struct sockaddr *) &sin, &len)) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c sregexp.c In file included from sregexp.c:7: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c process.c In file included from process.c:56: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c html.c In file included from html.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE html.c:159:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | Tcl_DStringAppend(dStr, &table[i].c, 1); | ^~~~~~~~~~~ ../Tcl/tcl.h:1239:20: note: passing argument to parameter 'string' here 1239 | CONST char *string, int length)); | ^ html.c:222:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 222 | for (s = CHARS(str); c = *s; s++) { | ~~^~~~ html.c:222:26: note: place parentheses around the assignment to silence this warning 222 | for (s = CHARS(str); c = *s; s++) { | ^ | ( ) html.c:222:26: note: use '==' to turn this assignment into an equality comparison 222 | for (s = CHARS(str); c = *s; s++) { | ^ | == 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c base64.c In file included from base64.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/opt/pkg/include -c locale.c In file included from locale.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 24 | #ifndef _TK_GLUE | ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? 25 | #define _TK_GLUE_ | ^~~~~~~~~ | _TK_GLUE 1 warning generated. /bin/rm -f libstk.a ar rc libstk.a stk.o slib.o primitives.o boolean.o char.o str.o vector.o gc.o port.o number.o list.o symbol.o read.o print.o eval.o env.o macros.o syntax.o cont.o io.o sport.o promise.o error.o proc.o keyword.o dump.o address.o dynload.o unix.o toplevel.o argv.o extend.o signal.o trace.o module.o dummy.o stklos.o vport.o console.o tk-main.o tk-glue.o tk-util.o tcl-lib.o tcl-util.o tcl-glue.o tcl-obj.o pixmap.o jpeg.o hash.o posix.o socket.o sregexp.o process.o html.o base64.o locale.o ranlib libstk.a (cd ../Mp; make libgmp.a) rm -f libgmp.a gmp.h (cd gmp-1.3.2; make CC="clang" CFLAGS="-pipe -Os -I/opt/pkg/include ") ln -s gmp-1.3.2/libgmp.a . ln -s gmp-1.3.2/gmp.h . (cd ../Tk; make ../Tk/unix/libtk.a) `../Tk/unix/libtk.a' is up to date. (cd ../Tk; make ../Tk/unix/libtk.a) `../Tk/unix/libtk.a' is up to date. /bin/rm -f stk clang -pipe -Os -I/opt/pkg/include -DMACHINE=\"Darwin-27.0.0-arm\" -DUSE_TK -DSTk_CODE -DSCM_CODE -Dunknown_system -DUSE_STKLOS -DUSE_HASH -DUSE_POSIX -DUSE_SOCKET -DUSE_REGEXP -DUSE_PROCESS -DUSE_HTML -DUSE_BASE64 -DUSE_LOCALE -DUSE_PIXMAP -DUSE_JPEG -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -o stk userinit.o libstk.a ../Mp/libgmp.a ../Stack/libstack.a ../Tk/unix/libtk.a ../Tcl/libtcl.a ../Tcl/libevtcl.a -lSM -lICE -lX11 -L/opt/pkg/lib -L/opt/pkg/lib -ldl -lm make STklos **** make STklos completed Make Extensions chmod 0755 stk-genmake Make started at Sat Oct 31 13:07:17 UTC 2026 Make completed at Sat Oct 31 13:07:46 UTC 2026