=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/tgif", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tgif-4.2.5nb2 --- tgif.o --- --- align.o --- --- animate.o --- --- tgif.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tgif.c --- animate.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c animate.c --- align.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c align.c --- animate.o --- animate.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void AnimateSend(PolyPtr, Speed, Pixel) | ^ --- tgif.o --- tgif.c:136:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | void SetProgramName(FileName) | ^ --- animate.o --- animate.c:222:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | void AnimateFlashColor(ObjPtr, ColorIndex) | ^ --- tgif.o --- tgif.c:150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | int PrTgifLoad(FileName) | ^ tgif.c:292:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | void PrTgifDump(inbuf, tile_page_err_msg_id) | ^ tgif.c:344:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | void DoPrTgif(argc, argv, from_prtgif) | ^ --- align.o --- align.c:78:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | void SetSSSIForDistr(obj_ptr, vsel_ptr, update_pmvi) | ^ --- tgif.o --- tgif.c:501:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | void DoTgif(argc, argv) | ^ tgif.c:588:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | int main(argc, argv) | ^ --- align.o --- align.c:828:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | void DistributeDirect(alignment) | ^ align.c:843:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | char *GetDistrDirectMenuStr(i) | ^ align.c:874:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | TgMenu *CreateDistributeDirectMenu(parent_menu, x, y, menu_info, | ^ align.c:917:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | int AutoJustifiable(obj_ptr) | ^ align.c:942:17: warning: variable 'new_lty' set but not used [-Wunused-but-set-variable] 942 | int new_ltx, new_lty, dx, dy, ltx, lty; | ^ align.c:942:39: warning: variable 'lty' set but not used [-Wunused-but-set-variable] 942 | int new_ltx, new_lty, dx, dy, ltx, lty; | ^ align.c:938:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | void AutoJustify(obj_ptr) | ^ align.c:1022:27: warning: variable 'ssn' set but not used [-Wunused-but-set-variable] 1022 | int curved=(-1), ssn=(-1); | ^ align.c:1023:20: warning: variable 'ssvlist' set but not used [-Wunused-but-set-variable] 1023 | IntPoint *ssvlist=NULL; | ^ align.c:1411:34: warning: variable 'ssn' set but not used [-Wunused-but-set-variable] 1411 | int changed=FALSE, n=0, ssn=(-1), curved=(-1); | ^ align.c:1619:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1619 | void HoriAlignSubMenu(index) | ^ align.c:1631:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | void RefreshHoriAlignMenu(menu) | ^ align.c:1649:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1649 | TgMenu *CreateHoriAlignMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ align.c:1675:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | int HoriAlignMenu(X, Y, TrackMenubar) | ^ align.c:1692:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | void VertAlignSubMenu(index) | ^ align.c:1704:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | void RefreshVertAlignMenu(menu) | ^ align.c:1722:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | TgMenu *CreateVertAlignMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ align.c:1748:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1748 | int VertAlignMenu(X, Y, TrackMenubar) | ^ align.c:1765:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1765 | void AlignDirect(alignment) | ^ align.c:1784:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1784 | char *GetAlignDirectMenuStr(i) | ^ align.c:1844:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | TgMenu *CreateAlignDirectMenu(parent_menu, x, y, menu_info) | ^ align.c:1883:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1883 | TgMenu *CreateAlignObjsDirectMenu(parent_menu, x, y, menu_info, | ^ align.c:1894:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1894 | TgMenu *CreateAlignToGridDirectMenu(parent_menu, x, y, menu_info, | ^ align.c:1905:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1905 | TgMenu *CreateAlignToPageDirectMenu(parent_menu, x, y, menu_info, | ^ --- animate.o --- 2 warnings generated. --- arc.o --- --- tgif.o --- 6 warnings generated. --- arc.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c arc.c --- attr.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c attr.c --- arc.o --- arc.c:85:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | int ArcDirection(xc, yc, x1, y1, x2, y2) | ^ arc.c:116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | void PointsToArc(xc, yc, x1, y1, x2, y2, dir, int_degree, ltx, lty, w, h, | ^ arc.c:171:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | void ArcRealX2Y2(ArcPtr, RealX2, RealY2) | ^ arc.c:184:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | double GetRadianInArc(arc_ptr, x, y) | ^ arc.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | void GetArcArrowInfo(obj_ptr, ptip_vs1, ptail_vs1, vs1, pa_angle1, | ^ --- attr.o --- attr.c:81:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | void LinkInAttr(PrevPtr, NextPtr, AttrPtr) | ^ attr.c:100:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | void FreeAttr(AttrPtr) | ^ attr.c:110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | void UnlinkAttr(AttrPtr) | ^ attr.c:134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | void UpdAttrOwner(first_attr, owner_obj) | ^ attr.c:145:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | char *FindEqual(s) | ^ attr.c:152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | void ParseAttrStr(buf, name, name_sz, value, value_sz) | ^ attr.c:199:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | void UpdateAttr(TextPtr, AttrPtr) | ^ --- arc.o --- arc.c:398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | void CalcArcOBBox(ObjPtr) | ^ --- attr.o --- attr.c:230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | void DrawAttrs(Win, XOff, YOff, AttrPtr) | ^ attr.c:247:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | void MoveAttrs(AttrPtr, Dx, Dy) | ^ attr.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 DelAllAttrs(AttrPtr) | ^ attr.c:270:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | struct AttrRec *AddAttrByNameAndValue(ObjPtr, AttrName, AttrValue) | ^ --- arc.o --- arc.c:483:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | void CalcArcBBox(obj_ptr, obbox, bbox) | ^ --- attr.o --- attr.c:360:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | struct AttrRec *NewAttr(OwnerObjPtr, ObjPtr, Inherited) | ^ attr.c:384:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | void DupAnAttr(FromAttrPtr, ToAttrPtr) | ^ --- arc.o --- arc.c:518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | void DumpArcPSPath(FP, xc, yc, xr, yr, dir, a1, a2, outline, blank1, blank2) | ^ --- attr.o --- attr.c:405:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | void DupAttrs(FromObjPtr, ToObjPtr) | ^ --- arc.o --- arc.c:560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- attr.o --- attr.c:425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | void AddAttr(ObjPtr, TextObjPtr) | ^ --- arc.o --- 560 | void DumpArcArrows(FP, obj_ptr) | ^ arc.c:594:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | void DumpArcPath(FP, ObjPtr, xc, yc, xr, yr, dir, angle1, angle2, | ^ arc.c:651:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- attr.o --- attr.c:520:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | void SaveAttr(FP, AttrPtr) | ^ --- arc.o --- 651 | void DumpArcObj(FP, ObjPtr) | ^ --- attr.o --- attr.c:546:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | void SaveAttrs(FP, BotAttrPtr) | ^ attr.c:569:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | char *ReadAttrString(Str) | ^ --- arc.o --- arc.c:658:8: warning: variable 'x1' set but not used [-Wunused-but-set-variable] 658 | int x1, y1, aw, ah; | ^ arc.c:658:12: warning: variable 'y1' set but not used [-Wunused-but-set-variable] 658 | int x1, y1, aw, ah; | ^ arc.c:658:16: warning: variable 'aw' set but not used [-Wunused-but-set-variable] 658 | int x1, y1, aw, ah; | ^ arc.c:658:20: warning: variable 'ah' set but not used [-Wunused-but-set-variable] 658 | int x1, y1, aw, ah; | ^ --- attr.o --- attr.c:590:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | int FreeBufAndReturn(line, rc) | ^ attr.c:598:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | int ReadAttr(FP, AttrPtr) | ^ --- arc.o --- arc.c:775:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | int NeedsToCacheArcObj(ObjPtr) | ^ --- attr.o --- attr.c:674:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | struct ObjRec *FindTopLevelObjWithType(type_str) | ^ attr.c:693:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | int ObjMightChangeForShowAndUpdAttrNames(ObjPtr) | ^ attr.c:709:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | void UpdateFirstTextStringWithAttrNameAndValue(ObjPtr, AttrPtr) | ^ attr.c:723:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | int DoShowAndUpdAttrNames(ObjPtr, Force) | ^ --- arc.o --- arc.c:785:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | void MakeArcRotatedVs(obj_ptr, oval_vs, angle1, angle2, | ^ --- attr.o --- attr.c:974:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | void DetachGroupAttrs(ObjPtr, TopSelPtr, BotSelPtr) | ^ attr.c:1018:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | void DetachAllObjAttrs(obj_ptr, TopSelPtr, BotSelPtr) | ^ --- arc.o --- arc.c:1038:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | void MakeCachedArc(ObjPtr) | ^ arc.c:1115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | void DrawArcObj(window, XOff, YOff, ObjPtr) | ^ --- attr.o --- attr.c:1147:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | void UpdAttr(AttrPtr) | ^ --- arc.o --- arc.c:1231:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | struct ObjRec *CreateArcObj(xc, yc, x1, y1, x2, y2, dir, ltx, lty, w, h, | ^ --- attr.o --- attr.c:1163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | int MoveOneAttr(ObjPtr, AttrPtr) | ^ --- arc.o --- arc.c:1313:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | int Colinear(Ax, Ay, Dx, Dy, Cx, Cy) | ^ --- attr.o --- attr.c:1310:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | int ChangeAttrJust(ObjPtr, AttrPtr) | ^ --- arc.o --- arc.c:1336:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- attr.o --- attr.c:1396:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | TgMenu *CreateAttrMenu(parent_menu, x, y, num_items, menu_strings, | ^ --- arc.o --- 1336 | int SegmentIntersects(Ax, Ay, Bx, By, Cx, Cy, Dx, Dy) | ^ arc.c:1403:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | int GetCenter(Ax, Ay, Cx, Cy, Bx, By, pcx, pcy, pdir) | ^ --- attr.o --- attr.c:1463:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- arc.o --- arc.c:1519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- attr.o --- 1463 | void FreeEditAttrInfo(pEditAttrInfo) | ^ --- arc.o --- 1519 | void HighLightInContinueArc(drawing_arc, OrigX, OrigY, saved_x, saved_y, | ^ --- attr.o --- attr.c:1467:27: warning: variable 'fore_colors' set but not used [-Wunused-but-set-variable] 1467 | int i=0, num_attrs=0, *fore_colors=NULL, *attr_indices=NULL; | ^ attr.c:1467:46: warning: variable 'attr_indices' set but not used [-Wunused-but-set-variable] 1467 | int i=0, num_attrs=0, *fore_colors=NULL, *attr_indices=NULL; | ^ attr.c:1500:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | int HasEditAttrsInContextMenu(obj_ptr, pp_name_attr) | ^ --- arc.o --- arc.c:1571:19: warning: variable 'obj_ptr' set but not used [-Wunused-but-set-variable] 1571 | struct ObjRec *obj_ptr; | ^ arc.c:1562:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | void ContinueArc(OrigX, OrigY) | ^ --- attr.o --- attr.c:1516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | void FreeRestrictedAttrNames(ppsz_restricted, num_restricted) | ^ --- arc.o --- arc.c:1766:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | void DrawArc(input) | ^ --- attr.o --- attr.c:1532:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | void GetRestrictedAttrNames(restricted_attr_obj, pppsz_restricted, | ^ --- arc.o --- arc.c:1785:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | void SaveArcObj(FP, ObjPtr) | ^ arc.c:1826:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1826 | void ReadArcObj(FP, Inbuf, ObjPtr) | ^ --- attr.o --- attr.c:1584:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | void GetAttrGroupAttrNames(restricted_attr_obj, group_index, pppsz_restricted, | ^ attr.c:1616:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | int IsRestrictedAttr(attr_name, ppsz_restricted, num_restricted) | ^ attr.c:1630:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | EditAttrInfo *CreateEditAttrInfo(obj_ptr) | ^ --- arc.o --- arc.c:2057:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- attr.o --- attr.c:1718:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | EditAttrInfo *CreateEditAttrGroupInfo(obj_ptr) | ^ --- arc.o --- 2057 | sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ arc.c:2057:26: note: treat the string as an argument to avoid this 2057 | sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ arc.c:2066:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2066 | sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ --- align.o --- 25 warnings generated. --- arc.o --- arc.c:2066:26: note: treat the string as an argument to avoid this 2066 | sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' --- attr.o --- attr.c:1858:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1858 | void CopyAndUpdateAttrs(ToObjPtr, FromObjPtr) | ^ --- arc.o --- 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ --- attr.o --- attr.c:1929:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1929 | void ToggleNamedAttrShown(attr_name) | ^ attr.c:2083:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2083 | DspList *FileAttrNameListing(ObjPtr, pn_entries, pCheckArray) | ^ attr.c:2140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2140 | int EditAttrCheckUpdate(pp_dsp_ptr, ppsz_entries, pn_num_entries, | ^ attr.c:2188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2188 | int EditAttrNames(TopStr, ObjAttrDspList, entries, num_entries, pCheckArray) | ^ attr.c:2212:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | int BlankStr(s) | ^ --- auxtext.o --- --- arc.o --- arc.c:2171:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2171 | void SetArcPropMask(ObjPtr, plMask, plSkip, pProp) | ^ --- attr.o --- attr.c:2405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2405 | int GetAttrNamesCount(buf) | ^ attr.c:2428:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- arc.o --- arc.c:2201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- attr.o --- 2428 | void SetAttrGroupInfoDisplayedNames(pagi) | ^ --- arc.o --- 2201 | void FreeArcObj(ObjPtr) | ^ --- attr.o --- attr.c:2455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2455 | void FreeAttrGroupInfo(pagi) | ^ --- arc.o --- arc.c:2215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2215 | int ParseArcSpec(spec, seperator, radius, dir, theta1, theta2, error_str) | ^ --- attr.o --- attr.c:2488:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2488 | int ParseAttrGroupXDef(group_index, xdef_line, buf) | ^ --- auxtext.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c auxtext.c auxtext.c:73:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | void GetStrSizeInfo(pDynStr, w, lbearing, rextra) | ^ auxtext.c:85:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | int GetNumberOfMiniLines(minilines) | ^ auxtext.c:96:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | int IsHex(ch, pn_val) | ^ auxtext.c:97:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 97 | char ch; | ^ ./auxtext.e:56:33: note: previous declaration is here 56 | extern int IsHex ARGS_DECL((char, int*)); | ^ auxtext.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int InputOctalString(pszBuf, pnBufSize) | ^ auxtext.c:129:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 129 | sprintf(gszMsgBox, TgLoadString(STID_INPUT_STR)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ auxtext.c:129:26: note: treat the string as an argument to avoid this 129 | sprintf(gszMsgBox, TgLoadString(STID_INPUT_STR)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ auxtext.c:226:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | int CharIsCntrlINS(key_ev, key_sym) | ^ auxtext.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int CharIsShiftINS(key_ev, key_sym) | ^ auxtext.c:250:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | int CharIsCntrlShiftINS(key_ev, key_sym) | ^ auxtext.c:273:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | int CharIsESC(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.c:290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | int CharIsCRorLF(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.c:309:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | int CharIsDEL(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.c:324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | int CharIsBS(key_ev, psz_buf, key_sym, pn_has_ch, left_is_BS) | ^ auxtext.c:343:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | int CharIsBSorDEL(key_ev, psz_buf, key_sym, pn_has_ch, left_is_BS) | ^ auxtext.c:362:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | int CharIsTAB(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.c:380:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | int CharIsHome(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.c:389:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | int CharIsEnd(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int CharIsCntrlSpace(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.c:417:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | void TranslateKeys(s, key_sym) | ^ auxtext.c:447:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | void GetTransformedTextBBoxAbsVs(ObjPtr, LBearing, RightExtra, Vs) | ^ auxtext.c:470:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | void SetTextOBBox(ObjPtr, Just, W, H, LBearing, RightExtra, Rotate) | ^ auxtext.c:565:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | void SetTextBBox(ObjPtr, Just, W, H, LBearing, RightExtra, Rotate) | ^ auxtext.c:621:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | void SetTextOrigBBoxes(ObjPtr, Just, W, H, LBearing, RightExtra, Rotate) | ^ auxtext.c:644:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | int UpdTextBBox(ObjPtr) | ^ auxtext.c:700:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | int PixelOnOff(image, col_start, row_start, scale) | ^ auxtext.c:735:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | int PaintBackingPixmap(text_ptr, bbox_w, bbox_h, min_lbearing, max_rextra, | ^ auxtext.c:836:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | void MakeCachedTextBitmap(ObjPtr) | ^ auxtext.c:1109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | void UpdateOuterInnerSel(obj_ptr) | ^ auxtext.c:1121:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | struct ObjRec *SubFindTextObj(ObjPtr, XOff, YOff, obj_to_be_found) | ^ auxtext.c:1198:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | struct ObjRec *FindTextObj(XOff, YOff, obj_to_be_found) | ^ auxtext.c:1331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | void DumpTextPath(FP, ObjPtr) | ^ auxtext.c:1383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | void DumpSimpleTextBBoxPath(FP, just, x, lty, rby, indent) | ^ auxtext.c:1434:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | void DumpTextFill(FP, ObjPtr) | ^ auxtext.c:1543:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | void DumpTextObj(FP, ObjPtr) | ^ auxtext.c:1614:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | int NeedToCacheStrSeg(pStrSeg) | ^ auxtext.c:1621:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1621 | int NeedToCacheStrBlock(pStrBlock) | ^ auxtext.c:1646:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | int NeedToCacheMiniLine(pMiniLine) | ^ auxtext.c:1660:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | int NeedToCacheMiniLines(minilines) | ^ auxtext.c:1674:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | int NeedsToCacheTextObj(ObjPtr) | ^ auxtext.c:1685:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1685 | void SaveString(FP, S) | ^ auxtext.c:1706:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | void SaveDoubleByteString(FP, S) | ^ auxtext.c:1732:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | void SaveStrSeg(FP, pStrSeg) | ^ auxtext.c:1771:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | void SaveAStrBlock(FP, pStrBlock) | ^ auxtext.c:1839:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | void SaveStrBlocks(FP, pFirstStrBlock) | ^ auxtext.c:1872:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1872 | void SaveAMiniLine(FP, pMiniLine) | ^ auxtext.c:1895:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1895 | void SaveMiniLines(FP, minilines) | ^ auxtext.c:1927:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | void CombineOverUnderYOffsets(underline_y_offset, overline_y_offset, | ^ auxtext.c:1936:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | void UncombineOverUnderYOffsets(combined, pn_underline_y_offset, | ^ auxtext.c:1955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | void SaveTextObj(FP, ObjPtr) | ^ auxtext.c:2013:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2013 | void SaveHexString(FP, buf) | ^ auxtext.c:2035:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2035 | char *ReadString(Str) | ^ auxtext.c:2074:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | StrSegInfo *CreateStrSegFromString(buf, pOwnerStrBlock) | ^ auxtext.c:2108:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | StrBlockInfo *CreateStrBlockFromString(buf, pOwnerMiniLine) | ^ auxtext.c:2121:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | MiniLineInfo *CreateMiniLineFromString(buf, ppFirstMiniLine, ppLastMiniLine) | ^ auxtext.c:2173:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | struct ObjRec *FormTextObjectFromFile(FP, AbsX, AbsBaselineY) | ^ auxtext.c:2239:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2239 | int PaintLeftText(Str, Just, LtX, LtY) | ^ auxtext.c:2265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2265 | void RepaintFirstStr(ObjPtr, Str) | ^ --- attr.o --- 50 warnings generated. --- box.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c box.c --- arc.o --- 34 warnings generated. --- button.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c button.c --- auxtext.o --- 57 warnings generated. --- chat.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c chat.c --- box.o --- box.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | void MyBox(window, gc, x1, y1, x2, y2) | ^ box.c:86:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | void DumpBoxPath(FP, ObjPtr, LtX, LtY, RbX, RbY, Width, Pen, Dash, TransPat) | ^ box.c:143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | void DumpBoxObj(FP, ObjPtr) | ^ box.c:249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | void DrawBoxObj(win, XOff, YOff, ObjPtr) | ^ box.c:321:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | int CreateBoxObj(X1, Y1, X2, Y2, CreateAbsolute) | ^ box.c:395:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | void ContinueBox(OrigX, OrigY) | ^ box.c:507:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | void DrawBox(input) | ^ box.c:543:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | void SaveBoxObj(FP, ObjPtr) | ^ box.c:576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | void ReadBoxObj(FP, Inbuf, ObjPtr) | ^ box.c:814:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | void SetBoxPropMask(ObjPtr, plMask, plSkip, pProp) | ^ box.c:838:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | void FreeBoxObj(ObjPtr) | ^ --- button.o --- button.c:59:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | int GetButtonFontStyle(pButtonFontInfo) | ^ button.c:102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | int ButtonWidth(Str, MinLen, pButtonFontInfo) | ^ button.c:134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | void DisplayButtonInBBox(Win, Str, Len, BBox, Normal, HighLight, Width, | ^ button.c:147:40: warning: variable 'top' set but not used [-Wunused-but-set-variable] 147 | int button_w=0, button_h=0, left=0, top=0, text_w=0; | ^ 4 warnings generated. --- chinput.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c chinput.c --- box.o --- 11 warnings generated. --- choice.o --- --- choose.o --- --- choice.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c choice.c --- choose.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c choose.c --- chat.o --- chat.c:154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | void MoveResizeChatWindow(x, y, w, h) | ^ chat.c:162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | int GetChatFontStyle(pnIsBold, pnIsItalic) | ^ chat.c:217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | void GetChatNickName(buf, buf_sz) | ^ chat.c:225:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | int AddChatLineToListCtl(nick_name, color_index, font_style, buf) | ^ chat.c:281:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | void ChatEventHandler(input, handling_pti) | ^ chat.c:416:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | int IsChatWindowEvent(input, ppti_handler_tidget_return) | ^ chat.c:724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | void ChatAppendChatLine(ptfi, nick_name, encoding, buf) | ^ chat.c:755:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | void ChatAddUser(buf) | ^ 8 warnings generated. --- cli_xcin.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c cli_xcin.c --- convkinput.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c convkinput.c --- choose.o --- choose.c:111:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | int GetWorkingDirectory(buf, buf_sz) | ^ choose.c:145:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | int SetWorkingDirectory(dir) | ^ choose.c:152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | void CalcBaseWinWidth(pni) | ^ choose.c:182:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | void CleanUpCheckArray(pCheckArray) | ^ choose.c:208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | int CopyCheckArray(pCheckArrayTo, pCheckArrayFrom) | ^ choose.c:248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | void NamesSetTitle(title_str) | ^ choose.c:360:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | void NamesAddButton(btn_str, btn_id) | ^ choose.c:387:8: warning: variable 'block_h' set but not used [-Wunused-but-set-variable] 387 | int block_h, block_start; | ^ choose.c:412:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- choice.o --- choice.c:211:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- choose.o --- 412 | void DrawCheckbox(dpy, win, gc, x, y, w, h, checked) | ^ --- choice.o --- 211 | void ShowStipple(dpy, win, gc, bitmap, col, row, w, h) | ^ --- choose.o --- choose.c:449:8: warning: comparison of array 'check_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] --- choice.o --- choice.c:239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- choose.o --- 449 | if (check_bits == NULL) { } | ^~~~~~~~~~ ~~~~ --- choice.o --- 239 | void HighLightThreeDButton(choice, highlight) | ^ --- choose.o --- choose.c:457:22: warning: variable 'end' set but not used [-Wunused-but-set-variable] 457 | int len=0, top=0, end=0, checkbox_cols=0, text_left=0, box_offset=0, box_w=0; | ^ --- choice.o --- choice.c:346:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- choose.o --- choose.c:453:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | void RedrawItem(pni, index) | ^ --- choice.o --- 346 | void ShowColor(PropagateWhereToPrint) | ^ --- choose.o --- choose.c:705:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | int ExposeOrMapNames(input) | ^ choose.c:747:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | int CreateNamesWindows(win_name) | ^ choose.c:880:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | int IsFirstEqChar(s, index) | ^ choose.c:925:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | void BackSpaceInNames(pn_changing, pn_selected_btn_index) | ^ choose.c:1030:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | void ParseFileName(FullName, DirName, Name) | ^ --- choice.o --- choice.c:958:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | int NeedSelectTopObject(Choice, VertexTypeObj) | ^ choice.c:968:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | void ShowCurChoiceMouseStatus(choice, state, cur_text_under_mouse) | ^ --- choose.o --- choose.c:1068:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | void CharInNames(buf, pn_changing, pn_selected_btn_index) | ^ --- choice.o --- choice.c:985:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | void SetCurChoice(NewChoice) | ^ --- choose.o --- choose.c:1209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | int GetNameEntryNum(RowOffset) | ^ choose.c:1221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | int ScrollItemCallback(pv_userdata) | ^ choose.c:1245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | int ScrollPageCallback(pv_userdata) | ^ choose.c:1273:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | int DoNameBtnScroll(scroll_page, scroll_dir, pbbox, pni) | ^ --- choice.o --- choice.c:1194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | void TextVSpaceLoop(button_ev) | ^ choice.c:1239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | void RCBRadiusLoop(button_ev) | ^ --- choose.o --- choose.c:1326:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | void NameScrollHandler(button_ev) | ^ --- choice.o --- choice.c:1275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | void ZoomLoop(button_ev) | ^ choice.c:1356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | void FormatFloat(pfval, buf) | ^ --- choose.o --- choose.c:1476:25: warning: variable 'box_offset' set but not used [-Wunused-but-set-variable] 1476 | int checkbox_cols=0, box_offset=0, clicked_col=INVALID, check_updated=FALSE; | ^ choose.c:1469:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | int NameDspHandler(button_ev) | ^ --- choice.o --- choice.c:1390:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- choose.o --- choose.c:1557:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | int ControlChar(key_ev, key_sym) | ^ --- choice.o --- 1390 | void FormatAngle(angle, buf) | ^ --- choose.o --- choose.c:1630:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | void BackUpOneWord(pn_changing, pn_selected_btn_index) | ^ --- choice.o --- choice.c:1417:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | int ValidChoice(choice) | ^ choice.c:1450:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | int ChoiceEventHandler(input) | ^ --- choose.o --- choose.c:1675:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | void SpecialKeyInNames(key_ev, key_sym, pn_changing, pn_selected_btn_index) | ^ choose.c:1732:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | int GetBtnIndexFromBtnId(btn_id) | ^ choose.c:1752:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | void KeyPressInNames(key_ev, pn_changing, pn_selected_btn_index) | ^ choose.c:1810:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1810 | void ButtonPressInPath(button_ev) | ^ choose.c:1864:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1864 | void ButtonPressInNames(button_ev, pn_changing, pn_selected_btn_index) | ^ choose.c:1950:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1950 | void NamesSetDefaultBtnId(def_btn_id, double_click_btn_id) | ^ choose.c:1959:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1959 | void NamesSetStyle(edit_style, loop_once) | ^ choose.c:1968:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1968 | void NamesSetEntries(dsp_ptr, entries, num_entries, p_check_array, | ^ choose.c:1986:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | void NamesSetCallback(pf_before_loop, pf_after_loop, pf_check_update) | ^ --- choice.o --- choice.c:2001:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2001 | void HighLightModeThreeDButton(mode, highlight) | ^ --- choose.o --- choose.c:2013:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2013 | void NamesSetDir(dir_name) | ^ --- choice.o --- choice.c:2076:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2076 | int ModeEventHandler(input) | ^ --- choose.o --- choose.c:2058:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | int GetParentRealDir(dir, buf, buf_sz) | ^ choose.c:2138:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2138 | int Names(win_name, pn_selected_index, selected_str, str_sz, p_void) | ^ --- convkinput.o --- convkinput.c:98:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | void KinputSetConvOverSpot(nConvOverSpot) | ^ convkinput.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | void KinputTellCursorPosition(dpy, win, x, y) | ^ convkinput.c:175:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | Atom InternAtom(dpy, name) | ^ convkinput.c:191:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | void KinputBeginConversion (dpy, win) | ^ convkinput.c:299:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | void KinputCheckClientMessage (dpy, win, xclient) | ^ convkinput.c:342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | void CvtCompoundTextToEuc(dst, src) | ^ convkinput.c:428:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | char* CvtCompoundTextToEuc_N(src, items) | ^ convkinput.c:444:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | char* KinputCheckConvProperty (dpy, win, xprop) | ^ convkinput.c:490:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | void KinputEndConversion (dpy, win) | ^ convkinput.c:554:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | void CvtJisToEuc(dst, src) | ^ convkinput.c:620:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | int CvtEucToJis(dst, src) | ^ --- choice.o --- 15 warnings generated. --- convxim.o --- --- convkinput.o --- 11 warnings generated. --- convxim.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c convxim.c --- cmd.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c cmd.c --- choose.o --- 39 warnings generated. --- color.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c color.c --- convxim.o --- convxim.c:89:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | CVListElem *FindXIC(win) | ^ convxim.c:106:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | void DeleteXICInfo(pElem) | ^ convxim.c:126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | void XIMClose(win) | ^ convxim.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void XIMSetICFocus(dpy, win) | ^ convxim.c:337:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | void XIMNextEvent(dpy, win, xev_p) | ^ convxim.c:361:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | int XIMLookupString(key_ev, buf, buf_len, key_sym_p, c_stat_p) | ^ convxim.c:398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | void XIMUnsetICFocus(win) | ^ convxim.c:413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | void XIMSetConvOverSpot(gnOverTheSpot) | ^ convxim.c:419:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | void XIMTellCursorPosition(dpy, win, x, y) | ^ --- cmd.o --- cmd.c:81:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | void InsertCmd(PrevCmd, NextCmd, CmdPtr, ppFirstCmd, ppLastCmd) | ^ cmd.c:103:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | char *GetCmdType(CmdType) | ^ cmd.c:124:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | struct CmdRec *CreateCmdFromSerializationBuf(cmd_type, buf) | ^ cmd.c:141:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | void CopyAndInsertCmd(from_remote, serialization_buf, PrevCmd, NextCmd, CmdPtr, | ^ cmd.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | void UnlinkCmd(CmdPtr, ppFirstCmd, ppLastCmd) | ^ cmd.c:202:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | void DeleteARedoRecord(CmdPtr, percent_start, percent_end) | ^ cmd.c:354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | void ClearRedoRecords(CmdPtr) | ^ cmd.c:393:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | void CopySel(from_top_sel, count, to_top_sel, to_bot_sel) | ^ cmd.c:413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | void LinkJustTheObjects(TopSel, BotSel) | ^ cmd.c:430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | void UndoNewCmd(CmdPtr) | ^ cmd.c:463:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | void RedoNewCmd(CmdPtr) | ^ cmd.c:499:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | int ObjHasFullID(obj_ptr, psz_full_id) | ^ cmd.c:523:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | int GetPositionFromFullID(psz_full_id) | ^ cmd.c:555:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | void UndoDeleteCmd(CmdPtr) | ^ cmd.c:618:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | int SetupBeforePointers(CmdPtr, modify_before_pointers, pp_actual_pos_before) | ^ cmd.c:786:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | int RedoDeleteCmd(CmdPtr) | ^ cmd.c:856:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | int UndoOrRedoMoveCmd(CmdPtr) | ^ cmd.c:933:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | void UpdateXPmObjectsInACmd(CmdPtr) | ^ cmd.c:972:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | int UpdatePixelInACmd(CmdPtr) | ^ cmd.c:1023:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | int RefreshColormap(nRedoing, CmdPtr) | ^ cmd.c:1108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | int UndoOrRedoReplaceCmd(CmdPtr, HighLightSingleObj) | ^ cmd.c:1315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | int UndoOrRedoOneToManyCmd(CmdPtr) | ^ cmd.c:1455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | void UndoOrRedoGotoPageCmd(CmdPtr) | ^ cmd.c:1468:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | void UndoOrRedoWBSlideShow(CmdPtr) | ^ cmd.c:1493:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | void SetUndoRedoRestoreDrawingModeInfo(p_urrdmi, cur_choice, text_cursor_shown, | ^ cmd.c:1508:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | void UndoRedoRestoreDrawingMode(p_urrdmi) | ^ cmd.c:1552:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | void UndoACmd(CmdPtr, HighLight, nPerformAction) | ^ cmd.c:1612:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | int RedoACmd(CmdPtr, HighLight, nPerformAction) | ^ cmd.c:1810:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1810 | struct SelRec *PrepareStackingInfo(TopSel, BotSel, NumObjs, PreparePhase, | ^ cmd.c:1873:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1873 | void PrepareStacking(TopSel, BotSel, NumObjs, PreparePhase) | ^ cmd.c:1891:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1891 | void PrepareToRecord(CmdType, TopSel, BotSel, NumObjs) | ^ cmd.c:1934:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | void FreeAfterSel(CmdPtr) | ^ cmd.c:1947:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | void PrepareExtendedSerializationInfoForRecordCmd(SubCmdPtr, TopSel, BotSel, | ^ cmd.c:1971:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | void RecordCmd(CmdType, SubCmdPtr, TopSel, BotSel, NumObjs) | ^ cmd.c:2155:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2155 | void AbortPrepareCmd(CmdType) | ^ cmd.c:2206:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | void PrepareToReplaceAnObj(BeforeObjPtr) | ^ cmd.c:2222:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2222 | void RecordReplaceAnObj(AfterObjPtr) | ^ cmd.c:2257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2257 | void RecordWBSlideShow(into_slideshow) | ^ cmd.c:2273:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2273 | void RecordWBChatALine(pSubCmdPtr) | ^ --- convxim.o --- 9 warnings generated. --- cutpaste.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c cutpaste.c --- color.o --- color.c:121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | void DefaultColorArrays(Entries, ForePixels, Valid, InitRV, StatusStr) | ^ color.c:150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | int GetDrawingBgPixel(index, pixel) | ^ color.c:162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | int GetDrawingFgPixel(index, pixel) | ^ color.c:174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | void GetDrawingFgColorStr(index, pixel, color_buf, buf_sz) | ^ color.c:194:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | int TgifParseColor(psz_color, p_color) | ^ color.c:218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | int ParseAndAllocColorByName(colorname, color, red_req, green_req, blue_req) | ^ color.c:359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | int InitColorFromXPixmap(pn_num_colors, pppsz_color_str) | ^ color.c:1352:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | int DrawAVerticalTab(color_index, x, y, skip) | ^ color.c:1396:38: warning: variable 'y_start' set but not used [-Wunused-but-set-variable] 1396 | int i, x=(windowPadding>>1), y=0, y_start; | ^ color.c:1436:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | int OneColorObject(ObjPtr, ColorIndex) | ^ color.c:1616:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | int ChangeObjColor(ObjPtr, ColorIndex) | ^ color.c:1699:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | void ChangeAllSelColor(ColorIndex, HighLight) | ^ color.c:1715:11: warning: variable 'text_obj_created' set but not used [-Wunused-but-set-variable] 1715 | int text_obj_created=FALSE, text_cursor_shown=FALSE; | ^ color.c:1715:35: warning: variable 'text_cursor_shown' set but not used [-Wunused-but-set-variable] 1715 | int text_obj_created=FALSE, text_cursor_shown=FALSE; | ^ color.c:1817:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1817 | void SetUpColorMenuPixmap(fore_colors, init_rv, pixmap, rows, cols) | ^ color.c:1838:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1838 | void RefreshColorMenu(menu) | ^ color.c:1856:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1856 | TgMenu *CreateColorMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ color.c:1911:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | int ColorMenu(X, Y, TrackMenubar) | ^ color.c:1963:8: warning: comparison of array 'upend_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1963 | if (upend_bits == NULL) { } | ^~~~~~~~~~ ~~~~ color.c:1967:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | void SetAllColorLayersState(on_state) | ^ color.c:1990:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | void HandleClickInColorWindow(button_ev) | ^ color.c:2101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2101 | void HandleMotionInColorWindow(motion_ev) | ^ color.c:2152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2152 | void ColorEventHandler(input) | ^ color.c:2188:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2188 | void ColorDummyEventHandler(input) | ^ color.c:2208:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2208 | void UpdatePixelForStrSeg(pStrSeg, pUserData) | ^ color.c:2233:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2233 | int UpdatePixel(ObjPtr) | ^ color.c:2386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2386 | void UpdateXPmObjects(ObjPtr) | ^ color.c:2618:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2618 | void SaveColors(FP) | ^ color.c:2655:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2655 | int ReadColors(FP, Inbuf) | ^ color.c:2759:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2759 | void DumpRGBColorLine(FP, ColorIndex, Indent, EndOfLine) | ^ --- cutpaste.o --- cutpaste.c:135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | void SetCutBuffer(buf, bytes_to_write, buf_is_simple_string, buf_is_utf8_string) | ^ cutpaste.c:188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | int WriteBufToCutBuffer(buf, bytes_to_write, buf_is_simple_string, | ^ cutpaste.c:216:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 216 | sprintf(gszMsgBox, TgLoadString(STID_CANT_ACQUIRE_X_SELECTION)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ cutpaste.c:216:26: note: treat the string as an argument to avoid this 216 | sprintf(gszMsgBox, TgLoadString(STID_CANT_ACQUIRE_X_SELECTION)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ cutpaste.c:198:27: warning: variable 'setselowner_failed' set but not used [-Wunused-but-set-variable] 198 | int copy_failed=FALSE, setselowner_failed=FALSE; | ^ cutpaste.c:365:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 365 | sprintf(gszMsgBox, TgLoadString(STID_COPY_FAILED_OBJ_MAYBE_TOO_BIG)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ cutpaste.c:365:29: note: treat the string as an argument to avoid this 365 | sprintf(gszMsgBox, TgLoadString(STID_COPY_FAILED_OBJ_MAYBE_TOO_BIG)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ cutpaste.c:368:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 368 | sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ cutpaste.c:368:29: note: treat the string as an argument to avoid this 368 | sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ cutpaste.c:248:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | int CopyObjectToCutBuffer(force) | ^ cutpaste.c:488:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | unsigned int PasteString(CutBuffer, highlight, record_cmd) | ^ cutpaste.c:521:21: warning: variable 'pMiniLine' set but not used [-Wunused-but-set-variable] 521 | MiniLineInfo *pMiniLine=NULL; | ^ cutpaste.c:621:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | struct ObjRec *CreateTmpBoxObj(LtX, LtY, RbX, RbY) | ^ cutpaste.c:661:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | void AssignNewObjIds(ObjPtr) | ^ cutpaste.c:690:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | int CutBufferType(cut_buffer) | ^ cutpaste.c:708:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | int GetObjsFromCutBuffer(cut_buffer, len, pp_top_obj, pp_bot_obj) | ^ cutpaste.c:788:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | void FreeSelectionOrCutBuffer(cut_buffer, from_selection) | ^ cutpaste.c:799:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | char *FetchSelectionOrCutBuffer(pnLen, pnFromSelection) | ^ cutpaste.c:1088:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | char *GetTextBytesFromWindowProperty(win, property, compound_text, pul_len, | ^ cutpaste.c:1157:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | char *GetTextBytesFromGivenSelection(compound_text, pulLen, which_selection, | ^ cutpaste.c:1326:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | char *GetTextBytesFromSelection(compound_text, pulLen) | ^ --- cmd.o --- 39 warnings generated. --- cutpaste.o --- cutpaste.c:1485:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | void SkipIntProp(lWhich, plSkip) | ^ cutpaste.c:1492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | void TestStringProp(n1, n2, psz1, psz2, lWhich, plSkip) | ^ cutpaste.c:1505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | void SetStringProp(n1, pn2, psz1, psz2) | ^ cutpaste.c:1518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | void TestIntProp(n1, n2, lWhich, plSkip) | ^ cutpaste.c:1526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | void TestFontProp(nDoubleByte1, nFont1, nStyle1, nDoubleByte2, nFont2, | ^ cutpaste.c:1548:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | void TestCTMProp(ctm1, transformed, ctm2, lWhich, plSkip) | ^ cutpaste.c:1565:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | void SetIntPropertyMask(lWhich, nValue, pszValue, plMask, plSkip, pProp) | ^ cutpaste.c:1662:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | void SetFontPropertyMask(nDoubleByte, nFont, nStyle, plMask, plSkip, pProp) | ^ cutpaste.c:1686:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | void SetCTMPropertyMask(ctm, plMask, plSkip, pProp) | ^ cutpaste.c:1712:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1712 | void SetTextPropMask(ObjPtr, plMask, plSkip, pProp) | ^ cutpaste.c:1750:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1750 | void SetPropMask(ObjPtr, plMask, plSkip, pProp) | ^ cutpaste.c:1902:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | int GetAngleFromCTM(ctm) | ^ cutpaste.c:1942:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1942 | void DoPasteAProperty(lWhich, pProp) | ^ cutpaste.c:2015:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cursor.o --- --- cutpaste.o --- 2015 | void DoGetAProperty(lWhich, pProp) | ^ cutpaste.c:2159:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2159 | void WriteIntProp(pszSec, pszKey, nValue) | ^ cutpaste.c:2168:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2168 | void WriteStringProp(pszSec, pszKey, nValue, pszValue) | ^ cutpaste.c:2178:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2178 | void WriteFontProp(pszSec, pszKey, nFont, nStyle) | ^ cutpaste.c:2192:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | void WriteCTMProp(pszSec, pszKey, nTransformed, ctm) | ^ cutpaste.c:2209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2209 | int ParseIntProp(pszBuf, pnValue) | ^ cutpaste.c:2217:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2217 | int ParseStringProp(pszBuf, pnValue, pszValue) | ^ cutpaste.c:2235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2235 | int ParseFontSzUnitProp(pszBuf, pnSzUnit) | ^ cutpaste.c:2260:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | int ParseFontProp(pszBuf, pnDoubleByte, pnFont, pnStyle) | ^ cutpaste.c:2290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2290 | int ParseCTMProp(pszBuf, pnTransformed, ctm) | ^ cutpaste.c:2350:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2350 | void WritePropToIni(lWhich, pszSec, pszKey, pProp) | ^ cutpaste.c:2405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2405 | int ParseAProp(lWhich, pszBuf, pProp) | ^ cutpaste.c:2443:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2443 | int ReadPropFromIni(pszSec, plMask, pCheckArray, pProp) | ^ cutpaste.c:2597:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2597 | void FormatPropForDisplay(lWhich, pProp, ppir, pszBuf) | ^ cutpaste.c:2662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2662 | int GetPropSelection(pp_dsp_ptr, ppsz_entries, pn_num_entries, pn_marked_index, | ^ cutpaste.c:2700:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2700 | int DoCopyProperties(pCheckArray, pProp) | ^ cutpaste.c:2781:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2781 | int PropSetExists(pszPropSet) | ^ cutpaste.c:2803:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2803 | int DoSaveProperties(pCheckArray, pProp) | ^ cutpaste.c:2848:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2848 | int DoPasteProperties(pCheckArray, pProp) | ^ cutpaste.c:2901:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2901 | int FreePropSelection(pp_dsp_ptr, ppsz_entries, pn_num_entries, pn_marked_index, | ^ cutpaste.c:2951:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2951 | int PropSelectionCheckUpdate(pp_dsp_ptr, ppsz_entries, pn_num_entries, | ^ cutpaste.c:3002:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cursor.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c cursor.c --- cutpaste.o --- 3002 | void SelectProperties(pszTitle, nWhich, pCheckArray, pProp) | ^ cutpaste.c:3067:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3067 | int PrepareToCopyProperties(pProp, lMask, lSkip, pCheckArray) | ^ cutpaste.c:3104:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3104 | int PrepareToPasteProperties(pszSec, plMask, pCheckArray, pProp) | ^ cutpaste.c:3141:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3141 | int SetupProperties(pProp, plMask, plSkip, pCheckArray, nWhich) | ^ cutpaste.c:3184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3184 | void FixMasksForGetProperty(pProp, plMask, plSkip) | ^ cutpaste.c:3224:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3224 | void DoGetProperty(target_index) | ^ cutpaste.c:3324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3324 | void CopyProperties(nPrompt) | ^ cutpaste.c:3364:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3364 | int WriteBufToIni(buf, ini_fname) | ^ cutpaste.c:3396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3396 | void PasteProperties(nPrompt) | ^ cutpaste.c:3400:19: warning: variable 'lSkip' set but not used [-Wunused-but-set-variable] 3400 | long lMask=0L, lSkip=0L; | ^ cutpaste.c:3445:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3445 | int GetPropSetNames(pp_dsp_ptr, ppsz_entries, pn_num_entries, pn_marked_index, | ^ cutpaste.c:3489:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3489 | int FreePropSetNames(pp_dsp_ptr, ppsz_entries, pn_num_entries, pn_marked_index, | ^ cutpaste.c:3517:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3517 | int SelectPropSetForRestore(pszTitle, pszPropSet, nPropSetSize) | ^ cutpaste.c:3542:19: warning: variable 'lSkip' set but not used [-Wunused-but-set-variable] 3542 | long lMask=0L, lSkip=0L; | ^ cutpaste.c:3616:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3616 | DspList *IniSectionListing(pszSection, pszIniFile, pnEntries) | ^ cutpaste.c:3659:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3659 | int EditIniSectionStrings(psz_title, dsp_ptr, entries, num_entries, | ^ cutpaste.c:3682:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3682 | int DefEditIniSectionCheck(psz_key, psz_value) | ^ cutpaste.c:3689:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3689 | int EditIniSectionDefAfterLoop(pp_dsp_ptr, ppsz_entries, pn_num_entries, | ^ cutpaste.c:3729:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3729 | int EditIniSection(pszTitle, pszSection, pszIniFile, pf_after_loop) | ^ cutpaste.c:3781:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3781 | DspList *IniSectionKeysListing(pszSection, pszIniFile, pnEntries) | ^ cutpaste.c:3819:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3819 | int SelectFromIniSectionStrings(psz_title, dsp_ptr, entries, num_entries, | ^ cutpaste.c:3840:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3840 | char *SelectFromIniSection(pszTitle, pszSection, pszIniFile) | ^ cutpaste.c:3881:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3881 | void FreeRecentFilesListing(pkvi, max_count) | ^ cutpaste.c:3896:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3896 | KeyValInfo *RecentFilesListing(pnEntries) | ^ cutpaste.c:3960:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3960 | void OpenARecentlyUsedFile(file_index) | ^ cutpaste.c:3979:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3979 | void AddARecentlyUsedFile(path) | ^ cutpaste.c:4083:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4083 | int CreateSimpleStringObj(buf) | ^ cutpaste.c:4116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4116 | void SaveSimpleStringObj(FP, ObjPtr) | ^ cutpaste.c:4135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4135 | void ReadSimpleStringObj(FP, Inbuf, ObjPtr) | ^ cutpaste.c:4194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4194 | void FreeSimpleStringObj(ObjPtr) | ^ cutpaste.c:4205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4205 | void UnInheritAllAttrs(obj_ptr) | ^ cutpaste.c:4395:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4395 | int DoSetMarginsForImportMultipageTextFile(spec) | ^ cutpaste.c:4426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4426 | void GetCurMarginsForImportTextFile(buf) | ^ cutpaste.c:4518:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4518 | int RefreshImportMutipageTextFileMenu(menu) | ^ cutpaste.c:4537:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4537 | TgMenu *CreateImportMutipageTextFileMenu(parent_menu, x, y, menu_info, | ^ --- cursor.o --- cursor.c:254:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | void SetTextCursor(window) | ^ cursor.c:260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | void SetNullCursor(window) | ^ cursor.c:266:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | void SetWatchCursor(window) | ^ cursor.c:276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | void SetDrawCursor(window) | ^ cursor.c:282:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | void SetFreeHandCursor(window) | ^ cursor.c:288:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | void SetVertexCursor(window) | ^ cursor.c:294:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | void SetRotateCursor(window) | ^ cursor.c:300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | void SetRotatingCursor(window) | ^ cursor.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 SetHoriShearCursor(window) | ^ cursor.c:312:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | void SetVertShearCursor(window) | ^ cursor.c:318:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | void SetMoveCursor(window) | ^ cursor.c:324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | void SetHyperSpaceCursor(window) | ^ cursor.c:330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | void SetFloodFillCursor(window) | ^ cursor.c:336:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | void SetDripCursor(window) | ^ cursor.c:342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | void SetHandCursor(window) | ^ cursor.c:348:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | void SetDefaultCursor(window) | ^ cursor.c:568:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | void PutCursor(window, x, y, foreground) | ^ cursor.c:619:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | Cursor NewFontCursor(cursor_name) | ^ cursor.c:632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | void SetWindowCursor(window, cursor) | ^ cursor.c:639:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | void DeleteFontCursor(cursor) | ^ --- color.o --- 30 warnings generated. --- cursor.o --- 20 warnings generated. --- dialog.o --- --- drawing.o --- --- dialog.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c dialog.c --- drawing.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c drawing.c --- dialog.o --- dialog.c:65:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | unsigned int CornerLoop(OrigX, OrigY) | ^ dialog.c:90:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | unsigned int DrawWindowLoop(OrigX, OrigY, cursor, snap_to_grid) | ^ dialog.c:142:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | unsigned int PickAPoint(OrigX, OrigY, cursor) | ^ dialog.c:240:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | void SetupMBButton(MBInfoPtr, BtnDesc, BtnCh, BtnID) | ^ dialog.c:287:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | void CalcFormatStringInBox(buf, xfs, font_height, format_box_w, pn_num_lines, | ^ dialog.c:294:25: warning: variable 'max_len' set but not used [-Wunused-but-set-variable] 294 | int len=strlen(buf), max_len=0, max_w=0, max_h=0, total=0; | ^ dialog.c:294:54: warning: variable 'total' set but not used [-Wunused-but-set-variable] 294 | int len=strlen(buf), max_len=0, max_w=0, max_h=0, total=0; | ^ dialog.c:450:8: warning: comparison of array 'info_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 450 | if (info_bits == NULL) { } | ^~~~~~~~~ ~~~~ dialog.c:432:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | void CalcSimpleGeometry(MBInfoPtr, Message) | ^ dialog.c:512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | void CalcGeometry(MBInfoPtr, Message) | ^ dialog.c:585:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | int SetupMBWindow(MBInfoPtr, Message, Title, IconAndBtns, IsDialog) | ^ dialog.c:760:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | void DisplayInput(MBInfoPtr) | ^ dialog.c:801:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | int HandleMsgBoxKeyEvent(MBInfoPtr, input) | ^ dialog.c:885:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | int HandleDeleteMsgBox(MBInfoPtr) | ^ --- drawing.o --- drawing.c:144:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | void SetXorDrawGC(xor_pixel) | ^ --- dialog.o --- dialog.c:905:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | void HandlePasteInDialog(MBInfoPtr, input) | ^ --- drawing.o --- drawing.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void DrawHorizOutline(Win, Y, X1, X2, XStart, XEnd) | ^ drawing.c:204:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | void DrawVertOutline(Win, X, Y1, Y2, YStart, YEnd) | ^ drawing.c:225:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | void DrawSymOutline(Win, XOff, YOff, ObjPtr) | ^ drawing.c:248:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | int NeedToDraw(ObjBBox) | ^ --- dialog.o --- dialog.c:944:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | int HandleMsgBoxBtnEvent(MBInfoPtr, input) | ^ --- drawing.o --- drawing.c:366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | void ShowInterrupt(CheckInterval) | ^ drawing.c:404:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | void HighLightDummyWindow1(highlight) | ^ drawing.c:435:8: warning: comparison of array 'intr_bits' not equal to a null pointer is always true [-Wtautological-pointer-compare] 435 | if (intr_bits != NULL && trek_bits != NULL) { } /* do nothing but reference the variable */ | ^~~~~~~~~ ~~~~ drawing.c:435:29: warning: comparison of array 'trek_bits' not equal to a null pointer is always true [-Wtautological-pointer-compare] 435 | if (intr_bits != NULL && trek_bits != NULL) { } /* do nothing but reference the variable */ | ^~~~~~~~~ ~~~~ --- dialog.o --- dialog.c:1037:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | void RefreshMsgBox(MBInfoPtr) | ^ dialog.c:1128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- drawing.o --- drawing.c:473:8: warning: comparison of array 'run_bits' not equal to a null pointer is always true [-Wtautological-pointer-compare] 473 | if (run_bits != NULL) { } /* do nothing but reference the variable */ | ^~~~~~~~ ~~~~ drawing.c:441:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | void ShowRunning(dpy, win, win_w, win_h) | ^ drawing.c:496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | void DummiesEventHandler(input) | ^ drawing.c:545:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | int KeyPressEventIsEscape(key_ev) | ^ --- dialog.o --- 1128 | int MsgBox(Message, Title, IconAndBtns) | ^ --- drawing.o --- drawing.c:560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | Bool CheckESC(p_display, p_ev, psz_arg) | ^ drawing.c:590:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | int CheckInterrupt(check_esc) | ^ drawing.c:611:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | void DrawClippedPixmap(pixmap, win, gc, pixmap_w, pixmap_h, ltx, lty) | ^ drawing.c:653:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | void FillClippedRectangle(win, gc, ltx, lty, orig_w, orig_h) | ^ drawing.c:692:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | int ObjInVisibleLayer(ObjPtr) | ^ --- dialog.o --- dialog.c:1235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | int DoDialog(Message, ReturnStr) | ^ --- drawing.o --- drawing.c:751:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | int DrawObj(Win, ObjPtr) | ^ --- dialog.o --- dialog.c:1351:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | int Dialog(Message, Comment, ReturnStr) | ^ --- drawing.o --- drawing.c:880:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | void DrawPaperBoundary(Win) | ^ drawing.c:904:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | void RedrawAnArea(BotObj, LtX, LtY, RbX, RbY) | ^ drawing.c:1010:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | void RedrawAreas(BotObj, LtX1, LtY1, RbX1, RbY1, LtX2, LtY2, RbX2, RbY2) | ^ drawing.c:1235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | void GetBetterBBox(ObjPtr, LtX, LtY, RbX, RbY, AlreadyFound) | ^ drawing.c:1366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | void RedrawVertSliceFromCache(start_frac, scroll_all_the_way) | ^ drawing.c:1400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | void RedrawHoriSliceFromCache(start_frac, scroll_all_the_way) | ^ drawing.c:1433:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | void RedrawAreaFromCache(start_frac, scroll_all_the_way) | ^ drawing.c:1453:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | void RedrawDrawWindow(BotObj) | ^ drawing.c:1667:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1667 | Pixmap DrawAllOnPixmap(LtX, LtY, W, H, nRedraw) | ^ drawing.c:2028:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | int DoShortCut(key_ev, name, key_sym, state, args) | ^ drawing.c:2907:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2907 | int ShortHand(input) | ^ drawing.c:2920:30: warning: variable 'have_ch' set but not used [-Wunused-but-set-variable] 2920 | int valid_shortcut=FALSE, have_ch; | ^ drawing.c:2989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2989 | int ExecuteCmdById(nCmdId, nIndex) | ^ drawing.c:3010:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3010 | int CallShortCut(name, argc, argv, code, state) | ^ drawing.c:3073:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3073 | int WriteAttrToTmp(attr_ptr, ptfi) | ^ drawing.c:3133:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3133 | int WriteNamedAttrsToTmp(obj_ptr, num_restricted, ppsz_restricted, ptfi, | ^ drawing.c:3222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | int TmpFileChanged(ptfi) | ^ drawing.c:3242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3242 | int ReadAttrFromTmp(attr_ptr, ptfi) | ^ drawing.c:3265:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3265 | int ReadNamedAttrsFromTmp(obj_ptr, num_restricted, ppsz_restricted, ptfi) | ^ drawing.c:3288:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3288 | int AbortLaunch(pVoid) | ^ drawing.c:3298:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3298 | void EditIndexedAttrInEditor(index) | ^ drawing.c:3355:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3355 | sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ drawing.c:3355:22: note: treat the string as an argument to avoid this 3355 | sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ drawing.c:3418:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3418 | void EditIndexedAttrGroupInEditor(index) | ^ drawing.c:3476:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3476 | sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ drawing.c:3476:22: note: treat the string as an argument to avoid this 3476 | sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ drawing.c:3555:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3555 | TgMenu *CreateEditAttrInEditorMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:3589:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3589 | TgMenu *CreateEditAttrGroupInEditorMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:3623:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3623 | void GetProperty(index) | ^ drawing.c:3629:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3629 | TgMenu *CreateGetPropertyMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:3666:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3666 | void SetPeekStrings(attr_strings, status_strings, i, menu_text, status_text) | ^ drawing.c:3677:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3677 | int CanGetArea(obj_ptr) | ^ drawing.c:3697:29: warning: variable 'num_hinge_points' set but not used [-Wunused-but-set-variable] 3697 | int num_smooth_points=0, num_hinge_points=0; | ^ drawing.c:3693:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3693 | double GetPolygonArea(polygon_ptr) | ^ drawing.c:3746:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3746 | double GetArea(obj_ptr) | ^ drawing.c:3913:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3913 | void PeekDimension(index) | ^ drawing.c:3919:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3919 | TgMenu *CreatePeekDimensionMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:3955:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3955 | int RefreshContextMenu(menu) | ^ drawing.c:3985:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3985 | TgMenu *CreateContextMenu(parent_menu, X, Y, menu_info, status_str_xlated) | ^ drawing.c:4002:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4002 | int RefreshEditTextContextMenu(menu) | ^ drawing.c:4022:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4022 | TgMenu *CreateEditTextContextMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:4040:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4040 | int ContextMenu(X, Y, TrackMenubar) | ^ drawing.c:4063:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4063 | void HandleMotionForPortInDrawWindow(mouse_x, mouse_y) | ^ drawing.c:4067:36: warning: variable 'obj_ptr' set but not used [-Wunused-but-set-variable] 4067 | struct ObjRec *owner_obj=NULL, *obj_ptr, *obj_under_cursor=NULL; | ^ drawing.c:4155:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4155 | void HandleMotionInDrawWindow(input) | ^ drawing.c:4253:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4253 | int HandlePressForPortInDrawWindow(cancel) | ^ drawing.c:4279:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4279 | int HandlePressInDrawWindow(input, pn_status) | ^ --- cutpaste.o --- 87 warnings generated. --- drawing.o --- drawing.c:4421:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4421 | int DrawingEventHandler(input) | ^ --- dup.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c dup.c --- dialog.o --- 20 warnings generated. --- edit.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c edit.c --- dup.o --- dup.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | void CopyObjId(FromObjPtr, ToObjPtr) | ^ dup.c:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | void CopyObjLocks(FromObjPtr, ToObjPtr) | ^ dup.c:124:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | void UnlockAnObj(ObjPtr) | ^ dup.c:146:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | void DupObjXfrmMtrx(FromObjPtr, ToObjPtr) | ^ dup.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | void DupObjBasics(FromObjPtr, ToObjPtr) | ^ dup.c:192:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | void DupPolyObj(PolyPtr, ObjPtr) | ^ dup.c:304:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | void DupPolygonObj(PolygonPtr, ObjPtr) | ^ dup.c:406:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | void DupOvalObj(OvalPtr, ObjPtr) | ^ dup.c:441:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | void DupBoxObj(BoxPtr, ObjPtr) | ^ dup.c:459:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | void DupRCBoxObj(RCBoxPtr, ObjPtr) | ^ dup.c:495:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | void DupArcObj(ArcPtr, ObjPtr) | ^ dup.c:544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | void DupXBmObj(XBmPtr, ObjPtr) | ^ dup.c:632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | void DupXPmObj(XPmPtr, ObjPtr) | ^ dup.c:785:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | void DupStrSeg(pToStrBlock, pFromStrSeg) | ^ dup.c:811:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | void DupStrBlock(pStrBlock, pMiniLineOwner, ppFirstStrBlock, ppLastStrBlock) | ^ dup.c:852:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | void DupMiniLine(pMiniLine, pOwnerMiniLines, pOwnerBlock, ppFirstMiniLine, | ^ dup.c:880:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | void DupMiniLines(minilines, pOwnerBlock, ppMinilines) | ^ dup.c:904:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | void DupTextObj(TextPtr, FromObjPtr, ToObjPtr) | ^ dup.c:976:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | void DupConnection(FromConnPtr, ToConnPtr) | ^ dup.c:981:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | void DupGroupObj(GroupPtr, ObjPtr) | ^ dup.c:1010:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | struct ObjRec *DupObj(ObjPtr) | ^ dup.c:1149:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | void DupTheseObjects(TopSel, BotSel, NewTopSel, NewBotSel) | ^ dup.c:1180:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | void JustDupSelObj(NewTopSel, NewBotSel) | ^ --- edit.o --- edit.c:216:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | int ConvertObjIntSpline(ObjPtr) | ^ edit.c:362:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | void SetBezierPoints(n, vs, new_n, bezier_vs) | ^ edit.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int ConvertObjToBezier(ObjPtr) | ^ edit.c:499:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | int SetBezierConvertNumSegsValue(spec) | ^ edit.c:519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | void SetBezierConvertNumSegs(psz_num_segs) | ^ edit.c:797:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | void BreakATextObj(ObjPtr, how, poli) | ^ edit.c:914:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | int GetBreakSpecFromCh(spec) | ^ edit.c:936:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | void DoBreakUpText(spec, forced_justify) | ^ edit.c:1024:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | void BreakUpText(spec) | ^ edit.c:1031:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | int DoSetTextFillPatternColor(ObjPtr) | ^ edit.c:1154:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1154 | sprintf(gszMsgBox, TgLoadString(STID_VERTEX_AT_3_OCLOCK_YNC)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ edit.c:1154:23: note: treat the string as an argument to avoid this 1154 | sprintf(gszMsgBox, TgLoadString(STID_VERTEX_AT_3_OCLOCK_YNC)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ edit.c:1216:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | int DeleteStructuredSplinePoint(index, poly_ptr, polygon_ptr) | ^ edit.c:1655:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | void AddPointMeasureCursor(start, abs_w, abs_h, abs_x, abs_y) | ^ edit.c:1681:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | int DetermineBefore(prev_dist, next_dist, new_prev_dist, new_next_dist) | ^ edit.c:1734:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1734 | int CanAddSmoothPointForStructuredSpline(button, psssi) | ^ edit.c:1783:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1783 | int ContinueAddStructuredPolyOrPolygonPointSetup(paspi) | ^ edit.c:2025:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | void ContinueAddStructuredPolyOrPolygonPointFirstMoved(paspi) | ^ --- dup.o --- 23 warnings generated. --- edit.o --- edit.c:2315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2315 | void ContinueAddStructuredPolyOrPolygonPointRestMoved(paspi) | ^ edit.c:2419:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2419 | int ContinueAddStructuredPolyOrPolygonPointFinished(paspi) | ^ edit.c:2669:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2669 | void EraseHighLightForAddStructuredPolyPoint(paspi, abs_dx, abs_dy, | ^ edit.c:2712:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | int ContinueAddStructuredPolyOrPolygonPoint(obj_ptr, button, start_mouse_x, | ^ --- eps.o --- --- edit.o --- edit.c:2817:44: warning: variable 'num' set but not used [-Wunused-but-set-variable] 2817 | int sel_ltx, sel_lty, sel_rbx, sel_rby, num=0, i, intn=0; | ^ edit.c:2798:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2798 | int ContinueAddPolyPoint(ObjPtr, MouseX, MouseY, Index, PolyPtr, | ^ edit.c:3175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3175 | int ContinueAddPolygonPoint(ObjPtr, MouseX, MouseY, Index, PolygonPtr, | ^ edit.c:3939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3939 | int ReproducePixmap(pixel_to_use, orig_pixmap, orig_image, orig_bitmap, | ^ edit.c:4026:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4026 | int RemoveObjTransPixel(obj_ptr, ptci) | ^ --- eps.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c eps.c --- edit.o --- edit.c:4152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4152 | void RotateXY(x, y, angle_in_radian, new_x, new_y) | ^ edit.c:4170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4170 | void RotateBBoxByRadian(bbox, angle_in_radian, v) | ^ edit.c:4186:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4186 | int HighLightOrFinalLayout(arc_ptr, box_info_ptr, grid_x, grid_y, finalize) | ^ edit.c:4320:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4320 | void HighLightLayout(arc_ptr, box_info_ptr, grid_x, grid_y, generate) | ^ edit.c:4340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4340 | void DoLayoutOnArc(arc_obj, box_info_ptr) | ^ edit.c:4410:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4410 | int ObjsAlreadySorted(box_info_ptr, min_index, max_index) | ^ edit.c:4430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4430 | void QuickSortObjs(box_info_ptr, min_index, max_index, level) | ^ edit.c:4503:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4503 | int DecideLayoutDirection(obj_ptr) | ^ edit.c:4621:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4621 | int FinishPreciseRotate(angle_spec, pivot_x, pivot_y) | ^ edit.c:4722:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4722 | void RotateAllSelObj(angle_spec) | ^ edit.c:4887:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4887 | void UpdateOuterInnerSelForFind(obj_ptr) | ^ edit.c:4896:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4896 | struct ObjRec *DoFind(obj_ptr) | ^ edit.c:4965:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4965 | struct ObjRec *DoFindAlready(obj_ptr, bottom_half, pn_give_up) | ^ edit.c:5195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5195 | int RefreshEditMenu(menu) | ^ edit.c:5225:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5225 | TgMenu *CreateEditMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ edit.c:5242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5242 | int EditMenu(X, Y, TrackMenubar) | ^ edit.c:5339:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5339 | void Abut(Dir) | ^ edit.c:5543:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5543 | void RefreshArrangeMenu(menu) | ^ edit.c:5548:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5548 | int ArrangeMenu(X, Y, TrackMenubar) | ^ edit.c:5565:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5565 | int RefreshPropertiesMenu(menu) | ^ edit.c:5579:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5579 | TgMenu *CreatePropertiesMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ edit.c:5596:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5596 | int PropertiesMenu(X, Y, TrackMenubar) | ^ edit.c:6120:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 6120 | sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_SHADOW_FOUND)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ edit.c:6120:26: note: treat the string as an argument to avoid this 6120 | sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_SHADOW_FOUND)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ edit.c:6135:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6135 | int ReadObjectShadowInfo(buf) | ^ edit.c:6164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6164 | int ConsecutiveVerticesSelected(pn_index0, pn_index1) | ^ edit.c:6408:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6408 | int RefreshPolySplineMenu(menu) | ^ edit.c:6422:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6422 | TgMenu *CreatePolySplineMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ --- eps.o --- eps.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | void DumpXBmByte(fp, num_nibbles, image_h, nibble_index, row_index, | ^ eps.c:215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | int UpdateEndDetectState(c, p_end_detect_state, p_line_count) | ^ eps.c:240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | int ReadPreviewBitmap(fp, file_name, image_w, image_h, bps, bitmap, image) | ^ eps.c:410:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | void AddLine(s) | ^ eps.c:432:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | unsigned long ReadDoubleWord(buf) | ^ eps.c:450:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | int XbmToPreviewBitmap(FP, xbm_fname) | ^ eps.c:530:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | int ErrorInConvertTiffToXbm(fp, tiff_fp, xbm_fp, fname) | ^ eps.c:547:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | int ConvertTiffToXbm(fp, tiff_offset, tiff_sz, xbm_fname, xbm_sz) | ^ eps.c:625:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | FILE *ErrorInGetTiffEPSIInfo(fp, eps_fp, fname) | ^ eps.c:686:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 686 | fprintf(stderr, TgLoadString(STID_FAIL_TO_WRITE_TO_STDOUT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eps.c:686:29: note: treat the string as an argument to avoid this 686 | fprintf(stderr, TgLoadString(STID_FAIL_TO_WRITE_TO_STDOUT)); | ^ | "%s", eps.c:641:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | FILE *GetTiffEPSIInfo(fp, pszEPS, file_buf_sz, pnPreviewOK) | ^ eps.c:754:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | void GetEPSFullPath(file_name, full_path, buf_sz) | ^ eps.c:780:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | int ConvertPsToXbm(pszPsPath, pszXbmPath, file_buf_sz) | ^ eps.c:849:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | int AutoGeneratePreviewBitmap(pszPsPath, pBitmap, pImage, pnImageW, pnImageH) | ^ eps.c:902:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | int DoMyReadEPSFile(file_name, pn_image_w, pn_image_h, p_bitmap, p_image, | ^ eps.c:1208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | int MyReadEPSFile(file_name, image_w, image_h, bitmap, image, num_lines, | ^ eps.c:1227:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | FILE *JustGetTiffEPSIInfo(fp, pszEPS, file_buf_sz) | ^ eps.c:1290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | int JustReadEPSLines(xbm_ptr) | ^ eps.c:1466:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | void DumpEPSObj(FP, ObjPtr) | ^ --- drawing.o --- 65 warnings generated. --- eps.o --- eps.c:1664:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | void SetEPSObjCTM(obj_ptr, p_orig_obbox) | ^ eps.c:1701:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | struct ObjRec *CreateEPSObj(FileName, ImageW, ImageH, bitmap, image, | ^ --- exec.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c exec.c exec.c:489:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | int PrependToTmpStr(psz) | ^ exec.c:510:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | int AppendToTmpStr(psz) | ^ exec.c:531:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | int AppendToTmpStr2(psz1, psz2, tg2) | ^ exec.c:550:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | int ExecuteCmdGetResult(cmd, result_list, max_lines) | ^ exec.c:588:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | struct ObjRec *FindObjWithName(BotObj, OrigObj, obj_name, inside_root_obj, | ^ exec.c:716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | int EndingRightParan(inbuf) | ^ exec.c:728:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | int OnlyBlanksLeft(inbuf) | ^ exec.c:740:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | char *GetToken(inbuf, outbuf, obuf_sz, tok_type) | ^ exec.c:876:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | char *convert_str(inbuf, obj_ptr, double_quotes_for_null) | ^ exec.c:1004:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | int PipeReachedEOF(fp) | ^ exec.c:1023:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | int WaitForEvent(fp, fp_is_pipe, fp_is_named_pipe, pn_quit, | ^ exec.c:1131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | int AbortLaunch(pVoid) | ^ exec.c:1142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | void LaunchIt(cmd) | ^ exec.c:1220:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | int DoLaunch(launch_attr, obj_ptr) | ^ exec.c:1328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1328 | int BadCmd(cmd_name) | ^ exec.c:1338:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | int BadSelectedObj(cmd_name) | ^ exec.c:1348:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | int BadAttr(attr_name, cmd_name) | ^ exec.c:1360:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | int FileAttrNotAllowed(attr_name, cmd_name) | ^ exec.c:1372:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | int BadObjName(obj_name, cmd_name) | ^ exec.c:1382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | int BadArg(arg_name, cmd_name) | ^ exec.c:1394:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | void SetReplaceAttrValueCallback(pf_replace_attr_value, pv_userdata) | ^ exec.c:1402:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | int ReplaceAttrFirstValue(obj_ptr, attr_ptr, new_value) | ^ exec.c:1514:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | int ReplaceAttrAllValues(obj_ptr, attr_ptr, ppTopStr, ppBotStr) | ^ exec.c:1522:18: warning: variable 'pMiniLine' set but not used [-Wunused-but-set-variable] 1522 | MiniLineInfo *pMiniLine=NULL; | ^ exec.c:1620:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | void JustReadFileIntoAttr(FP, attr_ptr, attr_owner_obj) | ^ exec.c:1770:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1770 | sprintf(gszMsgBox, TgLoadString(STID_USER_INTR)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ exec.c:1770:29: note: treat the string as an argument to avoid this 1770 | sprintf(gszMsgBox, TgLoadString(STID_USER_INTR)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ exec.c:1721:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | int CheckExecInterrupt(orig_cmd) | ^ exec.c:1800:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1800 | int IntExpression(expr, p_ival, orig_cmd) | ^ exec.c:1822:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1822 | int FloatExpression(expr, p_dval, orig_cmd) | ^ exec.c:1844:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | void SelectAnObj(sub_obj, owner_obj, top_owner, pp_saved_top_sel, | ^ exec.c:1865:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | int ExecLaunch(argv, obj_ptr, orig_cmd) | ^ exec.c:1881:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1881 | int ExecExec(argv, obj_ptr, orig_cmd) | ^ exec.c:1898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | int ExecMktemp(argv, obj_ptr, orig_cmd) | ^ exec.c:1992:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | int ExecUseTemplate(argv, obj_ptr, orig_cmd) | ^ exec.c:2108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | int ExecUpdChild(argv, obj_ptr, orig_cmd, upd_type) | ^ exec.c:2462:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2462 | int ExecUpdEPSChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2469:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2469 | int ExecUpdXBMChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2476 | int ExecUpdXPMChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2484:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2484 | int ExecDelChild(argv, obj_ptr, orig_cmd, upd_type) | ^ exec.c:2584:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2584 | int ExecDelEPSChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2591:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2591 | int ExecDelXBMChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2598:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2598 | int ExecDelXPMChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2607:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2607 | long ms_time(tv) | ^ exec.c:2620:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2620 | int ExecFlipDeck(argv, obj_ptr, orig_cmd) | ^ exec.c:2877:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2877 | int DoReadFileIntoAttr(attr_ptr, attr_owner_obj, file_name, orig_cmd) | ^ exec.c:2931:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2931 | int ExecReadFileIntoAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:2954:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2954 | int ExecWriteOrAppendAttrIntoFile(argv, obj_ptr, orig_cmd, open_mode) | ^ exec.c:3012:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3012 | int ExecWriteAttrIntoFile(argv, obj_ptr, orig_cmd) | ^ exec.c:3020:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3020 | int ExecAppendAttrIntoFile(argv, obj_ptr, orig_cmd) | ^ exec.c:3028:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3028 | int ExecSelectObjByName(argv, obj_ptr, orig_cmd) | ^ exec.c:3055:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3055 | void ExecSelectTopObj(obj_ptr, orig_cmd) | ^ exec.c:3072:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3072 | void ExecDelAllSelObj(obj_ptr, orig_cmd) | ^ exec.c:3087:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3087 | void ExecUnSelectAllObj(obj_ptr, orig_cmd) | ^ exec.c:3095:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3095 | int ExecMoveSelObjRel(argv, obj_ptr, orig_cmd) | ^ exec.c:3119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3119 | int ExecRepeat(argv, obj_ptr, orig_cmd) | ^ exec.c:3148:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3148 | int ExecHyperJump(argv, obj_ptr, orig_cmd) | ^ exec.c:3175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3175 | int MapCGIChars(buf, buf_sz, orig_str) | ^ exec.c:3209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3209 | int ExecMakeCGIQuery(argv, obj_ptr, orig_cmd) | ^ exec.c:3219:18: warning: variable 'buf_len' set but not used [-Wunused-but-set-variable] 3219 | int buf_sz=0, buf_len=0, tmp_sz=0, num_attrs=0; | ^ exec.c:3219:39: warning: variable 'num_attrs' set but not used [-Wunused-but-set-variable] 3219 | int buf_sz=0, buf_len=0, tmp_sz=0, num_attrs=0; | ^ exec.c:3385:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3385 | int ExecWaitClick(argv, obj_ptr, orig_cmd) | ^ exec.c:3497:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3497 | int ExecSleep(argv, obj_ptr, orig_cmd) | ^ exec.c:3600:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3600 | void ExecBeginAnimate(obj_ptr, orig_cmd) | ^ exec.c:3612:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3612 | void ExecEndAnimate(obj_ptr, orig_cmd) | ^ exec.c:3621:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3621 | int ExecSetRedraw(argv, obj_ptr, orig_cmd) | ^ exec.c:3639:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3639 | int ExecSetSelObjColor(argv, obj_ptr, orig_cmd) | ^ exec.c:3665:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3665 | int ExecSetSelObjFill(argv, obj_ptr, orig_cmd) | ^ exec.c:3688:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3688 | int ExecSetSelObjPen(argv, obj_ptr, orig_cmd) | ^ exec.c:3711:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3711 | int ExecSetSelObjLineWidth(argv, obj_ptr, orig_cmd) | ^ exec.c:3749:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3749 | int ExecSetSelObjSpline(argv, obj_ptr, orig_cmd) | ^ exec.c:3778:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3778 | int ExecSetSelObjArrow(argv, obj_ptr, orig_cmd) | ^ exec.c:3807:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3807 | int ExecSetSelObjDash(argv, obj_ptr, orig_cmd) | ^ exec.c:3830:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3830 | int ExecSetSelObjTransPat(argv, obj_ptr, orig_cmd) | ^ exec.c:3852:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3852 | int ExecSetSelObjRCBRadius(argv, obj_ptr, orig_cmd) | ^ exec.c:3875:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3875 | int ExecSetSelTextVSpace(argv, obj_ptr, orig_cmd) | ^ exec.c:3892:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3892 | int ExecSetSelTextJust(argv, obj_ptr, orig_cmd) | ^ exec.c:3919:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3919 | int ExecSetSelTextFont(argv, obj_ptr, orig_cmd) | ^ exec.c:3957:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3957 | int ExecSetSelTextStyle(argv, obj_ptr, orig_cmd) | ^ exec.c:3987:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3987 | int ExecSetSelTextSize(argv, obj_ptr, orig_cmd) | ^ exec.c:4028:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4028 | int ExecSetSelTextUnderline(argv, obj_ptr, orig_cmd) | ^ exec.c:4045:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4045 | int ExecSetSelTextOverline(argv, obj_ptr, orig_cmd) | ^ exec.c:4062:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4062 | int ExecInc(argv, obj_ptr, orig_cmd) | ^ exec.c:4087:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4087 | int ExecDec(argv, obj_ptr, orig_cmd) | ^ exec.c:4116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4116 | int DoShuffleObjToTopOrBottom(argv, obj_ptr, orig_cmd, to_top) | ^ exec.c:4207:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4207 | int ExecShuffleObjToTop(argv, obj_ptr, orig_cmd) | ^ exec.c:4215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4215 | int ExecShuffleObjToBot(argv, obj_ptr, orig_cmd) | ^ exec.c:4223:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4223 | void ExecDisableUndo(obj_ptr, orig_cmd) | ^ exec.c:4235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4235 | void ExecEnableUndo(obj_ptr, orig_cmd) | ^ exec.c:4243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4243 | int ExecGetDrawingArea(argv, obj_ptr, orig_cmd) | ^ exec.c:4282:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4282 | int ExecGetSelObjBBox(argv, obj_ptr, orig_cmd) | ^ exec.c:4323:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4323 | int ExecGetNamedObjBBox(argv, obj_ptr, orig_cmd) | ^ exec.c:4372:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4372 | int ExecMoveSelObjAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:4396:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4396 | int ExecAssign(argv, obj_ptr, orig_cmd) | ^ exec.c:4435:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4435 | int ExecStrCpy(argv, obj_ptr, orig_cmd) | ^ exec.c:4455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4455 | int ExecStrCat(argv, obj_ptr, orig_cmd) | ^ exec.c:4482:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4482 | int ExecCopyStrToCutBuffer(argv, obj_ptr, orig_cmd) | ^ exec.c:4488:8: warning: variable 'len' set but not used [-Wunused-but-set-variable] 4488 | int len=0; | ^ exec.c:4502:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4502 | int ExecWhile(argv, raw_argv, obj_ptr, orig_cmd) | ^ exec.c:4539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4539 | int ExecIf(argv, obj_ptr, orig_cmd) | ^ exec.c:4583:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4583 | int ExecGetCurrentFile(argv, obj_ptr, orig_cmd) | ^ exec.c:4613:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4613 | int ExecGetCurrentExportFile(argv, obj_ptr, orig_cmd) | ^ exec.c:4649:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4649 | int ExecGetCurrentDir(argv, obj_ptr, orig_cmd) | ^ exec.c:4669:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4669 | int ExecGetEnv(argv, obj_ptr, orig_cmd) | ^ exec.c:4693:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4693 | int ExecStrLen(argv, obj_ptr, orig_cmd) | ^ exec.c:4715:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4715 | int ExecSubStr(argv, obj_ptr, orig_cmd) | ^ exec.c:4754:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4754 | int ExecStrStr(argv, obj_ptr, orig_cmd) | ^ exec.c:4775:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4775 | int ExecStrRStr(argv, obj_ptr, orig_cmd) | ^ exec.c:4801:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4801 | void ExecUnMakeSelObjIconic(obj_ptr, orig_cmd) | ^ exec.c:4838:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4838 | int ExecHyperJumpThenExec(argv, obj_ptr, orig_cmd) | ^ exec.c:4868:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4868 | void ReplaceAttrShown(obj_ptr, attr_ptr, show_type) | ^ --- eps.o --- 21 warnings generated. --- exec.o --- exec.c:4923:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4923 | int ExecShowHideAttr(argv, obj_ptr, orig_cmd, show_type) | ^ exec.c:4962:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4962 | int ExecShowAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:4970:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4970 | int ExecHideAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:4978:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4978 | int ExecShowAttrName(argv, obj_ptr, orig_cmd) | ^ exec.c:4986:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4986 | int ExecHideAttrName(argv, obj_ptr, orig_cmd) | ^ exec.c:4995:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4995 | int ExecShowHideValue(argv, obj_ptr, orig_cmd, show_type) | ^ exec.c:5026:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5026 | int ExecShowValue(argv, obj_ptr, orig_cmd) | ^ exec.c:5034:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5034 | int ExecHideValue(argv, obj_ptr, orig_cmd) | ^ exec.c:5042:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5042 | int ExecGetAttrBBox(argv, obj_ptr, orig_cmd) | ^ exec.c:5091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5091 | int ExecSizeSelObjAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:5124:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5124 | int ExecSizeNamedObjAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:5166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5166 | int ExecMessageBox(argv, obj_ptr, orig_cmd) | ^ --- expr.o --- --- exec.o --- exec.c:5221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5221 | int ExecGetUserInput(argv, obj_ptr, orig_cmd) | ^ exec.c:5258:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5258 | int ExecAddAttrToSelObj(argv, obj_ptr, orig_cmd) | ^ exec.c:5365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5365 | int ExecDelAttrFromSelObj(argv, obj_ptr, orig_cmd) | ^ exec.c:5423:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5423 | int ExecUserEndAnEdge(argv, obj_ptr, orig_cmd) | ^ exec.c:5475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5475 | int ExecUserDrawAnEdge(argv, obj_ptr, orig_cmd) | ^ exec.c:5559:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5559 | int ExecGetAPolyVertexAbs(argv, obj_ptr, orig_cmd) | ^ --- expr.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c expr.c --- exec.o --- exec.c:5625:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5625 | int ExecMoveAPolyVertexAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:5767:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5767 | int ExecPostAttrAndGetCGI(argv, obj_ptr, orig_cmd) | ^ exec.c:5880:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5880 | void ExecNavigateBack(obj_ptr, orig_cmd) | ^ exec.c:5888:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5888 | void ExecStop(obj_ptr, orig_cmd) | ^ exec.c:5899:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5899 | int ExecSqrt(argv, obj_ptr, orig_cmd) | ^ exec.c:5941:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5941 | int ExecRandom(argv, obj_ptr, orig_cmd) | ^ exec.c:5981:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5981 | int ExecSRand48(argv, obj_ptr, orig_cmd) | ^ exec.c:6011:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6011 | int ExecDRand48(argv, obj_ptr, orig_cmd) | ^ exec.c:6042:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6042 | int ExecRound(argv, obj_ptr, orig_cmd) | ^ exec.c:6077:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6077 | int ExecRedrawObj(argv, obj_ptr, orig_cmd) | ^ exec.c:6099:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6099 | void ExecRedrawDrawingArea(obj_ptr, orig_cmd) | ^ exec.c:6107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6107 | int ExecIntToHex(argv, obj_ptr, orig_cmd) | ^ exec.c:6155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6155 | int ExecForI(argv, obj_ptr, orig_cmd) | ^ exec.c:6253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6253 | void ExecSetFileNotModified(obj_ptr, orig_cmd) | ^ exec.c:6263:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6263 | int ExecNewId(argv, obj_ptr, orig_cmd) | ^ exec.c:6282:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6282 | int ExecRotateSelObj(argv, obj_ptr, orig_cmd) | ^ exec.c:6311:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6311 | int ExecCallSimpleShortCut(argv, obj_ptr, orig_cmd) | ^ exec.c:6369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6369 | int ExecCallOneArgShortCut(argv, obj_ptr, orig_cmd) | ^ exec.c:6438:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6438 | int ExecSubstituteAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:6569:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6569 | int ExecGetFileSize(argv, obj_ptr, orig_cmd) | ^ exec.c:6597:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6597 | int ExecIsFile(argv, obj_ptr, orig_cmd) | ^ exec.c:6624:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6624 | int ExecIndex(argv, obj_ptr, orig_cmd) | ^ exec.c:6650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6650 | int ExecRIndex(argv, obj_ptr, orig_cmd) | ^ exec.c:6680:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6680 | int ExecGetNumberOfLines(argv, obj_ptr, orig_cmd) | ^ exec.c:6715:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6715 | int ExecGetLineInAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:6778:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6778 | int ExecTrim(argv, obj_ptr, orig_cmd) | ^ exec.c:6800:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6800 | int ExecIsAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:6827:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6827 | int ExecFindObjNames(argv, obj_ptr, orig_cmd) | ^ exec.c:6953:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6953 | int FindObjNamesOnAllPgs(argv, obj_ptr, orig_cmd, tg2) | ^ exec.c:7085:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7085 | int ExecFindObjNamesOnAllPgs(argv, obj_ptr, orig_cmd) | ^ exec.c:7105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7105 | int ExecTg2FindObjNsOnAllPgs(argv, obj_ptr, orig_cmd) | ^ exec.c:7125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7125 | int ExecTokenize(argv, obj_ptr, orig_cmd) | ^ exec.c:7252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7252 | int ExecMoveAttrRel(argv, obj_ptr, orig_cmd) | ^ exec.c:7282:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7282 | int ExecGetNumberOfVs(argv, obj_ptr, orig_cmd) | ^ exec.c:7320:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7320 | int ExecIsObjTransformed(argv, obj_ptr, orig_cmd) | ^ exec.c:7348:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7348 | int ExecMakeSelObjIconic(argv, obj_ptr, orig_cmd) | ^ exec.c:7376:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7376 | int ExecMoveNamedObjRel(argv, obj_ptr, orig_cmd) | ^ exec.c:7409:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7409 | int ExecMoveNamedObjAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:7443:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7443 | int ExecGetTgifVersion(argv, obj_ptr, orig_cmd) | ^ exec.c:7495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7495 | int ExecGetTgifDir(argv, obj_ptr, orig_cmd) | ^ exec.c:7513:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7513 | int ExecGetProfileString(argv, obj_ptr, orig_cmd) | ^ exec.c:7576:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7576 | int ExecWriteProfileString(argv, obj_ptr, orig_cmd) | ^ exec.c:7612:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7612 | int ExecSelectAdditionalObj(argv, obj_ptr, orig_cmd) | ^ exec.c:7646:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7646 | int ExecOpenFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7712:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7712 | int ExecCloseFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7748:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7748 | int ExecReadFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7803:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7803 | int ExecWriteFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7842:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7842 | int ExecFlushFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7871:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7871 | int ExecAppendFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7927:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7927 | int ExecSetOutputFormat(argv, obj_ptr, orig_cmd) | ^ exec.c:7970:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7970 | int ExecSetExportClipRect(argv, obj_ptr, orig_cmd) | ^ exec.c:8007:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8007 | int ExecImportFile(argv, obj_ptr, orig_cmd) | ^ exec.c:8240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8240 | int ExecSetXpmOutputVersion(argv, obj_ptr, orig_cmd) | ^ exec.c:8263:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8263 | int ExecEditIniSection(argv, obj_ptr, orig_cmd) | ^ exec.c:8304:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8304 | int ExecSelectFromIniSection(argv, obj_ptr, orig_cmd) | ^ exec.c:8343:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8343 | int ExecAppendLineIntoAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:8383:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8383 | int ExecInsertLineIntoAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:8470:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8470 | int ExecClearAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:8536:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8536 | int ExecCreateText(argv, obj_ptr, orig_cmd) | ^ exec.c:8578:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8578 | int ExecCreateBox(argv, obj_ptr, orig_cmd) | ^ exec.c:8611:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8611 | int ExecCreateCornerOval(argv, obj_ptr, orig_cmd) | ^ exec.c:8646:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8646 | int ExecCreateCenterOval(argv, obj_ptr, orig_cmd) | ^ exec.c:8678:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8678 | int ExecCreateEdgeOval(argv, obj_ptr, orig_cmd) | ^ exec.c:8720:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8720 | int ExecCreateRCBox(argv, obj_ptr, orig_cmd) | ^ exec.c:8753:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8753 | int ExecCreateArc(argv, obj_ptr, orig_cmd) | ^ exec.c:8841:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8841 | int ExecCreateFirstVertex(argv, obj_ptr, orig_cmd) | ^ exec.c:8865:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8865 | int ExecCreateNextVertex(argv, obj_ptr, orig_cmd) | ^ exec.c:8892:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8892 | void ExecCreatePoly(obj_ptr, orig_cmd) | ^ exec.c:8918:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8918 | void ExecCreatePolygon(obj_ptr, orig_cmd) | ^ exec.c:8965:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8965 | void ExecStartCreateGroup(obj_ptr, orig_cmd) | ^ exec.c:8979:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8979 | void ExecCreateGroup(obj_ptr, orig_cmd) | ^ exec.c:9060:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9060 | int ExecSetAllowInterrupt(argv, obj_ptr, orig_cmd) | ^ exec.c:9084:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9084 | int DoExecSelectEachObjAndExec(attr_name) | ^ exec.c:9108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9108 | int ExecSelectEachObjAndExec(argv, obj_ptr, orig_cmd) | ^ exec.c:9167:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9167 | int ExecEditAttrInTextMode(argv, obj_ptr, orig_cmd) | ^ exec.c:9187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9187 | void ExecSetFileUnSavable(obj_ptr, orig_cmd) | ^ exec.c:9200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9200 | void ExternalPsToEpsi(scale_val, src_file_name, dest_file_name) | ^ exec.c:9223:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9223 | void FindGsVersion(gs_copyright, pn_gs_type, pn_gs_version) | ^ exec.c:9271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9271 | int PbmToEpsi(d_scale, pbm_fname, out_fname, orig_cmd) | ^ exec.c:9391:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9391 | int InternalPsToEpsi(scale, src_file_name, dest_file_name, orig_cmd) | ^ exec.c:9456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9456 | int ExecPsToEpsi(argv, obj_ptr, orig_cmd) | ^ exec.c:9518:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9518 | int ExecObjsBBoxIntersect(argv, obj_ptr, orig_cmd) | ^ exec.c:9556:11: warning: comparison of array 'buf' equal to a null pointer is always false [-Wtautological-pointer-compare] 9556 | (buf==NULL ? "" : buf)); | ^~~ ~~~~ exec.c:9561:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9561 | void ExecDelAllAttrFromSelObj(obj_ptr, orig_cmd) | ^ exec.c:9602:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9602 | void Swap(psz, i, j) | ^ exec.c:9613:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9613 | void RandomPermutation(prpi, num_states) | ^ exec.c:9669:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9669 | int ExecRndPermLinesInAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:9676:19: warning: variable 'minilines' set but not used [-Wunused-but-set-variable] 9676 | MiniLinesInfo *minilines=NULL; | ^ exec.c:9746:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9746 | char *ExecFreeArgv(need_raw_argv, argc, p_argv, p_raw_argv) | ^ exec.c:9768:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9768 | void ShowExecStatus(need_raw_argv, argc, argv, raw_argv, func_name) | ^ exec.c:9802:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9802 | char *ExecuteACommand(cmd_ptr, obj_ptr) | ^ exec.c:9930:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9930 | int ExecuteCommands(cmd, obj_ptr) | ^ exec.c:9968:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9968 | int CommentLine(buf) | ^ exec.c:9976:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9976 | int DoExec(exec_attr, obj_ptr) | ^ exec.c:10046:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10046 | void ResetExec(nBegin) | ^ exec.c:10095:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10095 | char *ReadACmdFromFile(fp, is_named_pipe, pn_quit) | ^ exec.c:10151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10151 | void DoExecCmdsFromFile(fp, is_named_pipe, pn_quit) | ^ exec.c:10206:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10206 | void ExecCmdsFromFile(buf) | ^ exec.c:10314:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10314 | void ExecCmdsFromTmp(tmp_fname) | ^ exec.c:10366:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10366 | int ExecACommandFromBuffer(buf, pn_quit) | ^ --- expr.o --- expr.c:96:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | int BadOperandType(operator_str) | ^ expr.c:106:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | int DivByZero(operator_str) | ^ expr.c:116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | int OpPrec(op_code) | ^ expr.c:154:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | int OpArity(op_code) | ^ expr.c:193:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | int OpPush(op_code, cur_depth) | ^ expr.c:209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | int ValPush(v_ptr) | ^ expr.c:234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | void PopValStk(v_ptr) | ^ expr.c:259:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | int ExprAtomType(expr) | ^ expr.c:290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | int EvalEquality(op_code, v, result_ptr) | ^ expr.c:349:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | int EvalInequality(op_code, v, result_ptr) | ^ expr.c:437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | int EvalMod(left, right) | ^ expr.c:444:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | int MultipleOf(left, right) | ^ expr.c:459:8: warning: variable 'left_ival' set but not used [-Wunused-but-set-variable] 459 | int left_ival, right_ival; | ^ expr.c:460:11: warning: variable 'left_dval' set but not used [-Wunused-but-set-variable] 460 | double left_dval, right_dval; | ^ expr.c:454:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | int EvalArithmaticOp(op_code, op_str, v, result_ptr) | ^ expr.c:793:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | int ParseForNumericVal(ppsz_token, v) | ^ expr.c:836:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | int ParseForStringVal(ppsz_token, v) | ^ expr.c:871:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | int ParseForIDVal(ppsz_token, v) | ^ expr.c:957:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | int ProcessOp(prec) | ^ expr.c:968:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | int EvalExpr(orig_expr, v_ptr) | ^ 20 warnings generated. --- file.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c file.c --- edit.o --- 53 warnings generated. --- font.o --- --- file.o --- file.c:238:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | char *MkTempFile(buf, buf_sz, psz_dir, psz_prefix) | ^ file.c:305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | void SetUnSavableFile(unsavable) | ^ file.c:314:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | void UpdateDocumentFonts(ps_font_name) | ^ file.c:335:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | void DumpDocumentFonts(dump_fp) | ^ file.c:382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | int FindPropagatedEPSInfo(buf) | ^ file.c:414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | void DumpPropagatedEPSInfo(dump_fp) | ^ file.c:452:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | void DoUpdatePropagatedEPSInfo(index, psz_value) | ^ file.c:479:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | void UpdatePropagatedEPSInfo(line, pn_status) | ^ file.c:549:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | void DumpResidual(write_fp) | ^ file.c:561:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | void AddToResidual(write_fp, buf) | ^ file.c:587:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | char *GetPostScriptToken(read_fname, pszStart, ppszEnd) | ^ file.c:627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | void CondenseAndCopyPostScriptFile(read_fp, write_fp, read_fname, condense) | ^ file.c:687:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | int CondensePostScriptFile(read_fname, buf_sz) | ^ --- font.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c font.c --- file.o --- file.c:729:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | int CopyAFile(file1, file2, condense) | ^ file.c:792:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | int FindProgramInPath(cmd, msg, no_msg) | ^ file.c:845:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | int ExecuteCmd(cmd, done_msg) | ^ file.c:891:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | void ClearFileInfo(clean_up_comments) | ^ file.c:913:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | int OkayToCreateFile(FileName) | ^ file.c:931:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | void SaveObj(FP, ObjPtr, Level) | ^ file.c:955:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | int FileNameHasExtension(file_name, file_type, pn_gzipped, pn_no_name) | ^ file.c:1040:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | void RemoveFileNameExtension(file_name) | ^ file.c:1096:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | int FixDecimalPoint(buf) | ^ file.c:1112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | void Save(FP, BotObjPtr, Level, PageNumber) | ^ file.c:1340:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | int SaveTmpFile(NewFileName) | ^ file.c:1455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | void SaveNewFile(SaveSelectedOnly, pszNewFile) | ^ file.c:2230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2230 | void SavePages(pSpecifyPagesInfo) | ^ file.c:2238:17: warning: variable 'len' set but not used [-Wunused-but-set-variable] 2238 | int count=0, len, short_name=FALSE, ok=TRUE, watch_cursor=FALSE; | ^ file.c:2514:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2514 | char *ParseStr(Str, C, Left, LeftSz) | ^ file.c:2548:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2548 | char *FindChar(C, Str) | ^ file.c:2561:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2561 | void SaveCreatorID(FP, obj_ptr, psz_prefix) | ^ file.c:2578:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2578 | int ReadCreatorID(FP, ObjPtr) | ^ file.c:2611:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | int NumFieldsToFontStr(buf) | ^ file.c:2633:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2633 | int ReadState(Inbuf) | ^ file.c:3395:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3395 | void ReadObjAttrs(MinFileVersion, FP, ObjPtr) | ^ file.c:3425:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3425 | int ReadPageObj(Inbuf, ppsz_page_name) | ^ file.c:3542:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3542 | int ReadUnitObj(Inbuf) | ^ file.c:3561:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3561 | int ReadGeneratedBy(Inbuf) | ^ file.c:3595:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3595 | int ReadScriptFracObj(Inbuf) | ^ file.c:3619:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3619 | int ReadRightMarginObj(Inbuf) | ^ file.c:3640:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3640 | int ReadThreshFillReplaceObj(Inbuf) | ^ file.c:3677:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3677 | int ReadShapeShadowObj(Inbuf) | ^ file.c:3697:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3697 | int ReadFgBgColors(Inbuf) | ^ file.c:3731:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3731 | int FreeBufAndReturn(buf, rc) | ^ file.c:3739:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3739 | int ReadObj(FP, ObjPtr) | ^ file.c:4101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4101 | void AdjForOldVersion(obj_ptr) | ^ file.c:4116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4116 | int DownloadRemoteFile(file_name, ppsz_content_type, ppsz_page_spec, | ^ file.c:4160:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4160 | int ImportGivenFile(file_name, group_and_lock, highlight) | ^ file.c:4392:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4392 | sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_IMPORT)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ file.c:4392:29: note: treat the string as an argument to avoid this 4392 | sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_IMPORT)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ file.c:4494:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4494 | int ClearBgColorInfo(nRedraw) | ^ file.c:4515:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4515 | int ClearBgPixmapInfo(nRedraw) | ^ file.c:4631:11: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 4631 | if (!MyReadPixmapFile(tmp_xpm_fname, &image_w, &image_h, &w, &h, &pixmap, | ^ 4632 | &image, &bitmap, &bitmap_image, &ncolors, &chars_per_pixel, 4633 | &first_pixel_is_bg, &color_char, &color_str, &pixels, 4634 | &xpm_data) == BitmapSuccess) { | ~~ file.c:4631:11: note: add parentheses after the '!' to evaluate the comparison first 4631 | if (!MyReadPixmapFile(tmp_xpm_fname, &image_w, &image_h, &w, &h, &pixmap, | ^ | ( 4632 | &image, &bitmap, &bitmap_image, &ncolors, &chars_per_pixel, 4633 | &first_pixel_is_bg, &color_char, &color_str, &pixels, 4634 | &xpm_data) == BitmapSuccess) { | | ) file.c:4631:11: note: add parentheses around left hand side expression to silence this warning 4631 | if (!MyReadPixmapFile(tmp_xpm_fname, &image_w, &image_h, &w, &h, &pixmap, | ^ | ( 4632 | &image, &bitmap, &bitmap_image, &ncolors, &chars_per_pixel, 4633 | &first_pixel_is_bg, &color_char, &color_str, &pixels, 4634 | &xpm_data) == BitmapSuccess) { | ) file.c:4735:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4735 | int LoadFile(FullName, ObjFile, GzippedObjFile) | ^ file.c:4879:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4879 | sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_OPEN)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ file.c:4879:29: note: treat the string as an argument to avoid this 4879 | sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_OPEN)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ file.c:4952:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4952 | void DumpPatFill(FP, Fill, BBox, Indent, EndOfLine) | ^ file.c:4990:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4990 | void DumpSymOutline(FP, ObjPtr) | ^ file.c:5029:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5029 | void DumpAttrs(FP, AttrPtr) | ^ file.c:5121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5121 | void DumpAnObj(FP, ObjPtr) | ^ file.c:5223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5223 | int DumpBBox(fp, page_only, page_bbox) | ^ file.c:5327:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5327 | void ModifyOutputFileName(FileName) | ^ file.c:5344:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5344 | void DumpTextObjInAscii(FP, ObjPtr) | ^ file.c:5357:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5357 | void DumpAttrsInAscii(FP, AttrPtr) | ^ file.c:5448:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5448 | void DumpAnObjInAscii(FP, ObjPtr) | ^ file.c:5501:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5501 | int SetPortName(name, buf, buf_sz, pn_buf_index) | ^ file.c:5526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5526 | void DumpNetlListLine(FP, port_name, pMiniLine) | ^ file.c:5542:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5542 | void DumpNetListForAPort(FP, ObjPtr, buf, buf_sz, pn_buf_index) | ^ file.c:5567:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5567 | void DoDumpNetListForAnObj(FP, ObjPtr) | ^ file.c:5642:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5642 | void DumpComponentAttrs(FP, ObjPtr) | ^ file.c:5663:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5663 | void DoDumpComponentForAnObj(FP, ObjPtr) | ^ file.c:5726:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5726 | void DumpNetListForAnObj(FP, ObjPtr) | ^ file.c:5744:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5744 | void WriteWord(fp, word) | ^ file.c:5753:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5753 | void WriteDoubleWord(fp, dword) | ^ file.c:5793:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5793 | void SetPsSetup(buf) | ^ file.c:5801:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5801 | void SetBopHook(buf) | ^ file.c:5808:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5808 | void SetEopHook(buf) | ^ file.c:5834:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5834 | int GetCmdUsingDefAndXDef(buf, buf_sz, def_cmd, option, verify_count, | ^ file.c:6147:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6147 | void GenTiffFile(tmp_fname, epsi_fname, condense, condensed_already) | ^ file.c:6331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6331 | void SetOutputFileName(ps_file, file_ext, pn_short_name, ppsz_rest) | ^ file.c:6391:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6391 | void DumpRegMark(fp, pstem) | ^ file.c:6408:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6408 | int FixUpSVGLine(out_fp, dup_buf) | ^ file.c:6504:8: warning: variable 'line_num' set but not used [-Wunused-but-set-variable] 6504 | int line_num=0, fixed=FALSE; | ^ file.c:6499:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6499 | int FixUpSVGFile(tmpsvg_fname, svg_fname) | ^ file.c:6626:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 6626 | sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_TO_EXPORT)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ file.c:6626:29: note: treat the string as an argument to avoid this 6626 | sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_TO_EXPORT)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ file.c:7663:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 7663 | sprintf(gszMsgBox, TgLoadString(STID_NO_CUR_FILE_CANNOT_GEN_TEXT)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ file.c:7663:32: note: treat the string as an argument to avoid this 7663 | sprintf(gszMsgBox, TgLoadString(STID_NO_CUR_FILE_CANNOT_GEN_TEXT)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ file.c:6563:34: warning: variable 'export_cap' set but not used [-Wunused-but-set-variable] 6563 | int i, len, short_name=FALSE, export_cap=0; | ^ file.c:6555:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6555 | int DoGenDump(FileName) | ^ file.c:7802:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7802 | int GenDump(FileName) | ^ file.c:7850:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7850 | void Dump(FileName) | ^ file.c:8080:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8080 | void DumpOnePageInTileMode(row, col) | ^ file.c:8205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8205 | void PrintWithCommand(FileName) | ^ file.c:8385:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8385 | void DoNewProc(clear_all_wb) | ^ file.c:8447:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8447 | int BeforeOpenURL(pn_do_not_save) | ^ file.c:8482:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8482 | void OpenURL(file_name, do_not_save, pn_need_to_check_auto_exec) | ^ file.c:8610:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8610 | void AfterOpenURL(need_to_check_auto_exec) | ^ file.c:8622:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8622 | void OpenProc(psz_fname_spec) | ^ file.c:8692:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 8692 | sprintf(gszMsgBox, TgLoadString(STID_SELECT_FILE_AS_TEMPLATE)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ file.c:8692:26: note: treat the string as an argument to avoid this 8692 | sprintf(gszMsgBox, TgLoadString(STID_SELECT_FILE_AS_TEMPLATE)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ file.c:8907:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8907 | int RefreshFileMenu(menu) | ^ file.c:8953:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8953 | TgMenu *CreateFileMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ file.c:8970:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8970 | int FileMenu(X, Y, TrackMenubar) | ^ file.c:8986:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8986 | TgMenu *CreateRecentFilesMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ file.c:9064:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9064 | char *ReadFileIntoBuf(fname, pn_buf_sz) | ^ file.c:9100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9100 | int WriteBufIntoTmpFile(buf, buf_sz, tmp_fname, tmp_fname_sz) | ^ --- font.o --- font.c:392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | int IsFontDoubleByte(font_index) | ^ font.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int IsDoubleByteFontVertical(font_index, style) | ^ font.c:404:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | int CanConvertUTF8ToFont(font_index) | ^ font.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | int CanConvertFontToUTF8(font_index) | ^ font.c:418:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | int ConvertToOrFromUTF8(which, font_index, ppsz_cut_buffer) | ^ font.c:515:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | int DoesFontExist(font_name, double_byte) | ^ font.c:563:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | int SzUnitToFontSize(sz_unit) | ^ font.c:571:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | int SzUnitToPointSize(sz_unit) | ^ font.c:579:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | int BadDoubleByteString(pszStr, pszZero) | ^ font.c:589:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | char *GetPrevChar(nDoubleByte, pszStr, pszCur) | ^ font.c:618:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | char *GetShowFontChar(FontIndex) | ^ font.c:639:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | void RecordDoubleByteFontInfo(xfs, pszSection) | ^ font.c:670:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | void GetCurFontInfoStr(buf, buf_sz) | ^ font.c:689:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | XFontStruct *LoadAFontByName(psz_font_name, double_byte, can_debug) | ^ font.c:714:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | void LoadAFont(info_index, size, can_debug, pxfs, pn_vert) | ^ font.c:763:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | struct FontSizeRec *FindFontInfo(font_index, style_index, sz_unit, must_find) | ^ font.c:882:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | void GetPSFontStr(FontIndex, StyleIndex, FontStr) | ^ font.c:903:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | XFontStruct *LoadASymbolFont(font_size) | ^ font.c:917:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | char *LookupPSFontAliases(buf) | ^ font.c:935:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | void MapAliasedPSFontName(buf, buf_sz) | ^ font.c:946:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | void SetTextExtentsInfo(pTextExtents) | ^ font.c:967:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | struct StrRec *SegmentDoubleByteString(pszStr) | ^ font.c:1023:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | void AllocTmp16Strings(pszStr, nLen) | ^ font.c:1044:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | void MyTextExtents(xfs, pszStr, nLen, pxcs) | ^ font.c:1113:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | int MyTextWidth(xfs, pszStr, nLen) | ^ font.c:1160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | void MyDrawString(dpy, d, gc, nDepth, x, y, pszStr, nLen) | ^ font.c:1258:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | Pixmap PaintVertChar(pTextExtents, nRotate) | ^ font.c:1263:8: warning: variable 'w' set but not used [-Wunused-but-set-variable] 1263 | int w=0, lbearing=0, rextra=0, image_w=0, image_h=0; | ^ font.c:1263:25: warning: variable 'rextra' set but not used [-Wunused-but-set-variable] 1263 | int w=0, lbearing=0, rextra=0, image_w=0, image_h=0; | ^ font.c:1383:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | int ValidCharCode(c_ptr) | ^ font.c:1398:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | char *CharCodeTranslate(c_ptr) | ^ font.c:1437:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | void RemovePSFontNameVariations(ps_font_name_str) | ^ font.c:1454:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | void SaveDontReencode(FP) | ^ font.c:1474:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | int ReadDontReencode(buf) | ^ font.c:1492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | void SavePSFontAliases(FP) | ^ font.c:1534:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | void SaveDoubleByteModBytes(FP) | ^ font.c:1546:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | void SavePSFontNeedCharSubs(FP) | ^ font.c:1588:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | void SavePSCharSubs(FP) | ^ font.c:1627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | void ProcessAPSFontAlias(fake_font_name, real_font_name) | ^ font.c:1654:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | int ReadPSFontAliases(FP, buf) | ^ font.c:1695:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | void FreePSCharSubs(pppscs) | ^ font.c:1715:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1715 | int ValidCharCodeSpec(psz_char_code, token_name, pn_char_code, resource_name) | ^ font.c:1775:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | void ProcessCharSubs(ppscs, psz_char_code, ps_char_name, resource_name) | ^ font.c:1802:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1802 | int ParsePSCharSubs(ppscs, c_ptr, resource_name) | ^ font.c:1835:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1835 | char *FindPSFontNeedCharSubs(ps_font_name) | ^ font.c:1849:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | PSCharSubs *FindTokenInPSCharSubs(token_name) | ^ font.c:1867:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | PSCharSubs *FindPSCharSubs(ps_font_name) | ^ font.c:1878:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1878 | void ProcessPSCharSubs(font_name, token_name) | ^ font.c:1960:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1960 | int ReadPSFontNeedCharSubs(FP, buf) | ^ font.c:2000:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | int ReadPSCharSubs(FP, buf) | ^ font.c:2067:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2067 | int DontReencodeInXDefOrCmdLine(pszFontName, nFontIndex, nFontStyle) | ^ font.c:2103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | void UpdateEncodeCharInfo(nIndex, psz) | ^ font.c:2115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | void PrepareStrSeg(pStrSeg) | ^ font.c:2149:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2149 | void PrepareStrBlock(pStrBlock) | ^ font.c:2173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | void PrepareMiniLine(pMiniLine) | ^ font.c:2184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2184 | void PrepareMiniLines(minilines) | ^ font.c:2196:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | void PrepareText(ObjPtr) | ^ font.c:2205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2205 | void PrepareObjFontInfo(ObjPtr) | ^ font.c:2287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2287 | int NeedEncode(FontName, FontIndex, StyleIndex) | ^ font.c:2309:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2309 | int GetFontIndex(FontStr, StyleIndex, MustFind) | ^ font.c:2359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2359 | int GetFontAndStyle(FontStr, pnFont, pnStyle, MustFind) | ^ font.c:2386:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2386 | int GetFontIndexFromPSFontAndStyle(font_str, style, pnDoubleByte, pnModified) | ^ font.c:2429:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2429 | void InitDontReencode(buf) | ^ font.c:2585:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2585 | void PutCurSzUnit(sz_unit) | ^ font.c:2595:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | void GetCurFontMsg(buf, pStrSeg) | ^ font.c:2624:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2624 | void CurFontMsg(nShowInMsgWindow, nShowInStatusWindow, pStrSeg) | ^ font.c:2636:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2636 | void DumpReEncodeVector(FP, vec_prefix, vec_suffix, flag_ptr) | ^ font.c:2681:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2681 | void DumpEightBitFontInfo(FP) | ^ font.c:2718:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2718 | int GetCompatibleSize(font_dpi, font_size) | ^ font.c:2814:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2814 | int TrySetCanvasFont(font, style, size, must_find_requested, pnGotRequested) | ^ font.c:2900:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2900 | void ObjFontInfoToCurFontInfo(TextPtr) | ^ font.c:2909:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2909 | void StrSegInfoToCurFontInfo(pStrSeg) | ^ font.c:2926:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2926 | void SetupFontInfoStr(num_new_fonts, first_fmly) | ^ font.c:3562:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3562 | void InitABasicFontPtr(ppFontPtr, ppszFontName, opt_name, def_font_name, | ^ font.c:4207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4207 | void SetPushedFontValue(which, value) | ^ font.c:4242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4242 | int AdjTransformedTextBBox(ObjPtr) | ^ font.c:4271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4271 | int ChangeStrSegFontProp(pStrSeg, which, value) | ^ font.c:4328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4328 | int ChangeStrBlockFontProp(pStrBlock, which, value) | ^ font.c:4366:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4366 | int ChangeMiniLineFontProp(pMiniLine, which, value) | ^ font.c:4382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4382 | int ChangeMiniLinesFontProp(minilines, which, value) | ^ font.c:4399:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4399 | int ChangeTextFontProp(text_ptr, which, value) | ^ font.c:4418:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4418 | int ChangeObjTextStyle(ObjPtr, StyleIndex) | ^ font.c:4467:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4467 | void ChangeFontStyle(StyleIndex) | ^ font.c:4561:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4561 | int ChangeObjTextJust(ObjPtr, JustIndex) | ^ font.c:4617:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4617 | void ChangeFontJust(JustIndex) | ^ font.c:4673:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4673 | int ChangeObjTextUnderline(ObjPtr, UnderlineIndex) | ^ font.c:4723:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4723 | void ChangeFontUnderline(UnderlineIndex) | ^ font.c:4780:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4780 | int ChangeObjTextOverline(ObjPtr, OverlineIndex) | ^ font.c:4830:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4830 | void ChangeFontOverline(OverlineIndex) | ^ font.c:4887:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4887 | int RefreshFontStyleMenu(menu) | ^ font.c:4929:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4929 | TgMenu *CreateFontStyleMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ font.c:4947:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4947 | int StyleMenu(X, Y, TrackMenubar) | ^ font.c:4976:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4976 | int ChangeObjTextSzUnit(ObjPtr, SzUnit) | ^ font.c:5025:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5025 | void ChangeFontSize(SizeIndex) | ^ font.c:5118:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5118 | int RefreshFontSizeMenu(menu) | ^ font.c:5139:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5139 | TgMenu *CreateFontSizeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ font.c:5200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5200 | int SizeMenu(X, Y, TrackMenubar) | ^ font.c:5217:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5217 | int ChangeObjTextFont(ObjPtr, FontIndex) | ^ font.c:5266:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5266 | int ChangeFont(FontIndex, ForceNewChoice) | ^ font.c:5363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5363 | int RefreshFontMenu(menu) | ^ font.c:5382:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5382 | TgMenu *CreateFontMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ font.c:5440:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5440 | int FontMenu(X, Y, TrackMenubar) | ^ font.c:5456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5456 | int ChangeObjVSpace(ObjPtr, VSpace) | ^ font.c:5518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5518 | void ChangeVSpace(VSpace) | ^ font.c:5576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5576 | void ChangeAllSelRealSzUnit(sz_unit, HighLight) | ^ font.c:5612:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5612 | void SetSelFontSize(pszBuf) | ^ font.c:5817:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5817 | void VerifyCompatibleFontIndex(font_index) | ^ font.c:5825:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5825 | void GetFontStr(FontIndex, StyleIndex, FontStr) | ^ font.c:5837:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5837 | void GetCompatibleFontName(old_font_index, style, font_str) | ^ --- exec.o --- 228 warnings generated. --- ftp.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c ftp.c ftp.c:55:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | void FtpFreeBuf(buf) | ^ ftp.c:61:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | void FtpDebug(val) | ^ ftp.c:67:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | int FtpDoConnect(psz_host, us_port, pn_socket) | ^ ftp.c:96:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | char *AppendSimpleString(buf, value) | ^ ftp.c:125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | int FtpDoWrite(n_socket, psz_path) | ^ ftp.c:138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | void FtpDumpResponse(func_name, buf) | ^ ftp.c:181:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | int FtpDoRead(n_socket, ppsz_buf, pn_buf_sz) | ^ ftp.c:314:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | int FtpSendSimpleCmd(n_socket, value) | ^ ftp.c:331:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | int FtpSendUserName(n_socket, value) | ^ ftp.c:339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | int FtpSendPassword(n_socket, password) | ^ ftp.c:347:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | int FtpSendType(n_socket, type_cmd) | ^ ftp.c:355:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | int FtpSendRetrieveCmd(n_socket, psz_path) | ^ ftp.c:376:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | int FtpSendListCmd(n_socket) | ^ ftp.c:384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | int FtpSendCWDCmd(n_socket, psz_path) | ^ ftp.c:405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | int FtpSendPortCmd(n_socket, pn_data_socket) | ^ ftp.c:466:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | int FtpReadCmd(n_socket, ppsz_buf, pn_cmd) | ^ ftp.c:490:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | int FtpLogin(n_socket) | ^ ftp.c:528:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | int FtpPassword(n_socket) | ^ ftp.c:548:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | int FtpPort(n_socket, pn_data_socket) | ^ ftp.c:582:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | int FtpType(n_socket) | ^ ftp.c:602:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | int FtpRetr(n_socket, psz_path) | ^ ftp.c:622:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | int FtpCwd(n_socket, psz_path, pn_is_dir) | ^ ftp.c:665:8: warning: variable 'status' set but not used [-Wunused-but-set-variable] 665 | int status=TG_REMOTE_STATUS_OK; | ^ ftp.c:659:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | int FtpGetContent(n_socket, data_socket, is_dir, ppsz_buf, pn_buf_sz) | ^ ftp.c:686:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | int FtpDoTalk(n_socket, psz_path, ppsz_buf, pn_buf_sz) | ^ 25 warnings generated. --- grid.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c grid.c --- font.o --- 109 warnings generated. --- group.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c group.c --- grid.o --- grid.c:98:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | void MyHDotLine(Win, gc, Y, XStart, XEnd) | ^ grid.c:115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | void MyVDotLine(Win, gc, X, YStart, YEnd) | ^ grid.c:134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | void DrawGridLinesSetVars(pn_inc, pn_step, pn_abs_inc) | ^ grid.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | void RedrawGridLines(Win) | ^ grid.c:213:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | void DrawGridLines(Win, LtX, LtY, W, H) | ^ grid.c:276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | void RedrawPageLines(Win) | ^ grid.c:307:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | void DrawPageLines(Win, LtX, LtY, W, H) | ^ grid.c:345:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | void GetRightMarginSpec(buf) | ^ grid.c:374:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 374 | sprintf(gszMsgBox, TgLoadString(STID_RIGHT_MARGIN_DISABLED)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ grid.c:374:26: note: treat the string as an argument to avoid this 374 | sprintf(gszMsgBox, TgLoadString(STID_RIGHT_MARGIN_DISABLED)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ grid.c:644:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | void SetWhereToPrint(nIndex) | ^ grid.c:740:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | void PostZoom(xc, yc) | ^ grid.c:870:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | void FixUpZoomCenter(p_abs_cx, p_abs_cy, zooming_in) | ^ grid.c:997:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | void ZoomInAtCursor(abs_x, abs_y) | ^ --- file.o --- 101 warnings generated. --- grid.o --- grid.c:1086:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | void CenterAtCursor(abs_x, abs_y) | ^ grid.c:1094:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | void PreciseZoom(zoomed_in, zoom_scale, force_zoom) | ^ grid.c:1147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | int UpdPageStyle(NewPageStyle) | ^ grid.c:1268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | void ChangePageStyle(NewPageStyle) | ^ grid.c:1289:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | int RefreshPageStyleMenu(menu) | ^ grid.c:1304:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | TgMenu *CreatePageStyleMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1320:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | int PageStyleMenu(X, Y, TrackMenubar) | ^ grid.c:1337:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | void RefreshExportFormatMenu(menu) | ^ grid.c:1355:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | TgMenu *CreateExportFormatMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ --- hash.o --- --- grid.o --- grid.c:1415:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | int ExportFormatMenu(X, Y, TrackMenubar) | ^ grid.c:1432:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | int RefreshShowHideMenu(menu) | ^ grid.c:1476:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | TgMenu *CreateShowHideMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1492:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | int RefreshLayoutMenu(menu) | ^ grid.c:1534:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | TgMenu *CreateLayoutMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1550:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | int LayoutMenu(X, Y, TrackMenubar) | ^ grid.c:1587:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | void GridXY(X, Y, GridX, GridY) | ^ grid.c:1615:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1615 | int ControlKeyPressedEvent(ev) | ^ grid.c:1630:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | int DiagEventCheck(ev) | ^ grid.c:1651:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1651 | void DiagGridXY(OrigX, OrigY, NewX, NewY) | ^ grid.c:1688:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | void MoveModeSubMenu(index) | ^ grid.c:1701:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | void RefreshMoveModeMenu(menu) | ^ grid.c:1719:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1719 | TgMenu *CreateMoveModeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ --- hash.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c hash.c --- grid.o --- grid.c:1745:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1745 | int MoveModeMenu(X, Y, TrackMenubar) | ^ grid.c:1762:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1762 | void StretchableTextModeSubMenu(index) | ^ grid.c:1776:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | void RefreshStretchableTextModeMenu(menu) | ^ grid.c:1794:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | TgMenu *CreateStretchableTextModeMenu(parent_menu, x, y, menu_info, | ^ grid.c:1822:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1822 | int StretchableTextModeMenu(X, Y, TrackMenubar) | ^ grid.c:1839:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | void RefreshTransPatModeMenu(menu) | ^ grid.c:1857:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | TgMenu *CreateTransPatModeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1883:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1883 | int TransPatModeMenu(X, Y, TrackMenubar) | ^ grid.c:1900:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | int RefreshGridMenu(menu) | ^ grid.c:1923:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1923 | TgMenu *CreateGridMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1940:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1940 | int GridMenu(X, Y, TrackMenubar) | ^ --- group.o --- group.c:95:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | void CreateGroupObj(TopObjPtr, BotObjPtr) | ^ group.c:117:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | void SaveGroupObj(FP, ObjPtr, Level) | ^ group.c:134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | void SaveCompObj(FP, ObjPtr, Level) | ^ group.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | void SaveIconObj(FP, ObjPtr, Level) | ^ group.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | void SavePinObj(FP, ObjPtr, Level) | ^ group.c:199:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | void ReadGroupObj(FP, ObjType, ObjPtr) | ^ group.c:401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | void FreeGroupObj(ObjPtr) | ^ group.c:414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | void UngroupObj(ObjPtr, TopSelPtr, BotSelPtr) | ^ group.c:431:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | int NoObjToUngroup(pn_force_ungroup) | ^ group.c:476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | void UngroupSelObj(highlight, record_cmd) | ^ --- hash.o --- hash.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | void FreeHashData(phd) | ^ hash.c:70:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | HashData *NewIntHashData(psz_key, key_sz, ival) | ^ hash.c:90:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | HashData *NewStrHashData(psz_key, key_sz, psz_value) | ^ hash.c:110:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | unsigned int GetBucket(p_hash, psz_key, key_sz) | ^ hash.c:171:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | void CleanUpHash(p_hash) | ^ hash.c:195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | int InitHash(p_hash, which) | ^ hash.c:220:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | int HashStoreInt(p_hash, psz_key, key_sz, ival) | ^ hash.c:236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | int HashStoreStr(p_hash, psz_key, key_sz, psz_val) | ^ hash.c:252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | int HashLookUpInt(p_hash, psz_key, key_sz, pn_value_return) | ^ hash.c:277:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | char *HashLookUpStr(p_hash, psz_key, key_sz) | ^ --- group.o --- 10 warnings generated. --- help.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c help.c --- hash.o --- 10 warnings generated. --- http.o --- --- grid.o --- 46 warnings generated. --- http.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c http.c --- imgproc.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c imgproc.c --- help.o --- help.c:249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | void RefreshHelpMenu(menu) | ^ help.c:254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | int HelpMenu(X, Y, TrackMenubar) | ^ --- http.o --- http.c:106:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | void HttpFreeBuf(buf) | ^ http.c:112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | void HttpDebug(val) | ^ http.c:148:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | void DoBase64Encode(buf_in, buf_len, return_buf_in) | ^ --- help.o --- 2 warnings generated. --- http.o --- http.c:189:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | char *Base64Encode(buf) | ^ http.c:205:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | int Convert(buf4, count, buf3) | ^ http.c:234:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | int DoBase64Decode(buf, buf_sz, return_buf) | ^ http.c:267:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | char *Base64Decode(buf) | ^ http.c:283:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | void BubbleAuthInfoToTop(pai) | ^ http.c:298:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | char *FindAuthorization(pszHost, nPort, pszScheme, pszRealm) | ^ http.c:359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | int SetAuthorization(pszHost, nPort, pszScheme, pszRealm, pszEncodedAuth) | ^ http.c:391:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | void HttpSetReferer(buf) | ^ http.c:403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | void HttpFakeReferer(buf) | ^ --- import.o --- --- http.o --- http.c:504:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | char *HttpHeaderGetOtherField(name) | ^ http.c:529:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | int HttpDoConnect(psz_host, us_port, pn_socket) | ^ http.c:560:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | char *AppendSimpleString(buf, name, value) | ^ http.c:598:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | char *AppendAcceptStrings(buf) | ^ http.c:619:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | char *AppendKeepAliveStrings(buf) | ^ http.c:629:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | char *AppendRefererStrings(buf) | ^ http.c:644:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | char *AppendUserAgentString(buf) | ^ http.c:653:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | char *AppendFromString(buf) | ^ http.c:662:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | char *AppendHostString(buf, psz_host, us_port) | ^ http.c:674:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- imgproc.o --- imgproc.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | int ParseThreshFillReplaceSpec(spec) | ^ --- http.o --- 674 | char *AppendAuthorizationString(buf) | ^ http.c:692:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | char *AppendPostContentTypeString(buf) | ^ http.c:700:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | char *AppendPostContentLengthString(buf, content_length) | ^ --- imgproc.o --- imgproc.c:221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | int TrueColorPixelWithinRange(pixel, ptfri) | ^ --- http.o --- http.c:712:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- imgproc.o --- imgproc.c:250:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- http.o --- 712 | char *AppendPostContentString(buf, fp, content_length) | ^ http.c:740:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- imgproc.o --- 250 | int OtherPixelWithinRange(pixel, ptfri) | ^ --- http.o --- 740 | char *AppendCRLFString(buf) | ^ http.c:746:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | int HttpDoWrite(n_socket, psz_path, psz_host, us_port) | ^ --- imgproc.o --- imgproc.c:283:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | int GetPixelRGB(ptfri, pixel, pxc_pixel) | ^ imgproc.c:342:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | int SetupThreshFillReplaceInfo(ptfri, pixel, pxc_pixel) | ^ imgproc.c:425:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | int DoPpm6(xpm_ptr) | ^ imgproc.c:439:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | int FreePreprocessPixels(h, xcolors) | ^ --- http.o --- http.c:949:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | int ParseBadFormat(buf) | ^ http.c:959:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | int ParseNoMem(buf) | ^ --- imgproc.o --- imgproc.c:476:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | XColor **PreprocessOneImagePixels(w, h, image, bitmap_image) | ^ --- http.o --- http.c:968:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | int HttpParseHeaderLine(buf, first_line) | ^ --- import.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c import.c --- imgproc.o --- imgproc.c:594:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | int SetConvExtraInfo(fp, image_w, image_h, image, bitmap_image) | ^ --- http.o --- http.c:1110:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | char *HttpExtractText(buf, pn_buf_sz, pn_html, ppsz_content_type) --- imgproc.o --- imgproc.c:683:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- http.o --- | ^ --- imgproc.o --- 683 | char *GetImageProcName(nCmdId) | ^ imgproc.c:713:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | int TrueColorTransPixelCheck(obj_ptr, cmdid) | ^ imgproc.c:727:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | int CurColorIsTranscolor(trans_color_r, trans_color_g, trans_color_b) | ^ imgproc.c:755:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | int CheckSelectionForImageProc(cmdid) | ^ imgproc.c:809:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | int GetXPmImages(xpm_ptr, p_image, p_bitmap_image) | ^ --- http.o --- http.c:1242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | int GetContentLength(buf, pn_header_len) | ^ http.c:1283:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | int ReadFromSocket(n_socket) | ^ http.c:1344:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | int HttpDoRead(n_socket, ppsz_buf, pn_buf_sz) | ^ --- imgproc.o --- imgproc.c:925:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | int GetOrAllocHistogramIndex(pcolor) | ^ imgproc.c:982:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | int PixelToIndexHash(pixel) | ^ imgproc.c:990:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | int GetIndexOfPixel(pixel) | ^ imgproc.c:1009:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | void UpdatePixelToIndexMapping(buckets, pixel, index) | ^ imgproc.c:1031:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | int AllocTmpBuckets(populate_with_color_pixels) | ^ imgproc.c:1091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | int CreateObjPixelToIndexMapping(xpm_ptr) | ^ imgproc.c:1183:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | int DumpConvolution(fp) | ^ imgproc.c:1273:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | int DumpQuantizedConvolution(fp) | ^ imgproc.c:1380:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | int AlreadySorted(nMinIndex, nMaxIndex, nLongAxis) | ^ imgproc.c:1415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | void DebugSortACube(nMinIndex, nMaxIndex, nLevel, nLongAxis) | ^ imgproc.c:1478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | void QuickSortACube(nMinIndex, nMaxIndex, nLevel, nLongAxis) | ^ imgproc.c:1560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | void SweepACube(cube_index) | ^ imgproc.c:1604:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | int SplitACube(cube_index, pul_before_count, pul_after_count) | ^ imgproc.c:1786:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | int DoConvolution(fp, image, bitmap_image, w, h, xpm_ptr) | ^ imgproc.c:1951:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | int DoColorMapping(fp, image, bitmap_image, w, h, xpm_ptr) | ^ imgproc.c:2064:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | FILE *GetImageProcOutputFileName(pszPath, path_buf_sz, pnShortName, ppszRest) | ^ imgproc.c:2091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2091 | int CleanUpProcessImage(fp, image, bitmap_image) | ^ imgproc.c:2235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2235 | int DoImageProc(pvImageMapColorFunc) | ^ imgproc.c:2489:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2489 | void ChangeToGray(nColorIndex, pColor) | ^ imgproc.c:2539:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2539 | void ChangeToInvertColor(nColorIndex, pColor) | ^ imgproc.c:2598:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2598 | void ChangeToInterpolateColor(nColorIndex, pColor) | ^ imgproc.c:2716:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2716 | void ChangeToBrightenDarken(nColorIndex, pColor) | ^ imgproc.c:2814:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2814 | void RGBtoHSV(r, g, b, h, s, v) | ^ imgproc.c:2861:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2861 | void HSVtoRGB(h, s, v, r, g, b) | ^ imgproc.c:2927:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2927 | void ChangeToChangeSaturation(nColorIndex, pColor) | ^ imgproc.c:3044:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3044 | int HueInFromRange(fHue) | ^ imgproc.c:3060:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3060 | void ChangeToChangeHue(nColorIndex, pColor) | ^ imgproc.c:3230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3230 | void ChangeToContrastEnhance(nColorIndex, pColor) | ^ imgproc.c:3332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3332 | void ChangeToColorBalance(nColorIndex, pColor) | ^ imgproc.c:3440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3440 | void ChangeToGamma(nColorIndex, pColor) | ^ imgproc.c:3498:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3498 | void Gamma(buf) | ^ imgproc.c:3549:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3549 | int ConvolveToEdgeDetect(x, y) | ^ imgproc.c:3721:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3721 | int ConvolveToEmboss(x, y) | ^ imgproc.c:3812:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3812 | int ConvolveToReduceColors(x, y) | ^ imgproc.c:3879:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3879 | void FreeTargetColors(ncolors) | ^ imgproc.c:3893:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3893 | int AllocTargetColors(ncolors) | ^ imgproc.c:3911:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3911 | int GetClosestColorIndex(red_bits, green_bits, blue_bits, red, green, blue, | ^ imgproc.c:4047:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4047 | int ConvolveToErrorDiffuse(x, y) | ^ imgproc.c:4081:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4081 | int ConvolveToReduceToPixmapColors(x, y) | ^ imgproc.c:4139:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4139 | int GetIntensity(index, max_levels) | ^ imgproc.c:4158:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4158 | int DoPrepareForErrorDiffuse(xpm_ptr) | ^ imgproc.c:4329:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4329 | int PrepareForErrorDiffuse(xpm_ptr) | ^ imgproc.c:4345:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4345 | int MapTargetColors(xpm_ptr) | ^ imgproc.c:4560:24: warning: too few arguments in call to 'FreeTargetColors' 4560 | FreeTargetColors(); | ~~~~~~~~~~~~~~~~ ^ imgproc.c:4592:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4592 | int GetMobileWebSafeIntensity(index) | ^ imgproc.c:4708:21: warning: too few arguments in call to 'FreeTargetColors' 4708 | FreeTargetColors(); | ~~~~~~~~~~~~~~~~ ^ imgproc.c:4736:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4736 | int ParseDefaultColorLevels(buf, p_xcolor) | ^ imgproc.c:4876:21: warning: too few arguments in call to 'FreeTargetColors' 4876 | FreeTargetColors(); | ~~~~~~~~~~~~~~~~ ^ imgproc.c:4804:39: warning: variable 'image_h' set but not used [-Wunused-but-set-variable] 4804 | int i, red=0, rc=FALSE, ncolors=0, image_h=0; | ^ imgproc.c:4966:21: warning: too few arguments in call to 'FreeTargetColors' 4966 | FreeTargetColors(); | ~~~~~~~~~~~~~~~~ ^ imgproc.c:4982:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4982 | int ConvolveToSpread(x, y) | ^ imgproc.c:5146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5146 | int ConvolveToSharpen(x, y) | ^ imgproc.c:5264:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5264 | int ConvolveToBlur(x, y) | ^ imgproc.c:5353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5353 | void Blur(nSize) | ^ imgproc.c:5388:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5388 | int PointInRect(x, y, p_bbox) | ^ imgproc.c:5401:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5401 | int ConvolveToAlphaCombine(x, y) | ^ imgproc.c:5542:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5542 | void OffsetRect(p_bbox, dx, dy) | ^ imgproc.c:5662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5662 | int ConvolveToSubtract(x, y) | ^ imgproc.c:5850:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5850 | int ConvolveToXorColors(x, y) | ^ imgproc.c:6121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6121 | void CleanTrapMapNode(pTrapMapNode) | ^ imgproc.c:6178:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6178 | int SetTrapMapLeaf(pTrapMapSpecRoot, pnIndex, pTrapMapNode, nWhich) | ^ imgproc.c:6191:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6191 | int SetTrapMapPt(pTrapMapSpecRoot, pnIndex, pTrapMapNode, nWhich) | ^ imgproc.c:6222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6222 | int SetTrapMapSeg(pTrapMapSpecRoot, pnIndex, pTrapMapNode, nWhich) | ^ imgproc.c:6252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6252 | int BuildTrapMapNode(pTrapMapSpecRoot, pnIndex, pTrapMapNode) | ^ imgproc.c:6275:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6275 | int BuildTrapMap(pTrapMapSpec) | ^ imgproc.c:6350:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6350 | int ConvolveToVectorWarp(x, y) | ^ imgproc.c:6397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6397 | void SetTrapMapSegValue(nSegIndex, nPtIndex, w) | ^ imgproc.c:6423:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6423 | void SetTrapMapExtraValue(nLeafIndex, end_x, end_y, w) | ^ imgproc.c:6447:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6447 | int CheckVectorWarpCoords(pFromPt, pToPt, dx, dy, image_w, image_h, pBBox) | ^ imgproc.c:6639:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6639 | int GetQuadrant(pTrapMap, x, y) | ^ imgproc.c:6677:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6677 | int ComputeVectorWarpData(pFromPt, dx, dy) | ^ imgproc.c:6877:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6877 | int SpecifyLineSeg(pnFromAbsX, pnFromAbsY, pnToAbsX, pnToAbsY) | ^ imgproc.c:7002:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7002 | int GetBggenImageSize(p_image_w, p_image_h) | ^ imgproc.c:7038:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7038 | int BggenGenerateXpm(image_w, image_h, sz_spec, sz_path, path_buf_sz) | ^ imgproc.c:7221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7221 | int CircularBggenGenerateXpm(image_w, image_h, ncolors, sz_path, path_buf_sz) | ^ imgproc.c:7476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7476 | int SimpleRectBggenGenerateXpm(image_w, image_h, pxcolor, sz_path, path_buf_sz) | ^ imgproc.c:7711:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7711 | int RegenerateImageFile(pszPath, xpm_ptr) | ^ imgproc.c:8034:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8034 | void ContinueCrop(nObjAbsLtX, nObjAbsLtY, nStartXOff, nStartYOff, | ^ imgproc.c:8105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8105 | int GetCropArea(obj_abs_ltx, obj_abs_lty, pbbox) | ^ imgproc.c:8353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8353 | void SetCurrentColor(xpm_ptr, image, bitmap_image, image_x, image_y) | ^ imgproc.c:8412:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8412 | void DoGetColor(obj_ptr) | ^ imgproc.c:8557:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8557 | unsigned int FillReplacePickAPoint(OrigX, OrigY, EndX, EndY, AllowDrag, cursor) | ^ imgproc.c:8627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8627 | void DoReplaceAColor(obj_ptr, image, bitmap_image, image_x, image_y, | ^ imgproc.c:8817:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8817 | int ContinueReplaceColor(obj_ptr) | ^ imgproc.c:9118:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 9118 | snprintf(gszMsgBox, sizeof(gszMsgBox), TgLoadString(STID_CANNOT_FIND_GOOD_TRANSPIX)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:60:62: note: expanded from macro 'snprintf' 60 | __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ imgproc.c:9118:52: note: treat the string as an argument to avoid this 9118 | snprintf(gszMsgBox, sizeof(gszMsgBox), TgLoadString(STID_CANNOT_FIND_GOOD_TRANSPIX)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:60:62: note: expanded from macro 'snprintf' 60 | __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | ^ imgproc.c:8938:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8938 | int SetupReplaceColorInfo(obj_ptr, prci) | ^ imgproc.c:9197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9197 | int SelectThisPixelForFloodFill(c, r, pixel, image) | ^ imgproc.c:9236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9236 | void FloodFillAddToQueue(plist, c, r, dir, pbbox) | ^ imgproc.c:9257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9257 | void FloodFillBFS(image, pixel, image_w, image_h, plist, map, pbbox) | ^ imgproc.c:9331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9331 | void CalcFloodFill(c, r, pixel, image, image_w, image_h, dir, map, pbbox) | ^ imgproc.c:9346:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9346 | void DoFloodFill(image, image_w, map, pbbox) | ^ imgproc.c:9366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9366 | void StartFloodFill(obj_ptr, image, bitmap_image, image_x, image_y, | ^ imgproc.c:9491:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9491 | int TryFloodFill(obj_ptr, image_w, image_h, image, bitmap_image, button, | ^ imgproc.c:9543:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9543 | void GetUntransformedPoint(obj_ptr, abs_x, abs_y, v) | ^ imgproc.c:9561:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9561 | int ContinueFloodFill(obj_ptr) | ^ imgproc.c:9769:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 9769 | sprintf(gszMsgBox, TgLoadString(STID_FLOOD_REPLACE_DISABLED)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ imgproc.c:9769:26: note: treat the string as an argument to avoid this 9769 | sprintf(gszMsgBox, TgLoadString(STID_FLOOD_REPLACE_DISABLED)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ imgproc.c:9845:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9845 | int OnContour(x, y) | ^ imgproc.c:9865:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9865 | int ProbeContour(x, y, dir, pn_new_x, pn_new_y) | ^ imgproc.c:9884:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9884 | int ContourNeighbor(x, y, last_dir, pn_new_x, pn_new_y) | ^ imgproc.c:9919:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9919 | int CreatePolyFromContour(num_pts) | ^ imgproc.c:10041:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10041 | int StartCreateContour(obj_ptr, image, bitmap_image, image_x, image_y, | ^ imgproc.c:10108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10108 | int ContinueCreateContour(obj_ptr) | ^ imgproc.c:10380:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10380 | int RefreshImageProcMenu(menu) | ^ imgproc.c:10396:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10396 | TgMenu *CreateImageProcMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ imgproc.c:10413:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10413 | int ImageProcMenu(X, Y, TrackMenubar) | ^ --- http.o --- 34 warnings generated. --- ini.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c ini.c --- import.o --- import.c:100:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | void MillisecondSleep(ms) | ^ import.c:116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | int ExtensionMatch(Spec, DirName) | ^ import.c:137:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | char *SetUpExtStr(cbBuf, pszExt, pszOtherExt) | ^ import.c:199:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | void InvalidFilterSpecMsg(pszEntry, pszValue, nExplain) | ^ import.c:221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | int CountPercentS(buf) | ^ import.c:234:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | char *FindBlank(pszStr, ppszEnd) | ^ import.c:465:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | int ImportGivenXBitmapFile(remote_file, tmp_fname, xbm_fname, stid_success, | ^ import.c:601:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | int ImportGivenXPixmapFile(remote_file, tmp_fname, xpm_fname, stid_success, | ^ import.c:710:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | void ImportEPSFile(Embed, psz_fname_spec) | ^ import.c:1062:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | int ConvertGifToXpm(pszGifPath, pszXpmPath, xpm_path_sz) | ^ import.c:1131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | int ConvertPngToXpm(pszPngPath, pszXpmPath, xpm_path_sz) | ^ import.c:1202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | int ConvertJpegToXpm(pszJpegPath, pszXpmPath, xpm_path_sz) | ^ import.c:1273:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | int ConvertImageFileToPpm6(pszImageFilePath, pszPpm6Path, ppm6_path_sz, format) | ^ import.c:1357:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | int ConvertJpegToPpm6(pszJpegPath, pszPpm6Path, ppm6_path_sz) | ^ import.c:1365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | int ConvertPngToPpm6(pszPngPath, pszPpm6Path, ppm6_path_sz) | ^ import.c:1373:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | int ConvertGifToPpm6(pszGifPath, pszPpm6Path, ppm6_path_sz) | ^ import.c:1386:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | int FinishImport(remote_file, remote_tmp_fname, local_fname, which, pn_image_w, | ^ import.c:1627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | void ImportJPEGFile(Embed, psz_fname_spec) | ^ import.c:1847:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | int ConvertPbmToXbm(pszPbmPath, pszXbmPath, xbm_path_sz) | ^ import.c:1994:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | int ConvertPgmToXpm(pszPgmPath, pszXpmPath, xpm_path_sz) | ^ import.c:2141:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | int ConvertPpmToXpm(pszPpmPath, pszXpmPath, xpm_path_sz) | ^ import.c:2259:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2259 | DspList *ImportFilterListing(pnEntries) | ^ import.c:2285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2285 | int ChooseAnImportFilter(top_str, entries, num_entries) | ^ import.c:2306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2306 | int SelectAnImportFilter(pszSelected) | ^ import.c:2340:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2340 | int ConvertAnyToXpm(pii, pszAnyPath, pszXpmPath, xpm_path_sz) | ^ import.c:2425:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2425 | int ReadFourBytes(psz_path, magic_buf, magic_buf_sz) | ^ import.c:2444:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2444 | int DoImportOtherFile(pii, psz_path) | ^ import.c:2609:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2609 | void ImportOtherFileType(pszName) | ^ import.c:2635:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2635 | int ImportSpecifiedFileType(psz_path, psz_filter) | ^ import.c:2654:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2654 | int ConvertOtherToXpm(pszFile, pszFormat, pszXpmPath, xpm_path_sz) | ^ import.c:2690:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2690 | sprintf(szTop, TgLoadString(STID_SEL_ANIM_GIF_FILE_TO_IMPORT)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ import.c:2690:19: note: treat the string as an argument to avoid this 2690 | sprintf(szTop, TgLoadString(STID_SEL_ANIM_GIF_FILE_TO_IMPORT)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ import.c:2951:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2951 | void InitBrowse(pszDir, ObjType) | ^ import.c:3029:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3029 | struct ObjRec *ImportForThumbnails(fname, p_bbox_w, p_bbox_h) | ^ import.c:3091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3091 | int RegenerateImageFile(pszPath) | ^ import.c:3118:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3118 | struct ObjRec *MyRegenerateImage(obj_ptr) | ^ import.c:3180:8: warning: variable 'final_w' set but not used [-Wunused-but-set-variable] 3180 | int final_w=0, final_h=0; | ^ import.c:3180:19: warning: variable 'final_h' set but not used [-Wunused-but-set-variable] 3180 | int final_w=0, final_h=0; | ^ import.c:3172:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3172 | struct ObjRec *GenerateXpmThumbnail(imported_obj) | ^ import.c:3245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3245 | int BrowseDir(DirName, ExtStr, ExtStrLen, ObjType, pii) | ^ import.c:3466:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3466 | void StartBrowse(DirName, ExtStr, ExtStrLen, ObjType, pii) | ^ import.c:3507:8: warning: variable 'len' set but not used [-Wunused-but-set-variable] 3507 | int len=0; | ^ import.c:3576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3576 | void BrowseOtherType(pszName) | ^ import.c:3640:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3640 | int EnumPopupMenuProcToHide(menu_index, win, pUserData) | ^ import.c:3668:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3668 | int EnumPopupMenuProcToShow(menu_index, win, pUserData) | ^ import.c:3679:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3679 | int EnumPopupMenuProcToUpdate(menu_index, win, pUserData) | ^ import.c:3713:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3713 | struct ObjRec *CreatePpmTrueObjFromImage(image, image_w, image_h, | ^ import.c:3827:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3827 | void CaptureUpdateBox(OrigX, OrigY, end_x, end_y) | ^ import.c:3840:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3840 | void ContinueScreenCapture(OrigX, OrigY) | ^ import.c:4010:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4010 | int RefreshScreenCaptureMenu(menu) | ^ import.c:4032:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4032 | TgMenu *CreateScreenCaptureMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ import.c:4058:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4058 | int RefreshImportMenu(menu) | ^ import.c:4070:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4070 | TgMenu *CreateImportMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ --- ini.o --- ini.c:78:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | int InvalidPath(pszFile) | ^ ini.c:88:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | int GetLastModifiedTime(pszFile, pFileTime) | ^ ini.c:102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | int CompareFileTime(pNewFileTime, pOldFileTime) | ^ ini.c:121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | void UnlinkFileInfo(ptifi) | ^ ini.c:137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | void DiscardEntryInfo(ptiei) | ^ ini.c:145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | void DiscardSectionInfo(ptisi) | ^ ini.c:159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | int WriteOutIniFile(ptifi, pszAltFile) | ^ ini.c:221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | int DiscardFileInfo(ptifi) | ^ ini.c:242:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | TGINIENTRYINFO *AllocEntryInfo(ptisi, pszEntry, pszValue) | ^ ini.c:278:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | TGINISECTIONINFO *AllocSectionInfo(ptifi, pszSection, bValuelessKey) | ^ ini.c:312:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | TGINIFILEINFO *AllocFileInfo(pszFile) | ^ ini.c:350:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | int ParseFile(ptifi) | ^ ini.c:418:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | TGINIENTRYINFO *FindEntryInfo(ptisi, pszEntry) | ^ ini.c:451:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | TGINISECTIONINFO *FindSectionInfo(ptifi, pszSection) | ^ ini.c:469:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | TGINIFILEINFO *TgIniFindFileInfo(pszFile, bAutoLoad) | ^ ini.c:507:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | int TgIniDiscardFileInfo(pszFile) | ^ ini.c:523:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | void TgIniBeginFastProfile(ptifi) | ^ ini.c:530:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | void TgIniEndFastProfile(ptifi) | ^ ini.c:537:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | int TgIniSetProfileStripQuotes(ptifi, bStripQuotes) | ^ ini.c:551:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | char *TgIniGetProfileString(pszSection, pszEntry, ptifi) | ^ ini.c:648:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | int TgIniWriteProfileString(pszSection, pszEntry, pszValue, ptifi) | ^ ini.c:719:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | void TgIniBeginDupKeySection(pszSection, ptifi) | ^ ini.c:735:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | void TgIniEndDupKeySection(pszSection, ptifi) | ^ ini.c:747:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | int TgIniBeginValuelessKeySection(pszSection, ptifi) | ^ ini.c:779:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | void TgIniEndValuelessKeySection(pszSection, ptifi, bValuelessKey) | ^ ini.c:799:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | int TgIniIsValuelessKeySection(pszSection, ptifi) | ^ ini.c:817:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | int TgIniDeleteDupKeyValue(pszSection, pszEntry, pszValue, ptifi) | ^ ini.c:871:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | char *tgFreeProfileString(pszStr) | ^ ini.c:878:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | void tgBeginFastProfile(pszFile) | ^ ini.c:888:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | void tgEndFastProfile(pszFile) | ^ ini.c:898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | int tgSetProfileStripQuotes(pszFile, bStripQuotes) | ^ ini.c:909:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | char *tgGetProfileString(pszSection, pszEntry, pszFile) | ^ ini.c:919:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | int tgGetProfileInt(pszSection, pszEntry, nDefault, pszFile) | ^ ini.c:943:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | int tgWriteProfileString(pszSection, pszEntry, pszString, pszFile) | ^ ini.c:955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | void tgBeginDupKeySection(pszSection, pszFile) | ^ ini.c:969:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | void tgEndDupKeySection(pszSection, pszFile) | ^ ini.c:983:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | int tgBeginValuelessKeySection(pszSection, pszFile) | ^ ini.c:997:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | void tgEndValuelessKeySection(pszSection, pszFile, bValuelessKey) | ^ ini.c:1012:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | int tgIsValuelessKeySection(pszSection, pszFile) | ^ ini.c:1026:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | int tgDeleteDupKeyValue(pszSection, pszEntry, pszValue, pszFile) | ^ 40 warnings generated. --- inmethod.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c inmethod.c inmethod.c:256:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | void KinputCleanUp(dpy, win) | ^ inmethod.c:264:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | int KinputInit(dpy, win, arg) | ^ inmethod.c:294:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | int KinputFocusIn(dpy, win) | ^ inmethod.c:302:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | int KinputFocusOut(dpy, win) | ^ inmethod.c:310:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | int KinputSendKey(dpy, win, key_ev, buf) | ^ inmethod.c:320:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | int KinputConvProperty(dpy, win, prop_ev, ppsz_buf) | ^ inmethod.c:336:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | int KinputExpectCM(dpy, win) | ^ inmethod.c:345:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | int KinputHandleCM(dpy, win, cm_ev, key_ev, buf) | ^ inmethod.c:357:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | int KinputActiveOnCntrlSpace(dpy, win) | ^ inmethod.c:366:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | int KinputHandleCntrlSpace(dpy, win) | ^ inmethod.c:375:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | int KinputDeactiveOnCreateText(dpy, win) | ^ inmethod.c:383:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | int KinputHandleCreateText(dpy, win) | ^ inmethod.c:392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | int KinputTellCursorPos(dpy, win, cur_x, cur_y) | ^ inmethod.c:406:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | void XimCleanUp(dpy, win) | ^ inmethod.c:414:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | int XimInit(dpy, win, arg) | ^ inmethod.c:431:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | int XimFocusIn(dpy, win) | ^ inmethod.c:440:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | int XimFocusOut(dpy, win) | ^ inmethod.c:449:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | int XimDeactiveOnCreateText(dpy, win) | ^ inmethod.c:457:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | int XimHandleCreateText(dpy, win) | ^ inmethod.c:466:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | int XimExpectNextEvent(dpy, win) | ^ inmethod.c:475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | int XimHandleNextEvent(dpy, win, ev) | ^ inmethod.c:485:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | int XimHandleNewCurText(dpy, win) | ^ inmethod.c:494:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | int XimExpectLookupString(dpy, win) | ^ inmethod.c:505:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | int XimHandleLookupString(dpy, win, key_ev, psz_buf, buf_size, p_key_sym, | ^ inmethod.c:520:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | int XimTellCursorPos(dpy, win, cur_x, cur_y) | ^ inmethod.c:534:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | void Tgtwb5CleanUp(dpy, win) | ^ inmethod.c:542:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | int Tgtwb5Init(dpy, win, arg) | ^ inmethod.c:551:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | int Tgtwb5SendKey(dpy, win, key_ev, buf) | ^ inmethod.c:561:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | int Tgtwb5ExpectCM(dpy, win) | ^ inmethod.c:569:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | int Tgtwb5ActiveOnCntrlSpace(dpy, win) | ^ inmethod.c:578:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | int Tgtwb5HandleCntrlSpace(dpy, win) | ^ inmethod.c:586:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | int Tgtwb5DeactiveOnCreateText(dpy, win) | ^ inmethod.c:594:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | int Tgtwb5HandleCreateText(dpy, win) | ^ inmethod.c:858:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | int InputMethodTypeMatched(double_byte) | ^ inmethod.c:872:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | int tgIMFocusIn(dpy, win) | ^ inmethod.c:883:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | int tgIMFocusOut(dpy, win) | ^ inmethod.c:894:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | int tgIMTranslateKeyEvent(dpy, win, key_ev, buf) | ^ inmethod.c:907:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | int tgIMConvertProperty(dpy, win, prop_ev, ppsz_buf) | ^ inmethod.c:921:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | int tgIMExpectClientMessage(dpy, win) | ^ inmethod.c:932:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | int tgIMHandleClientMessage(dpy, win, cm_ev, key_ev, buf) | ^ inmethod.c:947:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | int tgIMActiveOnCntrlSpace(dpy, win) | ^ inmethod.c:958:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | int tgIMHandleCntrlSpace(dpy, win) | ^ inmethod.c:969:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | int tgIMDeactiveOnCreateText(dpy, win) | ^ inmethod.c:981:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | int tgIMHandleCreateText(dpy, win) | ^ inmethod.c:992:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | int tgIMTellCursorPosition(dpy, win, cur_x, cur_y) | ^ inmethod.c:1005:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | int tgIMExpectNextEvent(dpy, win) | ^ inmethod.c:1016:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | int tgIMHandleNextEvent(dpy, win, ev) | ^ inmethod.c:1028:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | int tgIMHandleNewCurText(dpy, win) | ^ inmethod.c:1039:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | int tgIMExpectLookupString(dpy, win) | ^ inmethod.c:1050:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | int tgIMHandleLookupString(dpy, win, key_ev, psz_buf, buf_size, p_key_sym, | ^ --- import.o --- 52 warnings generated. --- list.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c list.c --- inmethod.o --- 50 warnings generated. --- mainloop.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c mainloop.c --- mainmenu.o --- --- mainloop.o --- mainloop.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | int AddExtraWinInfo(win, mapped, raise, expose_handler, ev_handler, | ^ mainloop.c:236:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | char *MySetLocale(category, new_locale) | ^ mainloop.c:248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | void ExecWithFile(CmdName, FileName) | ^ mainloop.c:271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | void DeallocStrings(FStr, Str1, Menu1, Str2, Menu2, Str3, Menu3) | ^ mainloop.c:284:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | void AllocStrings(FStr, Str1, Menu1, Str2, Menu2, Str3, Menu3) | ^ mainloop.c:414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | void ExposeEventHandler(input, recursive) | ^ --- mainmenu.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c mainmenu.c --- mainloop.o --- mainloop.c:518:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | int GzipFile(fname, gzipped_fname) | ^ mainloop.c:584:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | char *GunzipFileIntoTemp(gzipped_fname) | ^ mainloop.c:780:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | int JustLoadAFile(pszFile, pnNeedToCheckAutoExec, nAttemptToMerge, pnAbortMerge) | ^ mainloop.c:1109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | void SigchldHandler(sig) | ^ mainloop.c:1118:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | int JustInit(pszFile, pnNeedToCheckAutoExec) | ^ mainloop.c:1252:18: warning: variable 'initialized' set but not used [-Wunused-but-set-variable] 1252 | static int initialized=FALSE; | ^ mainloop.c:1405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | int GetAnXEvent(pXEvent) | ^ mainloop.c:1517:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | int TryProcessAnXEvent(pnNeedToCheckAutoExec) | ^ mainloop.c:1676:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | int TryProcessAnAbortXEvent(esc_to_abort, pf_abort_callback, p_void) | ^ mainloop.c:1723:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1723 | void MainLoop(Op, FileName, FuncStr, Str1, Menu1, Str2, Menu2, Str3, Menu3) | ^ mainloop.c:1838:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1838 | void UrlDump(pszUrl) | ^ mainloop.c:1891:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1891 | void DosEpsFilter(pszUrl) | ^ mainloop.c:1900:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | void HandleSimpleEvent(input) | ^ mainloop.c:1929:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1929 | void AllocReturnStr(ReturnStr) | ^ mainloop.c:1935:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1935 | void Animate(TypeStr, PolyId, SpeedStr, ColorStr, ReturnStr) | ^ mainloop.c:2018:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2018 | void MyFormat(Str) | ^ mainloop.c:2041:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | void UpdAttrVal(ObjId, AttrName, AttrColor, AttrVal, ReturnStr) | ^ mainloop.c:2118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | void SetLastKeyEvInfo(key_ev) | ^ mainloop.c:2132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2132 | void SetLastBtnEvInfo(button_ev) | ^ --- mainmenu.o --- mainmenu.c:218:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | void SaveMainWinPosition(x, y) | ^ mainmenu.c:228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | void MoveMainMenuWindow(x, y) | ^ mainmenu.c:246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | void GetPopupXY(win, px, py) | ^ mainmenu.c:272:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | void GetPopupWH(win, pw, ph) | ^ mainmenu.c:333:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | void RepositionSubMenuWindow(win, menu_index, OrigCursorX, OrigCursorY) | ^ mainmenu.c:379:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | void TgSubMenuExposeHandler(input, win_info) | ^ mainmenu.c:402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | void ComputeSubMenuWinXY(win, x, y) | ^ mainmenu.c:430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | void TgUpdateMenuBBox(menu, pn_win_x, pn_win_y) | ^ mainmenu.c:444:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | void TgShowPullDownStatus(menu, new_selected) | ^ mainmenu.c:463:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | void TgPullDownFromSubMenu(menu, new_selected) | ^ mainmenu.c:551:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | int MouseInsideWindow(win, win_w, win_h) | ^ mainmenu.c:565:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | int TgSubMenuEventHandler(input, win_info) | ^ mainmenu.c:807:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | void TgSubMenuCleanUp(win_info) | ^ mainmenu.c:818:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | Window TgRealizePinnedMenuWindow(menu, win_x, win_y, win_w, win_h) | ^ mainmenu.c:920:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | int TgWindowIsPinnedMenu(win, menu_index) | ^ mainmenu.c:928:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | int TgHandlePinnedMenuEvent(win, menu_index, input) | ^ mainmenu.c:942:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | void UpdatePinnedMenu(menu_index) | ^ mainmenu.c:1024:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | void UseWireMenuItemInModeItem(connecting) | ^ mainmenu.c:1054:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | void DestroyPinnedMenu(menu_index) | ^ mainmenu.c:1145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | void EnumPopupMenuWindow(pFunc, pUserData) | ^ --- mainloop.o --- 25 warnings generated. --- mark.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c mark.c --- mainmenu.o --- 20 warnings generated. --- markup.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c markup.c --- mark.o --- mark.c:95:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | void MarkStructuredSpline(obj_ptr, ssn, ssvs, ssmooth, curved, locked) | ^ mark.c:143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | void MarkPoly(ObjPtr, NumPts, V, Smooth, Curved, Locked) | ^ mark.c:206:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | void Mark4Corners(BBox, Locked, Thin) | ^ mark.c:228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | void Mark8Places(BBox, Locked) | ^ mark.c:278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | void HighLightAnObj(ObjPtr) | ^ mark.c:323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | void HighLightVertices(Dir) | ^ mark.c:428:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | void HighLight(Dir) | ^ mark.c:522:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | int CreatePolygonTickMarks(num_pts) | ^ mark.c:542:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | int StartCreateTickMarks(nCmdId) | ^ mark.c:585:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | void CalcSquareVs(v) | ^ mark.c:600:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | void CalcTriangleVs(v) | ^ mark.c:617:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | void CalcCircleVs(v) | ^ mark.c:630:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | void CalcXVs(v) | ^ mark.c:649:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | void CalcDiamondVs(v) | ^ mark.c:664:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | void CalcBowtieVs(v) | ^ mark.c:679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | void CalcInvTriangleVs(v) | ^ mark.c:696:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | void CalcPlusVs(v) | ^ mark.c:715:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | void CalcHourGlassVs(v) | ^ mark.c:730:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | void CreateTickMarks(n, vs, nCmdId) | ^ mark.c:753:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | void SetRealVertex(vs_return, i, dvs) | ^ mark.c:772:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | IntPoint *GetSplinePolyTickMarkVs(pn_return, n, vs, smooth) | ^ mark.c:867:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | IntPoint *GetHingedPolygonTickMarkVs(pn_return, n, vs, smooth, | ^ mark.c:908:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | IntPoint *GetSplinePolygonTickMarkVs(pn_return, n, vs, smooth) | ^ mark.c:968:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | int AddObjTickMarks(ObjPtr, nCmdId) | ^ mark.c:1035:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | void AddTickMarks(nCmdId) | ^ mark.c:1095:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | int SetTickMarkSizeValue(spec) | ^ mark.c:1115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | void SetTickMarkSize(psz_num_segs) | ^ --- markup.o --- markup.c:52:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | int DumpHtmlBuf(in_tag, psz_start) | ^ markup.c:107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | int DoParseMarkUpFile(buf) | ^ markup.c:144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | int ParseMarkUpFile(buf, buf_sz, pn_html, psz_content_type) | ^ 3 warnings generated. --- menu.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c menu.c --- imgproc.o --- 119 warnings generated. --- menuinfo.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c menuinfo.c --- mark.o --- 27 warnings generated. --- miniline.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c miniline.c --- menu.o --- menu.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void UpdateMenubarItemInfo(x, w, h, MenuX, MenuY, TextBBox) | ^ menu.c:236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | int WhichMenubarItem(X, Y, MenuX, MenuY, TextBBox) | ^ menu.c:300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | int GetMenubarItemInfo(index, MenuX, MenuY, TextBBox) | ^ menu.c:350:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | void SendCommandToSelf(nCmdId, nIndex) | ^ menu.c:366:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | TgMenuItem *FindMenuItemByCmdId(menu, cmdid) | ^ menu.c:385:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | TgMenuItem *FindMenuItemByIndex(menu, index) | ^ menu.c:405:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | TgMenuItem *FindMenuItemBySubMenuInfoPtr(menu, submenu_info) | ^ menu.c:427:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | int TgSetMenuItemCheckOrRadioById(menu, cmdid, checked, mask) | ^ menu.c:447:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | int TgSetMenuItemCheckById(menu, cmdid, checked) | ^ menu.c:454:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | int TgSetMenuItemRadioById(menu, cmdid, checked) | ^ menu.c:461:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | int TgIsMenuItemChecked(menu, index) | ^ menu.c:476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | int TgIsMenuItemRadio(menu, index) | ^ menu.c:491:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | int TgIsMenuItemEnabled(menu, index) | ^ menu.c:505:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | int TgEnableMenuItemById(menu, cmdid, enabled) | ^ menu.c:524:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | int TgEnableMenuItemByIndex(menu, index, enabled) | ^ menu.c:543:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | int TgEnableMenuItemBySubMenuInfoPtr(menu, submenu_info, enabled) | ^ menu.c:563:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | void TgClearThreeDButton(dpy, win, gc, bbox, linewidth) | ^ menu.c:590:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | void TgDrawThreeDButton(dpy, win, gc, bbox, state, linewidth, button) | ^ menu.c:673:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | void TgDrawStipple(dpy, win, gc, stipple, x, y, w, h, fg_pixel, bg_pixel, | ^ menu.c:700:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | void TgDraw2DGrayedPixmap(dpy, win, bitmap, x, y, w, h, fg_pixel, bg_pixel) | ^ menu.c:752:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | void SetParentMenuWinBBox(menu) | ^ menu.c:759:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | void AdjMenuGeometry(menu, pn_orig_x, pn_orig_y, pn_min_pin, pn_max_pin) | ^ menu.c:822:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | void TgDrawTextMenuItem(menu, menu_item) | ^ menu.c:988:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | void TgDrawBitmapOrColorMenuItem(menu, menu_item) | ^ menu.c:1084:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | void TgDrawMenuItem(menu, menu_item) | ^ menu.c:1099:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | void TgDrawEntireMenu(menu) | ^ menu.c:1213:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | int TgWhichMenuIndex(menu, x, y, must_be_in_menu) | ^ menu.c:1292:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | int TgPointInAnAncestorMenu(menu, root_x, root_y) | ^ menu.c:1304:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | int TgPointInParentMenuSelectedItem(parent_menu) | ^ menu.c:1317:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | TgMenu *TgCreatePopUpSubMenu(menu, selected_index) | ^ menu.c:1343:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | int TgPopUpSubMenu(menu, win_x, win_y) | ^ menu.c:1385:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | int ScrollItemCallback(pv_userdata) | ^ menu.c:1421:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | int ScrollPageCallback(pv_userdata) | ^ menu.c:1464:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | int DoScrollMenu(menu, scroll_page, scroll_dir, pbbox) | ^ menu.c:1551:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1551 | void DoDragInScrollMenu(menu, menu_w, menu_h, mouse_x, mouse_y, btn_offset) | ^ menu.c:1706:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | void ScrollMenu(menu, x, y, menu_w, menu_h, button_state) | ^ menu.c:1828:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | int TgMenuLoop(menu) | ^ menu.c:2174:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2174 | TgMenu *TgDestroyMenu(menu, free_menu) | ^ menu.c:2208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2208 | int TgGetTextMenuItemWidths(menu_item, pn_check_w, pn_str_w, pn_shortcut_w) | ^ menu.c:2255:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | int TgSetMenuItemInfo(to_menu_item, mask, from_menu_item) | ^ menu.c:2335:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2335 | int TgAdjustMenuItemHeight(menu, menu_item) | ^ menu.c:2368:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2368 | void TgAdjustMenuGeometry(menu, image_w, image_h, max_rows) | ^ menu.c:2429:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2429 | int CreateTextMenuItemsFromMenuItemInfo(menu, menu_iteminfos, status_str_xlated) | ^ menu.c:2513:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2513 | void SetScrollableMenuSize(menu) | ^ menu.c:2533:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2533 | int CreateBitmapOrColorMenuItemsFromMenuItemInfo(menu, menu_iteminfos, | ^ menu.c:2590:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2590 | TgMenu *TgCreateMenuFromMenuInfo(parent_menu, x, y, menu_info, | ^ menu.c:2647:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2647 | void SetScrollableMenuFirstIndex(menu, selected_item_index) | ^ menu.c:2680:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2680 | int RefreshMainMenu(menu) | ^ menu.c:2694:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2694 | TgMenu *CreateMainMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ menu.c:2745:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2745 | int IsPrefix(Prefix, Str, Rest) | ^ menu.c:3145:8: warning: comparison of array 'check_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 3145 | if (check_bits == NULL) { } | ^~~~~~~~~~ ~~~~ menu.c:3146:8: warning: comparison of array 'submenu_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 3146 | if (submenu_bits == NULL) { } | ^~~~~~~~~~~~ ~~~~ menu.c:3257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3257 | void IconEventHandler(input) | ^ menu.c:3301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3301 | void TitleEventHandler(input) | ^ menu.c:3367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3367 | void HighLightMenubarString(item_str, bbox, highlight) | ^ menu.c:3491:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3491 | int PullDownFromMenubar(index, x, y, text_bbox) | ^ menu.c:3571:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3571 | int MenubarEventHandler(input) | ^ --- move.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c move.c --- miniline.o --- miniline.c:138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | void SetCopyUTF8FontInfo(pStrSeg, double_byte) | ^ miniline.c:161:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | int CalcSingleByteInfoForCopyUTF8(pn_font_index) | ^ miniline.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | int FoundSingleByteFontAtStrBlock(pStrBlock, pStrSeg, double_byte) | ^ miniline.c:205:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | int CanFindSingleOrDoubleByteFontAtCursor(pStrSeg, double_byte) | ^ miniline.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 CanFindSingleByteFontAtCursor(pStrSeg) | ^ miniline.c:257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | int CanFindDoubleByteFontAtCursor(pStrSeg) | ^ miniline.c:268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | void SaveDrawTextInfo(pDrawTextInfo) | ^ miniline.c:329:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | void RestoreDrawTextInfo(pDrawTextInfo) | ^ miniline.c:395:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | void SaveDrawWinDrawTextInfo(forced) | ^ miniline.c:412:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | void RestoreDrawWinDrawTextInfo(forced) | ^ miniline.c:444:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | void AddToDirtyBBox(pBBox) | ^ miniline.c:460:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | int GetDirtyBBox(pBBox) | ^ miniline.c:474:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | int IntersectDirtyBBox(pBBox) | ^ miniline.c:506:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | char *GetIndentString(indent) | ^ miniline.c:544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | void DumpIndentString(FP, indent) | ^ miniline.c:575:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | void FreeStrSeg(pStrSeg) | ^ miniline.c:583:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | void FreeStrBlock(pStrBlock) | ^ miniline.c:601:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | void FreeMiniLine(pMiniLine) | ^ miniline.c:614:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | void FreeMiniLines(minilines, free_minilines) | ^ miniline.c:632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | void FreeStrBlockList(pFirstStrBlock) | ^ miniline.c:644:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | void FreeMiniLineList(pFirstMiniLine) | ^ miniline.c:656:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | void UnlinkStrBlock(pStrBlock) | ^ miniline.c:674:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | void UnlinkMiniLine(pMiniLine) | ^ miniline.c:729:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | void InsertStrBlock(pPrevStrBlock, pNextStrBlock, pStrBlock, | ^ miniline.c:749:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | void InsertMiniLine(pPrevMiniLine, pNextMiniLine, pMiniLine, | ^ miniline.c:769:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | int BlankStrSeg(pStrSeg) | ^ miniline.c:775:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | int BlankStrBlock(pStrBlock) | ^ miniline.c:804:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | int BlankMiniLine(pMiniLine) | ^ miniline.c:818:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | int BlankMiniLines(minilines) | ^ miniline.c:832:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | StrSegInfo *GetTextFirstStrSeg(obj_ptr) | ^ miniline.c:845:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | struct DynStrRec *GetTextFirstDynStr(obj_ptr) | ^ miniline.c:860:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | void CopyCurInfoIntoStrSeg(pStrBlock, pStrSeg) | ^ miniline.c:892:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | void CopyCurInfoFromStrSeg(pStrSeg) | ^ miniline.c:914:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | void CopyCurInfoIntoTextPtr(obj_ptr, text_ptr) | ^ miniline.c:951:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | void CopyCurInfoFromTextPtr(obj_ptr, text_ptr) | ^ miniline.c:970:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | int RecalcStrSegMetrics(pStrSeg, prmi) | ^ miniline.c:1010:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | void UpdateMetricsFromValues(p_found, w, asc, des, min_lbearing, max_rextra, | ^ miniline.c:1043:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | void UpdateMetricsFromStrSegInfo(p_found, pStrSeg, pTextExtents) | ^ miniline.c:1053:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | int StrBlockTypeToMiniLinesJust(type) | ^ miniline.c:1065:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | int RecalcStrBlockMetrics(pStrBlock, prmi) | ^ miniline.c:1216:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | int RecalcMiniLineMetrics(pMiniLine, prmi) | ^ miniline.c:1262:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | int RecalcMiniLinesMetrics(minilines, prmi) | ^ miniline.c:1327:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | int RecalcTextMetrics(text_ptr, x, orig_baseline_y) | ^ miniline.c:1365:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | void UpdateStrBlockBBoxes(pStrBlock, x, baseline_y, clean) | ^ miniline.c:1415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | void UpdateMiniLineBBoxes(pMiniLine, x, baseline_y, clean) | ^ miniline.c:1442:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | void UpdateMiniLinesBBoxes(minilines, x, baseline_y, clean) | ^ miniline.c:1486:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | void UpdateCurTextBBoxes(clean) | ^ miniline.c:1500:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | void DoFuncOnStrSegForStrSeg(pStrSeg, pFunc, pUserData) | ^ miniline.c:1509:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | void DoFuncOnStrSegForStrBlock(pStrBlock, pFunc, pUserData) | ^ miniline.c:1538:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | void DoFuncOnStrSegForMiniLine(pMiniLine, pFunc, pUserData) | ^ miniline.c:1551:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1551 | void DoFuncOnStrSegForMiniLines(minilines, pFunc, pUserData) | ^ miniline.c:1568:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | void ResetOnCursorKey(drag) | ^ miniline.c:1613:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | void GetCurTextBBoxes(pOBBox, pBBox) | ^ miniline.c:1735:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | void GetMinilineHomeXY(pMiniLine, pn_x, pn_baseline_y) | ^ miniline.c:1749:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | void GetMinilineEndXY(pMiniLine, pn_x, pn_baseline_y) | ^ miniline.c:1843:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1843 | void GetPaintMode(pStrBlock, pnMode, pnFirstIndex, pnSecondIndex) | ^ miniline.c:1877:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | void PaintString(dpy, d, gc, depth, x, baseline_y, buf, len, color_pixel, | ^ miniline.c:2044:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2044 | void PaintStrSeg(dpy, d, gc, depth, x, baseline_y, pStrSeg, use_highlight, | ^ miniline.c:2116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2116 | void PaintStrBlock(dpy, d, gc, depth, x, baseline_y, pStrBlock, use_highlight, | ^ miniline.c:2187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2187 | void PaintMiniLine(dpy, d, gc, depth, x, baseline_y, pMiniLine, use_highlight, | ^ miniline.c:2213:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | void PaintMiniLines(dpy, d, gc, depth, x, baseline_y, minilines, use_highlight, | ^ miniline.c:2283:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2283 | void DrawCurTextOutLine(x, y, w, h) | ^ miniline.c:2367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2367 | void UpdateHighLightedTextBBoxes(clean) | ^ miniline.c:2433:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2433 | int DeleteHighlightedTextInStrSeg(pStrSeg, mode, first_index, second_index) | ^ miniline.c:2479:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2479 | void MergeNextMiniLineWhileDeleting(pMiniLine) | ^ miniline.c:2506:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2506 | int StrBlocksHasSameProperties(pStrBlock1, pStrBlock2) | ^ miniline.c:2529:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2529 | void MergeNextStrBlockWhileDeleting(pStrBlock, pNextStrBlock) | ^ miniline.c:2546:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2546 | int MergeStrBlocks(pStrBlock, pNextStrBlock) | ^ miniline.c:2636:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2636 | void DetermineWhatToDoForSpace(pnSplitAtIndex, pnInsertBefore) | ^ miniline.c:2658:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2658 | void DoInsertThinSpace(thin_space_w) | ^ miniline.c:2716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2716 | int InsertHighlightedThinSpaceInStrSeg(pStrSeg, mode, first_index, second_index) | ^ miniline.c:2762:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2762 | void InsertHighlightedThinSpace(thin_space_w) | ^ miniline.c:2836:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2836 | int ShrinkMiniLine(pMiniLine, pn_retry) | ^ miniline.c:2921:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2921 | int ShrinkMiniLines(minilines, pn_retry) | ^ miniline.c:2940:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2940 | int GetTextXYInStrSeg(pStrSeg, index_to_match, pn_dx) | ^ miniline.c:2957:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2957 | int GetTextXYInStrBlock(pStrBlock, pStrBlockToMatch, index_to_match, | ^ miniline.c:3045:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3045 | int GetTextXYInMiniLine(pMiniLine, pStrBlockToMatch, index_to_match, | ^ miniline.c:3069:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3069 | int GetTextXYInMiniLines(minilines, pStrBlockToMatch, index_to_match, | ^ miniline.c:3122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3122 | void GetTextXY(pStrBlock, nIndex, pn_x, pn_baseline_y) | ^ miniline.c:3160:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3160 | int CurStrBlockInStrBlock(pStrBlock) | ^ miniline.c:3216:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3216 | int CurStrBlockInMiniLine(pMiniLine) | ^ miniline.c:3230:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3230 | int CurStrBlockInMiniLines(minilines) | ^ miniline.c:3247:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3247 | void GetCursorPositionInStrSeg(pStrSeg, dx, pn_dx, ppStrBlock, pnIndex) | ^ miniline.c:3279:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3279 | void GetCursorPositionInStrBlock(pStrBlock, dx, dy, pn_dx, pn_dy, ppStrBlock, | ^ miniline.c:3378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3378 | void GetCursorPositionInMiniLine(pMiniLine, dx, dy, pn_dx, pn_dy, ppStrBlock, | ^ miniline.c:3406:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3406 | int GetCursorPositionInMiniLines(minilines, dx, dy, pn_dx, pn_dy, ppStrBlock, | ^ miniline.c:3461:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3461 | int SameProperty(lWhich, nValue, pStrSeg, nCheckDoubleByte) | ^ miniline.c:3487:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3487 | int SetStrSegProperty(lWhich, nValue, pStrSeg) | ^ miniline.c:3568:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3568 | int SetStrBlockProperty(lWhich, nValue, pStrBlock) | ^ miniline.c:3607:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3607 | int SetMiniLineProperty(lWhich, nValue, pMiniLine) | ^ miniline.c:3624:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3624 | int SetMiniLinesProperty(lWhich, nValue, minilines) | ^ miniline.c:3644:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3644 | int ChangeStrSegPropertyForTail(pStrBlock, first_index, lWhich, nValue) | ^ miniline.c:3704:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3704 | int ChangeStrSegPropertyForHead(pStrBlock, first_index, lWhich, nValue) | ^ miniline.c:3764:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3764 | int ChangeStrSegPropertyForMiddle(pStrBlock, first_index, second_index, lWhich, | ^ miniline.c:3841:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3841 | int ChangePropertyForHighlightedTextInStrSeg(pStrBlock, mode, first_index, | ^ miniline.c:3909:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3909 | int ChangeHighlightedTextProperty(lWhich, nValue) | ^ miniline.c:3971:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3971 | int OnePropertyStrBlock(lWhich, nValue, pStrBlock, nCheckDoubleByte) | ^ miniline.c:4009:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4009 | int OnePropertyMiniLine(lWhich, nValue, pMiniLine, nCheckDoubleByte) | ^ miniline.c:4025:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4025 | int OnePropertyMiniLines(lWhich, nValue, minilines, nCheckDoubleByte) | ^ miniline.c:4044:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4044 | int SingleFontStrSeg(pStrSeg, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4068:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4068 | int SingleFontStrBlock(pStrBlock, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4104:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4104 | int SingleFontMiniLine(pMiniLine, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4122:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4122 | int SingleFontMiniLines(minilines, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4140 | int SingleFontText(text_ptr, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4160:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4160 | int SingleColorStrSeg(pStrSeg, pnColorIndex) | ^ miniline.c:4172:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4172 | int SingleColorStrBlock(pStrBlock, pnColorIndex) | ^ miniline.c:4202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4202 | int SingleColorMiniLine(pMiniLine, pnColorIndex) | ^ miniline.c:4217:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4217 | int SingleColorMiniLines(minilines, pnColorIndex) | ^ miniline.c:4232:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4232 | int SingleColorText(text_ptr, pnColorIndex) | ^ miniline.c:4248:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4248 | int HighlightedStrSegHasSameProperty(pStrBlock, mode, lWhich, nValue, | ^ miniline.c:4270:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4270 | int HighlightedTextHasSameProperty(lWhich, nValue, nCheckDoubleByte) | ^ miniline.c:4332:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4332 | int CheckStrSegProperties(pStrSeg, pn_valid, pn_font, pn_style, pn_sz_unit, | ^ miniline.c:4359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4359 | int CheckStrBlockProperties(pStrBlock, pn_valid, pn_font, pn_style, | ^ miniline.c:4404:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4404 | int CheckMiniLineProperties(pMiniLine, pn_valid, pn_font, pn_style, | ^ miniline.c:4423:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4423 | int CheckMiniLinesProperties(minilines, pn_valid, pn_font, pn_style, | ^ miniline.c:4445:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4445 | int CheckHighlightedStrSegProperties(pStrBlock, mode, pn_valid, pn_font, | ^ miniline.c:4544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4544 | void CheckHighlightedStrSegPropertiesForCopyHighLightedTextAsUTF8Strings(mode) | ^ miniline.c:4558:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4558 | int CheckDoubleByteFontForCopyHighLightedTextAsUTF8Strings(mode, pStrSeg, | ^ miniline.c:4595:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4595 | int CanCopyHighLightedTextAsUTF8Strings(pn_double_byte_font_index) | ^ miniline.c:4677:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4677 | int CanPasteUTF8StringIntoText(pssi) | ^ miniline.c:4712:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4712 | void GatherString(buf, len, ppsz_buf, pn_buf_sz) | ^ miniline.c:4731:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4731 | void GatherStrSeg(pStrSeg, ppsz_buf, pn_buf_sz) | ^ miniline.c:4741:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4741 | void GatherHighlightedStrSeg(pStrBlock, mode, first_index, second_index, | ^ miniline.c:4817:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4817 | void GatherHighLightedTextAsStrings(ppsz_buf, pn_buf_sz) | ^ miniline.c:4873:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4873 | void CopyHighlightedStrSeg(pStrBlock, mode, first_index, | ^ miniline.c:5056:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5056 | int CaseDependentStrNCmp(buf1, buf2, str_len, case_sensitive) | ^ miniline.c:5065:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5065 | int MatchStringInOnlyThisStrBlock(pStrBlock, nIndex, str_to_match, | ^ miniline.c:5093:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5093 | int MatchStringFromCursor(pStrBlock, nIndex, str_to_match, str_len_to_match, | ^ miniline.c:5173:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5173 | int FindStringInStrBlock(pStrBlock, pn_found_starting_point, str_to_match, | ^ miniline.c:5250:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5250 | int FindStringInMiniLine(pMiniLine, pn_found_starting_point, str_to_match, | ^ miniline.c:5273:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5273 | int FindStringInMiniLines(minilines, pn_found_starting_point, str_to_match, | ^ miniline.c:5299:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5299 | int CanBreakStrSegIntoWords(pStrSeg) | ^ miniline.c:5306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5306 | int CanBreakStrBlockIntoWords(pStrBlock) | ^ miniline.c:5339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5339 | int CanBreakMiniLineIntoWords(pMiniLine) | ^ miniline.c:5356:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5356 | int CanBreakMiniLinesIntoWords(minilines) | ^ miniline.c:5376:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5376 | void FinalizeBreakStrSeg(new_obj, x, baseline_y, prototype, tx_to_move, | ^ miniline.c:5441:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5441 | void BreakStrSeg(pSrcStrSeg, into_words, x, baseline_y, prototype, tx_to_move, | ^ miniline.c:5527:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5527 | void BreakStrBlock(pStrBlock, into_words, x, baseline_y, prototype, tx_to_move, | ^ miniline.c:5584:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5584 | void BreakMiniLine(pMiniLine, into_words, x, baseline_y, prototype, tx_to_move, | ^ miniline.c:5607:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5607 | void BreakMiniLines(minilines, how, x, baseline_y, prototype, tx_to_move, | ^ miniline.c:5655:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5655 | void DumpGSave(FP, do_dump, indent) | ^ miniline.c:5666:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5666 | void DumpGRestore(FP, do_dump, indent) | ^ miniline.c:5677:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5677 | void DumpSetFont(FP, font, font_name, double_byte, style, sz_unit) | ^ miniline.c:5762:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5762 | void DumpStrSeg(pStrSeg, just, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:5872:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5872 | void DumpSupSubBlock(pStrBlock, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:5955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5955 | void DumpStrBlock(pStrBlock, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:6052:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6052 | void DumpMiniLine(pMiniLine, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:6088:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6088 | void DumpMiniLines(minilines, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:6159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6159 | int SimpleTextObj(text_ptr) | ^ miniline.c:6184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6184 | void DumpSimpleTextPath(FP, ObjPtr) | ^ miniline.c:6209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6209 | void DumpStrSegInAscii(FP, pStrSeg, pnSomethingPrinted) | ^ miniline.c:6223:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6223 | void DumpStrBlockInAscii(FP, pStrBlock, pnSomethingPrinted) | ^ miniline.c:6260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6260 | void DumpMiniLineInAscii(FP, pMiniLine, pnSomethingPrinted) | ^ miniline.c:6273:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6273 | void DumpMiniLinesInAscii(FP, minilines, pnSomethingPrinted) | ^ miniline.c:6290:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6290 | void ConvertStrSegToString(pStrSeg, ppsz_buf, pn_len) | ^ miniline.c:6307:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6307 | int ConvertStrBlockToString(pStrBlock, ppsz_buf, pn_len) | ^ miniline.c:6344:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6344 | char *ConvertMiniLineToString(pMiniLine, pnNeedToFree) | ^ miniline.c:6373:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6373 | char *ConvertAttrNameFirstMiniLineToString(attr_ptr, pnNeedToFree) | ^ miniline.c:6398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6398 | int StrSegInVisibleLayer(pStrSeg) | ^ miniline.c:6405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6405 | int StrBlockInVisibleLayer(pStrBlock) | ^ miniline.c:6436:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6436 | int MiniLineInVisibleLayer(pMiniLine) | ^ miniline.c:6450:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6450 | int MiniLinesInVisibleLayer(minilines) | ^ --- move.o --- move.c:70:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | void MovePoly(ObjPtr, Dx, Dy) | ^ move.c:83:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | void MovePolygon(ObjPtr, Dx, Dy) | ^ move.c:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | void MoveArc(ObjPtr, Dx, Dy) | ^ move.c:108:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | void MoveObj(ObjPtr, Dx, Dy) | ^ move.c:176:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | void MoveAllSelObjects(Dx, Dy) | ^ move.c:204:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | int EndPtInObjList(XOff, YOff, FirstObjPtr) | ^ move.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 EndPtInSelected(XOff, YOff) | ^ move.c:375:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | int ConstrainedMoveAllSel(Dx, Dy, ltx, lty, rbx, rby) | ^ move.c:573:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | void MoveAllSel(Dx, Dy) | ^ move.c:619:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | void MoveAnObj(ObjPtr, TopOwner, Dx, Dy) | ^ move.c:708:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | void FreeRubberInfo(pInnerObj, pRubberInfo) | ^ move.c:742:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | void SetRubberInfo(pInnerObj, pRubberInfo) | ^ move.c:964:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | void DrawInnerRubberObj(pInnerObj, pRubberInfo, dx, dy) | ^ move.c:1080:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1080 | int i=0, n=0; | ^ move.c:1075:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | void UpdateInnerRubberObj(pInnerObj, pRubberInfo, dx, dy) | ^ move.c:1181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | void MoveSubObjEventCheck(ev, pn_move_sub_obj) | ^ move.c:1199:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | void MoveAnAttr(attr_ptr, attr_owner_obj, dx, dy) | ^ move.c:1227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | void MoveSel(OrigX, OrigY, ObjPtr, down_button_ev) | ^ move.c:1447:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | int IsSmoothForStructuredSpline(vlist_index, n, vlist) | ^ move.c:1479:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | void FinishMoveVertexForStretchStructSpline(vsel_ptr, abs_dx, abs_dy, psssi) | ^ move.c:1544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | void MoveAllSelVs(abs_dx, abs_dy) | ^ move.c:1684:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | void EndMoveVsForStructuredSpline(obj_ptr, abs_dx, abs_dy) | ^ move.c:1709:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1709 | void EndMoveVs(abs_dx, abs_dy) | ^ move.c:2052:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | void MarkVsForStructuredSplines(Dir, abs_dx, abs_dy) | ^ move.c:2131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | void HighLightVs(Dir, abs_dx, abs_dy) | ^ move.c:2232:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2232 | void MarkVs(Dir, Dx, Dy) | ^ move.c:2294:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2294 | void GetSelectedVsBBox(pBBox) | ^ move.c:2329:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | void MoveSelVs(OrigX, OrigY) | ^ --- menu.o --- 57 warnings generated. --- msg.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c msg.c msg.c:98:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | int ShowOrPrintMsg(buf, use_msgbox) | ^ msg.c:119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | int FailAllocBitmapMessage(w, h) | ^ msg.c:128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | int FailAllocPixmapMessage(w, h) | ^ msg.c:137:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | int FailToWriteFileMessage(file_name) | ^ msg.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | int FailToOpenMessage(file_name, rwa, extra_msg) | ^ msg.c:185:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | int FailToCreateWindowMessage(where, win_name, do_exit) | ^ msg.c:204:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | int FatalUnexpectedError(msg1, msg2) | ^ msg.c:228:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | int TgAssert(must_be_true, msg1, msg2) | ^ msg.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int BoldMsgCharBytes(pszStr) | ^ msg.c:251:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | char *BoldMsgNextChar(pszStr) | ^ msg.c:264:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | char *BoldMsgLastChar(pszStr) | ^ msg.c:301:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | char *BoldMsgStrChr(pszStr, c) | ^ msg.c:338:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | int MenuTextWidth(font_ptr, psz_str, len) | ^ msg.c:351:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | int MsgTextWidth(font_ptr, psz_str, len) | ^ msg.c:364:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | int BoldMsgTextWidth(font_ptr, psz_str, len) | ^ msg.c:377:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | int ItalicMsgTextWidth(font_ptr, psz_str, len) | ^ msg.c:390:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | int BoldItalicMsgTextWidth(font_ptr, psz_str, len) | ^ msg.c:403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | void DrawMenuString(dpy, win, gc, x, baseline_y, menu_str, len) | ^ msg.c:419:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | void DrawMsgString(dpy, win, gc, x, baseline_y, msg_str, len) | ^ msg.c:435:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | void DrawBoldMsgString(dpy, win, gc, x, baseline_y, msg_str, len) | ^ msg.c:451:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | void DrawItalicMsgString(dpy, win, gc, x, baseline_y, msg_str, len) | ^ msg.c:468:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | void DrawBoldItalicMsgString(dpy, win, gc, x, baseline_y, msg_str, len) | ^ msg.c:486:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | void AddMsg(Msg) | ^ msg.c:532:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | struct MsgRec *FindMsg(Number) | ^ msg.c:552:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | void RedrawMsg(erase_background) | ^ msg.c:618:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | void Msg(Message) | ^ msg.c:625:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | void TwoLineMsg(Msg1, Msg2) | ^ msg.c:733:11: warning: variable 'left' set but not used [-Wunused-but-set-variable] 733 | int left=0, w=(int)(statusWindowW/3), right=0; | ^ msg.c:810:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | void SetMouseStatus(Left, Middle, Right) | ^ msg.c:880:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | void SetStringStatus(StatusStr) | ^ msg.c:957:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | void SaveStatusStringsIntoBuf(ppsz_buf, pn_one_line) | ^ msg.c:972:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | void RestoreStatusStringsFromBuf(ppsz_buf, one_line) | ^ msg.c:995:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | void BeginProgress(ppi, total_size) | ^ msg.c:1004:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | void UpdateProgress(ppi, cur_size) | ^ msg.c:1020:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | void EndProgress(ppi) | ^ msg.c:1026:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | void MsgEventHandler(input) | ^ msg.c:1113:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | void StatusEventHandler(input) | ^ msg.c:1174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | void UserRedrawEventHandler(input) | ^ msg.c:1223:8: warning: comparison of array 'redraw_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1223 | if (redraw_bits == NULL) { } | ^~~~~~~~~~~ ~~~~ msg.c:1224:8: warning: comparison of array 'btn1_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1224 | if (btn1_bits == NULL) { } | ^~~~~~~~~ ~~~~ msg.c:1230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | void InitScan(s, pat) | ^ msg.c:1253:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | int ScanValue(fmt, v, item, stype) | ^ msg.c:1298:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | int ScanDynStrValue(v, item, stype) | ^ msg.c:1382:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | void EmergencySave(sig) | ^ msg.c:1428:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1428 | int EmergencySaveForXCont(s) | ^ msg.c:1458:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1458 | int EmergencySaveForX(dsp, ev) | ^ msg.c:1471:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | int IOEmergencySaveForX(dsp) | ^ msg.c:1477:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | void Error(where, msg) | ^ msg.c:1489:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | void GetTgifVersionAndPatchLevel(buf, buf_sz) | ^ msg.c:1527:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | void Usage(tool_name) | ^ msg.c:1603:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | int ProcessPrTgifOptions(argc, argv, from_prtgif) | ^ msg.c:2070:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | int ProcessTgifOptions(argc, argv, file_name, name_sz) | ^ --- miniline.o --- 162 warnings generated. --- names.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c names.c --- move.o --- 28 warnings generated. --- navigate.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c navigate.c --- names.o --- names.c:115:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | char *ReadPath(path_str, dir_str) | ^ names.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | void ParseSymPath(path_str) | ^ names.c:194:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | int LargerStr(S1, S2) | ^ names.c:344:8: warning: variable 'len' set but not used [-Wunused-but-set-variable] 344 | int len, ext_len, count = 0; | ^ names.c:338:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | DspList *DirListing(Path, ExtStr, OtherExtStr) | ^ names.c:766:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | char **MakeNameDspItemArray(Entries, DLPtr) | ^ names.c:797:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | int DirInSymPath(DirName) | ^ names.c:815:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | char **MakeLongNameDspItemArray(Entries, DLPtr) | ^ names.c:846:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | int GetNamesEntries(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ names.c:898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | int NamesAfterLoop(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ names.c:933:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | int DirNames(TopStr, ExtStr, SelStr, JustSetDir) | ^ names.c:1050:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | int ChooseAName(TopStr, entries, num_entries, marked_index) | ^ names.c:1070:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | int SelectFileName(MsgStr, SelStr) | ^ names.c:1115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | int SelectFileNameToPaste(MsgStr, SelStr) | ^ names.c:1160:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | int SelectFileNameToImport(MsgStr, ExtStr, SelStr) | ^ names.c:1189:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | int GetSymbolPath(SymName, Pin, PathName) | ^ names.c:1211:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | int NameInCurDir(FileName) | ^ names.c:1247:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | DspList *DomainListing(pn_num_entries, name_only) | ^ --- navigate.o --- navigate.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int ParseXYSpec(spec, pnx, pny) | ^ --- names.o --- names.c:1463:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | int SelectDomain(SelStr) | ^ --- navigate.o --- navigate.c:153:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | int ParseWHSpecError(spec, psz_dup_spec, rc) | ^ navigate.c:167:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | int ParseWHSpec(spec, pnw, pnh) | ^ --- names.o --- names.c:1573:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | DspList *SymDirListing(pn_marked_index, pn_num_entries) | ^ --- navigate.o --- navigate.c:211:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- names.o --- names.c:1606:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | int SelectSymDir(SelStr) | ^ --- navigate.o --- 211 | void InsertNavigate(pnr_prev, pnr_next, pnr) | ^ navigate.c:231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | void DeleteNavigate(pnr) | ^ navigate.c:240:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | void ClearNavigateRecords(pnr) | ^ navigate.c:268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | void FreeAnURLCache(url_cache) | ^ --- names.o --- names.c:1645:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1645 | DspList *BitmapListing(ExtStr, OtherExtStr) | ^ names.c:1729:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1729 | int SelectFromLibrary(MsgStr, ExtStr, SelStr, PathStr) | ^ --- navigate.o --- navigate.c:408:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | char *SimpleURLName(psz_url) | ^ navigate.c:425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | void UnlinkURLCache(url_cache) | ^ navigate.c:444:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | void InsertURLCache(prev_url, next_url, url_cache) | ^ navigate.c:462:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | void UpdateLRU(url_cache) | ^ navigate.c:469:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | struct URLCacheRec *FindURLCache(psz_url, update_lru) | ^ navigate.c:497:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | void UpdateURLCache(psz_url, psz_remote_buf, psz_content_type, remote_buf_sz, | ^ --- names.o --- names.c:1789:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | void SetCurDir(FileName) | ^ names.c:1821:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | void SetCurSymDir(FileName) | ^ names.c:1842:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | void SetCurImportDir(FileName) | ^ --- navigate.o --- navigate.c:576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | void AddToSessionHistory(cur_pnr) | ^ --- names.o --- names.c:1864:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1864 | DspList *FreeDspLinkedList(dsp_ptr) | ^ --- navigate.o --- navigate.c:644:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | void PostNavigate(pnr) | ^ --- names.o --- names.c:1900:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | DspList *DomainListToDomainArray(dsp_ptr, num_entries, set_directory) --- navigate.o --- navigate.c:660:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- names.o --- | ^ --- navigate.o --- 660 | void NavigateTo(full_fname, do_not_save, force_load) | ^ --- names.o --- names.c:1924:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1924 | int EditDomainPathsAfterLoop(pp_dsp_ptr, ppsz_entries, pn_num_entries, | ^ names.c:1971:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | int DoEditDomainPaths(psz_title, dsp_ptr, entries, num_entries, | ^ names.c:2038:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2038 | int DoSelectDefaultDomain(psz_title, dsp_ptr, entries, num_entries, | ^ --- navigate.o --- navigate.c:827:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | char **ReadHotListFile(pn_count) | ^ navigate.c:870:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | DspList *HotListListing(ppsz_buf, pn_count) | ^ --- names.o --- names.c:2214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2214 | int RefreshDomainMenu(menu) | ^ names.c:2233:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- navigate.o --- navigate.c:901:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | DspList *HistoryListing(pn_count) | ^ --- names.o --- 2233 | TgMenu *CreateDomainMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ --- navigate.o --- navigate.c:941:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | int GetHotListEntries(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ navigate.c:971:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | int HotListAfterLoop(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ navigate.c:1086:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | int GetHistoryEntries(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ navigate.c:1110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | int HistoryAfterLoop(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ navigate.c:1163:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | void SelectForNavigate(TopStr, Which) | ^ navigate.c:1278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | void ToggleHyperSpace(KeepSelected) | ^ navigate.c:1656:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | int RefreshSlideShowModeMenu(menu) | ^ navigate.c:1675:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | TgMenu *CreateSlideShowModeMenu(parent_menu, X, Y, menu_info, status_str_xlated) | ^ navigate.c:1693:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | int SlideShowModeMenu(X, Y, TrackMenubar) | ^ navigate.c:1710:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | int RefreshSlideShowMenu(menu) | ^ navigate.c:1733:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | TgMenu *CreateSlideShowMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ navigate.c:1749:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | int ReadSlideShowInfo(buf) | ^ navigate.c:1781:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | void RefreshNavigateMenu(menu) | ^ navigate.c:1794:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | TgMenu *CreateNavigateMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ navigate.c:1818:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | int NavigateMenu(X, Y, TrackMenubar) | ^ --- msg.o --- 52 warnings generated. --- nkf.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c nkf.c --- obj.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c obj.c --- navigate.o --- 34 warnings generated. --- oval.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c oval.c --- names.o --- 33 warnings generated. --- page.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c page.c --- obj.o --- obj.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | void AddObj(PrevPtr, NextPtr, ObjPtr) | ^ obj.c:82:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | void UnlinkObj(ObjPtr) | ^ obj.c:97:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | void ReplaceObj(old_obj, new_obj) | ^ obj.c:116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | void FreeObj(ObjPtr) | ^ obj.c:146:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | void DelObj(ObjPtr) | ^ obj.c:188:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | void AdjObjOBBox(ObjPtr) | ^ obj.c:230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | void AdjObjBBox(ObjPtr) | ^ obj.c:337:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | void RecursivelyAdjAnObjBBox(target_obj, owner_obj) | ^ obj.c:361:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | void RecursivelyAdjObjBBox(sub_obj, owner_obj, top_owner) | ^ obj.c:375:18: warning: variable 'num_rows' set but not used [-Wunused-but-set-variable] 375 | int w=0, h=0, num_rows=0, num_cols=0; | ^ obj.c:375:30: warning: variable 'num_cols' set but not used [-Wunused-but-set-variable] 375 | int w=0, h=0, num_rows=0, num_cols=0; | ^ obj.c:372:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | void InvalidateObjCache(ObjPtr) | ^ obj.c:508:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | void AdjObjCache(ObjPtr) | ^ obj.c:572:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | void AdjArcCache(ObjPtr) | ^ obj.c:589:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | void AdjPolyCache(ObjPtr) | ^ obj.c:748:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | void AdjPolygonCache(ObjPtr) | ^ obj.c:810:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | void AdjObjSplineVs(ObjPtr) | ^ obj.c:894:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | void MoveRotatedObjCache(ObjPtr, AbsDx, AbsDy) | ^ obj.c:982:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | int IsTopLevelObject(ObjPtr) | ^ obj.c:995:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | struct ObjRec *GetTopOwner(ObjPtr) | ^ --- oval.o --- oval.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | void GetPSEllipseStr(xc, yc, a, b, s) | ^ oval.c:87:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | void MyOval(window, gc, bbox) | ^ oval.c:108:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | void DumpOvalPath(FP, ObjPtr, Xc, Yc, A, B, Width, Pen, Dash, TransPat) | ^ oval.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void DumpOvalObj(FP, ObjPtr) | ^ oval.c:275:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | int NeedsToCacheOvalObj(ObjPtr) | ^ oval.c:285:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | void MakeCachedOval(ObjPtr) | ^ oval.c:366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | void DrawOvalObj(window, XOff, YOff, ObjPtr) | ^ oval.c:445:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | void CreateOvalObj(BBox, CreateAbsolute) | ^ oval.c:505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | void AdjContinueOvalBBox(pBBoxIn, pBBoxOut) | ^ oval.c:539:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | void MyContinueOval(d, gc, pBBox) | ^ oval.c:551:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | void ContinueOval(OrigX, OrigY) | ^ oval.c:704:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | void DrawOval(input) | ^ oval.c:746:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | void SaveOvalObj(FP, ObjPtr) | ^ oval.c:779:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | void ReadOvalObj(FP, Inbuf, ObjPtr) | ^ oval.c:1012:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | void SetOvalPropMask(ObjPtr, plMask, plSkip, pProp) | ^ oval.c:1036:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | void FreeOvalObj(ObjPtr) | ^ --- obj.o --- 20 warnings generated. --- pattern.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c pattern.c --- page.o --- page.c:96:37: warning: variable 'y_offset' set but not used [-Wunused-but-set-variable] 96 | int w=0, num_digits=0, x_offset, y_offset; | ^ page.c:90:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | int DrawAHorizontalTab(page_num, page_ptr, x, y, on_top, skip) | ^ page.c:149:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | int PageTabsVisible(pn_last_tab_visible) | ^ page.c:173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | void MakePageTabsVisible(last_tab_visible) | ^ page.c:278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | void GotoPageNum(new_page_num) | ^ page.c:314:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | void SetCurPage(page_number) | ^ page.c:368:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | void HandleClickInPageWindow(button_ev) | ^ page.c:448:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | void HandleMotionInPageWindow(motion_ev) | ^ page.c:528:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | void PageDummyEventHandler(input) | ^ page.c:542:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | void FreePage(page_ptr) | ^ page.c:640:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | DspList *PageNameListing(pn_entries) | ^ page.c:669:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | int EditOrSelectPageNames(TopStr, Which, entries, num_entries) | ^ page.c:703:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | void GotoPage(psz_page_num) | ^ page.c:814:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | DspList *PageFileNameListing(pn_entries) | ^ page.c:934:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | int OkToFlushUndoBuffer(msg_prefix) | ^ page.c:965:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | void AddPage(AfterCurPage, papcai) | ^ page.c:1304:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | int GetDimension(Spec, nNonPosReturnOK, pnNumPixels) | ^ page.c:1334:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | int GetDimensionInDouble(Spec, nNonPosReturnOK, pd_num_pixels) | ^ page.c:1365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | int SetPaperSize(Spec) | ^ page.c:1427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | void GetCurPaperSizeSpec(buf) | ^ page.c:1483:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1483 | void FreePageSpec(pspi) | ^ page.c:1489:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | int ParsePagesSpec(spec, pspi) | ^ page.c:1599:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1599 | sprintf(gszMsgBox, TgLoadString(spi.num_pages_specified > 1 ? | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1600 | STID_DELETE_A_PAGE_CAUSE_FLUSH : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1601 | STID_DELETE_PAGES_PAGE_CAUSE_FLUSH)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ page.c:1599:26: note: treat the string as an argument to avoid this 1599 | sprintf(gszMsgBox, TgLoadString(spi.num_pages_specified > 1 ? | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ page.c:1748:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1748 | int StackedPageMenu(X, Y, TrackMenubar) | ^ page.c:1765:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1765 | int TiledPageMenu(X, Y, TrackMenubar) | ^ page.c:1782:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | int RefreshPageMenu(menu) | ^ page.c:1794:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | TgMenu *CreatePageMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ page.c:1811:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | int PageMenu(X, Y, TrackMenubar) | ^ page.c:1865:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | int CalcStackPageNum(obj_ptr) | ^ page.c:1885:19: warning: variable 'saved_top_obj' set but not used [-Wunused-but-set-variable] 1885 | struct ObjRec *saved_top_obj, *saved_bot_obj; | ^ page.c:1986:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | void PageLayoutSubMenu(index) | ^ page.c:2043:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2043 | void RefreshPageLayoutMenu(menu) | ^ page.c:2061:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | TgMenu *CreatePageLayoutMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ page.c:2088:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | int PageLayoutMenu(X, Y, TrackMenubar) | ^ page.c:2105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2105 | void PageEventHandler(input) | ^ page.c:2144:8: warning: comparison of array 'leftend_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 2144 | if (leftend_bits == NULL) { } | ^~~~~~~~~~~~ ~~~~ page.c:2173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | void GetPageInfo(pPageInfo) | ^ page.c:2189:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2189 | int FixPageNumInStrSeg(pStrSeg, attr_ptr, just_checking) | ^ page.c:2238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2238 | int FixPageNumInStrBlock(pStrBlock, attr_ptr, just_checking) | ^ page.c:2289:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | int FixPageNumInMiniLine(pMiniLine, attr_ptr, just_checking) | ^ page.c:2309:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2309 | int FixPageNumInMiniLines(minilines, attr_ptr, just_checking) | ^ page.c:2330:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | int FixPageNumInAttr(AttrPtr, just_checking) | ^ page.c:2357:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2357 | int FixPageNumInObj(ObjPtr, just_checking) | ^ --- oval.o --- 16 warnings generated. --- pin.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c pin.c --- pattern.o --- pattern.c:92:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | char *GrayStr(index) | ^ pattern.c:138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | void GrayCheck(index) | ^ pattern.c:185:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | int RefreshModeMenu(menu) | ^ pattern.c:211:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | TgMenu *CreateModeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | int ModeMenu(X, Y, TrackMenubar) | ^ pattern.c:258:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | int ChangeObjTransPat(ObjPtr, TransPat) | ^ pattern.c:269:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | void ChangeAllSelTransPat(TransPat, HighLight) | ^ pattern.c:334:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | int ChangeObjFill(ObjPtr, FillIndex) | ^ pattern.c:422:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | void ChangeAllSelFill(FillIndex, HighLight) | ^ pattern.c:476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | void RefreshFillMenu(menu) | ^ pattern.c:494:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | TgMenu *CreateFillMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:560:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | int FillMenu(X, Y, TrackMenubar) | ^ pattern.c:579:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | int ChangeObjLineStyle(ObjPtr, StyleIndex) | ^ pattern.c:622:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | void ChangeAllSelLineStyle(StyleIndex, HighLight) | ^ pattern.c:660:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | void RefreshLineStyleMenu(menu) | ^ pattern.c:678:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | TgMenu *CreateLineStyleMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:703:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | int LineStyleMenu(X, Y, TrackMenubar) | ^ pattern.c:722:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | int GetPolyOrPolygonControlPoints(obj_ptr, pp_poly, pp_polygon, pn_curved, | ^ pattern.c:770:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | int CanConvertSplineToStructuredSpline(ObjPtr, pn_hinge_count, vlist_updated) | ^ pattern.c:953:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | int CanConvertClosedSplineToStructuredSpline(ObjPtr, pn_hinge_count, | ^ pattern.c:1159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | int CanConvertObjLineType(ObjPtr, TypeIndex, pn_failed_count, pn_hinge_count) | ^ pattern.c:1269:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | IntPoint *GetNumUsableStraightVs(pn_num_usable_vs, num_pts, vs) | ^ pattern.c:1298:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | IntPoint *GetNumUsableSplineVs(pn_num_usable_vs, ppsz_smooth, num_pts, vs, | ^ pattern.c:1338:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | IntPoint *GetNumUsableIntSplineVsFromStructuredSpline(pn_num_usable_vs, num_pts, | ^ pattern.c:1368:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | IntPoint *GetNumUsableIntSplineVs(pn_num_usable_vs, num_pts, vs, smooth) | ^ pattern.c:1398:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | IntPoint *GetNumUsableStructuredSplineVs(pn_num_usable_vs, ppsz_smooth, | ^ pattern.c:1488:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | void SetObjSmooth(ObjPtr, TypeIndex, hinge_count) | ^ pattern.c:1682:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | int ChangeObjLineType(ObjPtr, TypeIndex, pn_failed_count) | ^ pattern.c:1739:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | void ChangeAllSelLineType(TypeIndex, HighLight) | ^ pattern.c:1754:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1754 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRAIGHT)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ pattern.c:1754:26: note: treat the string as an argument to avoid this 1754 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRAIGHT)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ pattern.c:1757:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1757 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_SPLINE)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ pattern.c:1757:26: note: treat the string as an argument to avoid this 1757 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_SPLINE)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ pattern.c:1760:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1760 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_INTSPLINE)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ pattern.c:1760:26: note: treat the string as an argument to avoid this 1760 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_INTSPLINE)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ pattern.c:1763:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1763 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRUCT_SPLINE)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ pattern.c:1763:26: note: treat the string as an argument to avoid this 1763 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRUCT_SPLINE)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ pattern.c:1802:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1802 | void RefreshLineTypeMenu(menu) | ^ pattern.c:1820:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1820 | TgMenu *CreateLineTypeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:1845:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | int LineTypeMenu(X, Y, TrackMenubar) | ^ pattern.c:1865:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | int ChangeObjLineWidth(ObjPtr, nMask, W, AW, AH, width_spec, aw_spec, ah_spec) | ^ pattern.c:1999:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1999 | void ChangeAllSelLineWidth(WidthIndex, HighLight) | ^ pattern.c:2051:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2051 | int GetLineWidthMatch(index, width, aw, ah) | ^ pattern.c:2068:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | int GetBestLineWidthIndex(width, aw, ah) | ^ pattern.c:2085:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2085 | void RefreshLineWidthMenu(menu) | ^ pattern.c:2103:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | TgMenu *CreateLineWidthMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:2156:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2156 | int LineWidthMenu(X, Y, TrackMenubar) | ^ pattern.c:2176:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | int ChangeObjLineDash(ObjPtr, DashIndex) | ^ pattern.c:2234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2234 | void ChangeAllSelLineDash(DashIndex, HighLight) | ^ pattern.c:2268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2268 | void RefreshLineDashMenu(menu) | ^ pattern.c:2286:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | TgMenu *CreateLineDashMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:2306:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2306 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_DASH_PAT_NO_DASH)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ pattern.c:2306:29: note: treat the string as an argument to avoid this 2306 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_DASH_PAT_NO_DASH)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ pattern.c:2343:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2343 | int LineDashMenu(X, Y, TrackMenubar) | ^ pattern.c:2362:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2362 | int ChangeObjPen(ObjPtr, PenIndex) | ^ pattern.c:2434:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | void ChangeAllSelPen(PenIndex, HighLight) | ^ pattern.c:2484:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2484 | void RefreshPenMenu(menu) | ^ pattern.c:2502:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2502 | TgMenu *CreatePenMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:2523:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2523 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_NONE)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ pattern.c:2523:29: note: treat the string as an argument to avoid this 2523 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_NONE)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ pattern.c:2526:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2526 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_SOLID)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ pattern.c:2526:29: note: treat the string as an argument to avoid this 2526 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_SOLID)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ pattern.c:2529:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2529 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_BACKGROUND)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ pattern.c:2529:29: note: treat the string as an argument to avoid this 2529 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_BACKGROUND)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ pattern.c:2567:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | int PenMenu(X, Y, TrackMenubar) | ^ pattern.c:2586:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2586 | int ToggleObjLineType(ObjPtr) | ^ pattern.c:2666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2666 | int ChangeObjRCBRadius(ObjPtr, Radius) | ^ pattern.c:2695:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2695 | void ChangeAllSelRCBRadius(Radius) | ^ pattern.c:2750:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2750 | void ChangeAllSelRealLineWidth(nMask, Width, AW, AH, | ^ pattern.c:2789:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2789 | void SetSelLineWidth(pszBuf) | ^ --- pin.o --- pin.c:77:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | void CachePin(ObjPtr) | ^ pin.c:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | void PreparePinInfoForAnObject(ObjPtr, nInsideAnIcon) | ^ pin.c:147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | int GetPins(pObj, ppTopSel, ppBotSel) | ^ pin.c:179:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | int AddObjToSorted(pObj, ppTopSel, ppBotSel) | ^ pin.c:195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | int FindExtraPoly(pTopSel, pBotSel, ppTopSel, ppBotSel, pnCount, pBBox) | ^ --- page.o --- 43 warnings generated. --- pin.o --- pin.c:276:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | struct ObjRec *FindPinObj(AbsX, AbsY) | ^ pin.c:289:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | void HighLightAPin(forward) | ^ pin.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 HandlePinHighlights(MouseX, MouseY) | ^ pin.c:309:33: warning: variable 'something_changed' set but not used [-Wunused-but-set-variable] 309 | int need_to_highlight=FALSE, something_changed=FALSE; | ^ pin.c:343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | void AppendConnToPin(pPinObj, pConn, pPolyObj) | ^ pin.c:363:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | void CreateConnection(pStartPin, pEndPin) | ^ pin.c:461:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | void FreeConn(pConn) | ^ pin.c:468:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | void UnlinkConn(pConn) | ^ pin.c:487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | void DelConnFromPoly(pConn) | ^ pin.c:495:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | void DelConnFromPin(pConn) | ^ --- pngtrans.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c pngtrans.c --- pin.o --- 15 warnings generated. --- poly.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c poly.c --- pngtrans.o --- pngtrans.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int PngShowOrPrintMsg(buf, use_msgbox) | ^ pngtrans.c:64:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | int VerifyPngHeader(fp) | ^ pngtrans.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | int ReadPngDWord(pvalue32, fp) | ^ pngtrans.c:106:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | int ReadPngShortWord(pvalue16, fp) | ^ pngtrans.c:127:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | void PngHexDump(buf, len, pn_index, pn_line_num) | ^ pngtrans.c:155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | int DoInflateForPng(in_buf, v32_length) | ^ pngtrans.c:230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | void SetPngFileTransColor(pphi, red, green, blue) | ^ pngtrans.c:241:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | int ReadChunk(pphi, psz_chunk_type, v32_length, fp) | ^ pngtrans.c:418:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | int ProcessChunk(pphi) | ^ pngtrans.c:488:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | void ResetPngHeaderInfo(pphi) | ^ pngtrans.c:496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | void SetPngHeaderInfoForTransColor(pphi, trans_color_pixel_r, | ^ pngtrans.c:499:18: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] 499 | unsigned char trans_color_pixel_r, trans_color_pixel_g, trans_color_pixel_b; | ^ ./pngtrans.e:48:19: note: previous declaration is here 48 | unsigned char trans_color_pixel_r, | ^ pngtrans.c:499:39: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] 499 | unsigned char trans_color_pixel_r, trans_color_pixel_g, trans_color_pixel_b; | ^ ./pngtrans.e:49:19: note: previous declaration is here 49 | unsigned char trans_color_pixel_g, | ^ pngtrans.c:499:60: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] 499 | unsigned char trans_color_pixel_r, trans_color_pixel_g, trans_color_pixel_b; | ^ ./pngtrans.e:50:19: note: previous declaration is here 50 | unsigned char trans_color_pixel_b)); | ^ pngtrans.c:512:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | int PngFileGetTransColorInit(pphi, fname) | ^ pngtrans.c:527:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | int PngFileGetTransColor(pphi) | ^ --- pattern.o --- 62 warnings generated. --- polygon.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c polygon.c --- pngtrans.o --- 16 warnings generated. --- poly.o --- poly.c:103:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | IntPoint *GetPolyOrPolygonAbsVs(pn_return, pn_allocated, ObjPtr) | ^ poly.c:156:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | XPoint *MakePolyVertex(XOff, YOff, NumVs, Vs) | ^ poly.c:176:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | void CalcPolyBBox(ObjPtr) | ^ --- ps.o --- --- poly.o --- poly.c:285:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | void UpdPolyBBox(ObjPtr, NumPts, V) | ^ poly.c:327:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | void UpdNonIntSplinePolyBBox(obj_ptr, num_pts, v) | ^ poly.c:362:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | void UpdPolyOrPolygonBBox(obj_ptr) | ^ poly.c:398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | void CreatePolyObj(NumPts, CreateAbsolute) | ^ poly.c:599:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | void AddPtToCreatePoly(AbsX, AbsY) | ^ poly.c:639:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | void SetXorDrawGCForPoly(color_index, line_width_index) | ^ poly.c:685:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ps.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c ps.c --- poly.o --- 685 | void DoPolyMeasureCursor(ppmci, start, num_pts, x, y, dx, dy, erase, drag) | ^ poly.c:737:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | void FreePointsForCont(pn_ltx, pn_lty, pn_rbx, pn_rby) | ^ poly.c:798:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | int SetFirstPoint(grid_x, grid_y, pipt_first) | ^ poly.c:828:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | int AddPointForCont(grid_x, grid_y, pipt) | ^ poly.c:851:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | void UpdateLastPointForCont(pipt) | ^ poly.c:860:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | void DrawAllStructSplinePointsForCont(num_pts) | ^ poly.c:913:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | void UpdatePrevToLastPointForCont(pipt_prev) | ^ poly.c:925:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | void ContinueForStructSplinePolyControlPoints(OrigX, OrigY, LastX, LastY, psv, | ^ poly.c:1402:48: warning: variable 'obj_ptr' set but not used [-Wunused-but-set-variable] 1402 | struct ObjRec *owner_obj=NULL, *obj_ptr, *obj_under_cursor=NULL; | ^ poly.c:1120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | void ContinuePoly(OrigX, OrigY) | ^ poly.c:1871:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1871 | void DrawPoly(input) | ^ poly.c:1932:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | void SetWiringNodeInfo(port_obj, port_owner_obj, port_name, first) | ^ poly.c:2082:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | void FinishJoinPoly(obj_ptr1, obj_ptr2, poly_ptr1, vs, smooth, num_pts) | ^ poly.c:2203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2203 | void DoJoinPoly(obj_ptr1, obj_ptr2, poly_ptr1, poly_ptr2, min_index, coincide, | ^ poly.c:2534:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2534 | void FinishCloseOnePoly(obj_ptr, poly_ptr, vs, smooth, num_pts) | ^ poly.c:2589:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2589 | void CloseOnePoly(obj_ptr) | ^ poly.c:2793:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2793 | int JoinPolyCompatCheck(poly_ptr1, poly_ptr2) | ^ poly.c:2991:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2991 | void FinishCutPoly(obj_ptr1, poly_ptr1, vs1, smooth1, vs2, smooth2, | ^ poly.c:3101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3101 | void DoCutPoly(obj_ptr, index, poly_ptr) | ^ poly.c:3205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3205 | void FinishCutPolygon(obj_ptr1, polygon_ptr1, vs, smooth, num_pts) | ^ poly.c:3328:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3328 | void DoCutPolygon(obj_ptr, index, polygon_ptr) | ^ poly.c:3425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3425 | void CopyPolySegmentProperties(obj_ptr, poly_ptr, curved) | ^ poly.c:3456:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3456 | void CopyPolygonSegmentProperties(obj_ptr, polygon_ptr, curved) | ^ poly.c:3489:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3489 | int CreateSegmentsFromObject(obj_ptr, pp_top_obj, pp_bot_obj) | ^ poly.c:3761:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3761 | double GetWidthInDouble(nVal, pszSpec, pnIsInt) | ^ poly.c:3780:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3780 | void SetWidthAndSpec(dWidth, pnWidth, pszWidthSpec) | ^ poly.c:3793:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3793 | void ScaleWidthAndSpec(dScale, pnWidth, pszWidthSpec) | ^ poly.c:3806:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3806 | void DumpArrow(FP, TailV, HeadV, ArrowW, ArrowH, aw_spec, ah_spec, Pen, | ^ poly.c:3911:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3911 | int CalcArrowRetreatPoint(TailV, HeadV, ArrowW, aw_spec, ReturnV) | ^ poly.c:3937:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3937 | void DumpPolyPath(FP, ObjPtr, Vs, NumPts, Smooth, Style, Width, ArrowW, ArrowH, | ^ poly.c:4164:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4164 | void DumpPolyObj(FP, ObjPtr) | ^ poly.c:4170:23: warning: variable 'rotation' set but not used [-Wunused-but-set-variable] 4170 | int style, aw, ah, rotation, intn, retracted_arrow; | ^ poly.c:4454:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4454 | int NeedsToCachePolyObj(ObjPtr) | ^ poly.c:4463:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4463 | void MakeCachedPoly(ObjPtr) | ^ poly.c:4598:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4598 | void SetArrowVsForDraw(obj_ptr, retracted_arrow, real_x_off, real_y_off, | ^ poly.c:4752:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4752 | void DrawPolyObj(Win, XOff, YOff, ObjPtr) | ^ poly.c:4760:44: warning: variable 'n' set but not used [-Wunused-but-set-variable] 4760 | int trans_pat, pen, width, pixel, fill, n, dash, real_x_off, real_y_off; | ^ poly.c:4939:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4939 | void SaveSmoothHinge(FP, Curved, NumPts, Smooth) | ^ poly.c:4976:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4976 | void SaveArrowSpec(FP, arrow_style, aw, ah, aindent, aw_spec, ah_spec, | ^ poly.c:4988:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4988 | void SavePolyObj(FP, ObjPtr) | ^ poly.c:5056:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5056 | int ReadSmoothHinge(FP, Curved, NumPts, Smooth) | ^ poly.c:5107:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5107 | void ReadPolyObj(FP, Inbuf, ObjPtr) | ^ poly.c:5522:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 5522 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_BAD_SMOOTHHINGE_POLY_FIXED)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ poly.c:5522:26: note: treat the string as an argument to avoid this 5522 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_BAD_SMOOTHHINGE_POLY_FIXED)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ poly.c:5652:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5652 | void SetPolyPropMask(ObjPtr, plMask, plSkip, pProp) | ^ poly.c:5686:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5686 | void FreePolyObj(ObjPtr) | ^ --- polygon.o --- polygon.c:72:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | XPoint *MakePolygonVertex(XOff, YOff, NumVs, Vs) | ^ polygon.c:92:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | void DumpPoints(FP, NumPts, V, Indent) | ^ polygon.c:106:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | void DumpJustPolygonPath(FP, Vs, NumPts, Smooth, Curved) | ^ polygon.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void DumpPolygonPath(FP, ObjPtr, Vs, NumPts, Width, Pen, Fill, Dash, TransPat) | ^ polygon.c:201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | void DumpPolygonObj(FP, ObjPtr) | ^ polygon.c:308:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | int NeedsToCachePolygonObj(ObjPtr) | ^ polygon.c:315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | void MakeCachedPolygon(ObjPtr) | ^ polygon.c:368:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | void DrawPolygonObj(Win, XOff, YOff, ObjPtr) | ^ polygon.c:448:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | void CreatePolygonObj(NumPts, CreateAbsolute) | ^ polygon.c:639:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | void AddPtToCreatePolygon(AbsX, AbsY) | ^ polygon.c:669:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | void DoPolygonMeasureCursor(ppmci, start, num_pts, x, y, dx, dy, erase, drag, | ^ polygon.c:730:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | void EraseStructSplineLinesForCont(OrigX, OrigY, grid_x, grid_y, sv, sn, sv2, | ^ polygon.c:806:58: warning: too few arguments in call to 'DoPolygonMeasureCursor' 805 | DoPolygonMeasureCursor(&pmci, POLYGON_DOSHOW, num_pts, ABS_X(grid_x), | ~~~~~~~~~~~~~~~~~~~~~~ 806 | ABS_Y(grid_y), 0, 0, POLYGON_ERASE, POLYGON_DRAG); --- ps.o --- ps.c:178:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- polygon.o --- | ^ --- ps.o --- 178 | void PSUseReencode(font_str) | ^ --- polygon.o --- polygon.c:846:72: warning: too few arguments in call to 'DoPolygonMeasureCursor' 844 | DoPolygonMeasureCursor(&pmci, POLYGON_DOSHOW, num_pts, ABS_X(grid_x), | ~~~~~~~~~~~~~~~~~~~~~~ 845 | ABS_Y(grid_y), ABS_SIZE(abs(grid_x-LastX)), 846 | ABS_SIZE(abs(grid_y-LastY)), POLYGON_ERASE, POLYGON_DRAG); | ^ polygon.c:941:71: warning: too few arguments in call to 'DoPolygonMeasureCursor' 939 | DoPolygonMeasureCursor(&pmci, POLYGON_DOSHOW, num_pts, ABS_X(grid_x), | ~~~~~~~~~~~~~~~~~~~~~~ 940 | ABS_Y(grid_y), ABS_SIZE(abs(grid_x-LastX)), 941 | ABS_SIZE(abs(grid_y-LastY)), POLYGON_DRAW, POLYGON_DRAG); | ^ polygon.c:947:75: warning: too few arguments in call to 'DoPolygonMeasureCursor' 945 | DoPolygonMeasureCursor(&pmci, POLYGON_ENDSHOW, num_pts, | ~~~~~~~~~~~~~~~~~~~~~~ 946 | ABS_X(grid_x), ABS_Y(grid_y), ABS_SIZE(abs(grid_x-LastX)), 947 | ABS_SIZE(abs(grid_y-LastY)), POLYGON_ERASE, POLYGON_DRAG); | ^ --- ps.o --- ps.c:804:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- polygon.o --- polygon.c:963:72: warning: too few arguments in call to 'DoPolygonMeasureCursor' --- ps.o --- 804 | void psDynamicPrintPatternDef(FP, index) | ^ --- polygon.o --- 961 | DoPolygonMeasureCursor(&pmci, POLYGON_ENDSHOW, num_pts, ABS_X(grid_x), | ~~~~~~~~~~~~~~~~~~~~~~ 962 | ABS_Y(grid_y), ABS_SIZE(abs(grid_x-LastX)), 963 | ABS_SIZE(abs(grid_y-LastY)), POLYGON_ERASE, POLYGON_DRAG); | ^ --- ps.o --- ps.c:1010:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | void DumpPSMacro(FP) | ^ --- polygon.o --- polygon.c:748:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | void ContinueForStructSplinePolygonControlPoints(OrigX, OrigY, LastX, LastY, | ^ --- ps.o --- ps.c:1127:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | int ParsePsAdobeString(buf, use_ps_adobe_string, adobe_str, epsf_str) | ^ --- polygon.o --- polygon.c:1021:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | void EraseStructSplineLinesForContAndUpdateSvs(OrigX, OrigY, grid_x, grid_y, | ^ polygon.c:1094:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | void ContinuePolygon(OrigX, OrigY) | ^ polygon.c:1797:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | void DrawPolygon(input) | ^ polygon.c:1814:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1814 | void SelectAndHighLightNewObjects(PrevTopObj) | ^ polygon.c:1958:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | void AddToLastPoint(XOff, YOff) | ^ polygon.c:1974:8: warning: variable 'num_created' set but not used [-Wunused-but-set-variable] 1974 | int num_created=0, saved_cur_spline=curSpline; | ^ polygon.c:2043:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2043 | void SavePolygonObj(FP, ObjPtr) | ^ polygon.c:2097:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | void ReadPolygonObj(FP, Inbuf, ObjPtr) | ^ polygon.c:2513:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2513 | void SetPolygonPropMask(ObjPtr, plMask, plSkip, pProp) | ^ polygon.c:2539:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2539 | void FreePolygonObj(ObjPtr) | ^ --- ps.o --- 4 warnings generated. --- raster.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c raster.c raster.c:1326:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | int UpgradePenFill(pen_or_fill) | ^ raster.c:1336:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | unsigned char ByteReverse(byte) | ^ raster.c:1337:18: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] 1337 | unsigned char byte; | ^ ./raster.e:114:58: note: previous declaration is here 114 | extern unsigned char ByteReverse ARGS_DECL((unsigned char)); | ^ raster.c:1350:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | void GetPatternCellsize(fill_or_pen, pn_cell_w, pn_cell_h) | ^ raster.c:1372:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | void SetBit(buf, bit_offset, ival) | ^ raster.c:1388:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | unsigned char GetBit(buf, bit_offset) | ^ raster.c:1399:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | unsigned char *GetPatternBytes(fill_or_pen, pn_num_bytes, pn_need_to_free) | ^ 7 warnings generated. --- rcbox.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c rcbox.c --- polygon.o --- 28 warnings generated. --- rect.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c rect.c --- rcbox.o --- rcbox.c:75:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | void SetRCBoxVertex(x1, y1, x2, y2, r) | ^ rcbox.c:129:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | void MyRCBox(window, gc, x1, y1, x2, y2, r) | ^ rcbox.c:143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | void MyFillRCBox(window, gc, x1, y1, x2, y2, r) | ^ rcbox.c:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | void DumpRCBoxPSPath(FP, ltx, lty, rbx, rby, r, blank1, blank2) | ^ rcbox.c:187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | void DumpRCBoxPath(FP, ObjPtr, ltx, lty, rbx, rby, r, width, pen, dash, | ^ rcbox.c:243:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | void DumpRCBoxObj(FP, ObjPtr) | ^ rcbox.c:347:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | int NeedsToCacheRCBoxObj(ObjPtr) | ^ rcbox.c:354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | void MakeCachedRCBox(ObjPtr) | ^ rcbox.c:430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | void DrawRCBoxObj(win, XOff, YOff, ObjPtr) | ^ rcbox.c:512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | void CreateRCBoxObj(X1, Y1, X2, Y2, CreateAbsolute) | ^ rcbox.c:586:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | void ContinueRCBox(OrigX, OrigY) | ^ rcbox.c:701:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | void DrawRCBox(input) | ^ rcbox.c:737:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | void SaveRCBoxObj(FP, ObjPtr) | ^ rcbox.c:770:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | void ReadRCBoxObj(FP, Inbuf, ObjPtr) | ^ rcbox.c:979:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | void SetRCBoxPropMask(ObjPtr, plMask, plSkip, pProp) | ^ rcbox.c:1005:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | void FreeRCBoxObj(ObjPtr) | ^ --- rect.o --- rect.c:51:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | void DumpRectPath(FP, LtX, LtY, RbX, RbY, Indent, LastLF) | ^ rect.c:78:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | void SetPoint(pt, x, y) | ^ rect.c:86:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | void ClipRect(bbox, w, h) | ^ rect.c:106:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | int CompareRect(pBBox1, pBBox2) | ^ rect.c:112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | void SetRotateVs(vs, ltx, lty, rbx, rby) | ^ rect.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void SetBBRec(bbox, ltx, lty, rbx, rby) | ^ rect.c:142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | void ConcatCTM(ctm, orig_ctm, new_ctm) | ^ rect.c:161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | void TransformDoublePointThroughCTM(X, Y, ctm, NewX, NewY) | ^ rect.c:171:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | void TransformPointThroughCTM(X, Y, ctm, NewX, NewY) | ^ rect.c:185:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | void ReverseTransformDoublePointThroughCTM(X, Y, ctm, NewDx, NewDy) | ^ rect.c:212:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | void ReverseTransformPointThroughCTM(X, Y, ctm, NewX, NewY) | ^ rect.c:223:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | void TransformObjectV(ObjPtr, VIn, VOut) | ^ rect.c:235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | void ReversedTransformObjectV(ObjPtr, VIn, VOut) | ^ rect.c:247:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | void TransformOffsetBBoxThroughCTM(bbox, ctm, vs) | ^ rect.c:264:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | void GetTransformedOBBoxOffsetVs(ObjPtr, Vs) | ^ rect.c:293:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | void GetTransformedOBBoxAbsVs(ObjPtr, Vs) | ^ rect.c:318:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | void SetCTM(ObjPtr, ctm) | ^ rect.c:361:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | void ExpandExtents(pBBox, pnLtX, pnLtY, pnRbX, pnRbY) | ^ rect.c:371:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | void ExpandBBox(pBBox, pBBoxToExpand) | ^ rect.c:380:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | void InflateBBox(pBBoxIn, dx, dy, pBBoxOut) | ^ rect.c:390:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | void OffsetBBox(pBBoxIn, dx, dy, pBBoxOut) | ^ rect.c:400:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | int BBoxIntersect(Rect1, Rect2) | ^ rect.c:418:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | int IntersectRect(BBox1, BBox2, BBox3) | ^ rect.c:432:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | void UnionRect(p_bbox1, p_bbox2, p_union_bbox) | ^ rect.c:441:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | int Inside(BBox1, BBox2) | ^ rect.c:449:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | int PointInBBox(X, Y, Rect) | ^ rect.c:456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | int PointInIntPolygon(X, Y, NumPts, IV) | ^ rect.c:495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | int PointInPolygon(X, Y, NumPts, V) | ^ rect.c:534:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | int PointOnPoly(X, Y, NumPts, V, W) | ^ rect.c:585:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | int FindGoodText(XOff, YOff, TextObj) | ^ rect.c:601:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | int FindGoodXBm(XOff, YOff, XBmObj) | ^ rect.c:623:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | int FindGoodXPm(XOff, YOff, XPmObj) | ^ rect.c:645:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | int FindGoodBox(XOff, YOff, BoxObj) | ^ rect.c:686:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | int FindGoodRCBox(XOff, YOff, RCBoxObj) | ^ rect.c:742:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | int FindGoodOval(XOff, YOff, OvalObj) | ^ rect.c:807:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | int FindGoodPoly(XOff, YOff, PolyObj) | ^ rect.c:905:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | int FindGoodPolygon(XOff, YOff, PolygonObj) | ^ rect.c:939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | int PointInFlatPie(Y,dir,angle,ov_int_y1,ov_int_y2,rad_int_y1,rad_int_y2) | ^ rect.c:1013:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | int PointInTallPie(X,dir,angle,ov_int_x1,ov_int_x2,rad_int_x1,rad_int_x2) | ^ rect.c:1087:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | int XInPieRange(X, dir, angle, cx, rx) | ^ rect.c:1115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | int YInPieRange(Y, dir, angle, cy, ry) | ^ rect.c:1142:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | int FindGoodArc(XOff, YOff, ArcObj) | ^ rect.c:1898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | int FindGoodObj(XOff, YOff, FirstObj, SubObj, ImmediateChildObj) | ^ --- rcbox.o --- 16 warnings generated. --- remote.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c remote.c --- poly.o --- 54 warnings generated. --- rm_intrf.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c rm_intrf.c --- remote.o --- remote.c:96:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | int UpdateDownloadStats(bytes, psz_buf) | ^ remote.c:175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | int GetClientID(psz_buf, buf_sz) | ^ remote.c:197:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | void GetUserAgent(buf, buf_sz) | ^ remote.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | void SetUserAgent(buf) | ^ remote.c:219:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | int GetUserID(psz_buf, buf_sz) | ^ remote.c:297:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | int GetPageNumFromPageSpec(psz_spec, pn_page_num) | ^ remote.c:325:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | void FreeRemoteBuf(psz_buf) | ^ remote.c:332:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | int ParseURL(url, protocol, host, port, path) | ^ remote.c:373:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | void DumpURL(host, port, path) | ^ remote.c:384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | int DirIsRemote(psz_dir) | ^ remote.c:403:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | int FileIsRemote(psz_file) | ^ remote.c:409:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | int UrlIsHtml(psz_url) | ^ remote.c:421:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | int FormLocalName(psz_file, psz_def_ext, psz_return) | ^ remote.c:447:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | int FormRemoteName(psz_file, psz_def_ext, psz_return) | ^ remote.c:469:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | int FormNewFileName(psz_dir, psz_file, psz_def_ext, psz_return, ppsz_page_spec) | ^ remote.c:539:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | void ShowRemoteStatus(psz_msg) | ^ remote.c:549:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | char *WriteRemoteFileIntoTemp(psz_buf, buf_sz, psz_ext) | ^ remote.c:603:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | int TgifCompressedUrl(url) | ^ remote.c:647:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | void UncompressTgifFile(url, ppsz_buf, pn_buf_sz, pn_html) | ^ remote.c:725:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | char *GetProxyHostAndPort(proxy_spec, def_port, pn_port) | ^ remote.c:758:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | int LoadHttpIntoMem(url, host, port, path, ppsz_buf, ppsz_content_type, | ^ remote.c:878:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | int LoadFtpIntoMem(url, host, port, path, ppsz_buf, ppsz_content_type, | ^ remote.c:984:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | void ResetRemoteBuf(ppsz_buf, ppsz_content_type, pn_buf_sz, pn_html) | ^ remote.c:1004:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | int LoadForwardedFileInMem(url, ppsz_buf, ppsz_content_type, pn_buf_sz, | ^ remote.c:1051:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | char *ParseAuthFields(psz_scheme) | ^ remote.c:1073:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | int LoadAuthenticatedFileInMem(url, host, port, ppsz_buf, ppsz_content_type, | ^ remote.c:1178:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | int LoadRemoteFileInMem(url, ppsz_buf, ppsz_content_type, pn_buf_sz, pn_html, | ^ remote.c:1277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | void LaunchViewer(launch_remote_file, psz_viewer, psz_url, | ^ remote.c:1328:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1328 | void AddAMimeType(main_type, sub_type) | ^ remote.c:1343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | void AddAMailCap(main_type, sub_type, cmd, params) | ^ remote.c:1553:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | void MalformedMailCapEntryMessage(mail_cap_ptr) | ^ remote.c:1568:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | char *GetContentValue(name, params) | ^ remote.c:1601:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- rect.o --- 43 warnings generated. --- rm_intrf.o --- rm_intrf.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | int GetEntryPointFailed(psz_funcname) | ^ --- remote.o --- 1601 | char *GetMimeViewer(psz_content_type) | ^ --- rm_intrf.o --- rm_intrf.c:106:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | int ParseInterfaceVersion(buf, pivi) | ^ --- remote.o --- remote.c:1746:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- rm_intrf.o --- rm_intrf.c:144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | int RMCastInterface1Init(pivi) | ^ --- remote.o --- 1746 | int SaveTmpURLToFile(psz_url, no_viewer_found, tmp_fname, new_file_name) | ^ remote.c:1798:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1798 | int UseMimeViewer(psz_url, psz_content_type, tmp_fname) | ^ --- rm_intrf.o --- rm_intrf.c:369:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | void RM_getVersion(buf, buf_sz) | ^ --- remote.o --- remote.c:1874:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1874 | char *GetViewer(ext_str) | ^ --- rm_intrf.o --- rm_intrf.c:393:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | int RM_joinGroup(group, port) | ^ rm_intrf.c:406:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | void RM_leaveGroup(sock, group) | ^ rm_intrf.c:428:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | int RM_sendto(socket, buffer, buffsize) | ^ --- remote.o --- remote.c:1956:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- rm_intrf.o --- rm_intrf.c:441:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | int RM_recv(socket, buffer, buffsize) | ^ --- remote.o --- 1956 | int UseViewer(psz_url, psz_content_type, tmp_fname) | ^ remote.c:2011:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- rm_intrf.o --- rm_intrf.c:454:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- remote.o --- 2011 | int UseExternalViewer(is_html, psz_url, psz_content_type, tmp_fname) | ^ --- rm_intrf.o --- 454 | int RM_getCurStatus(group, port, c) | ^ rm_intrf.c:468:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | int RM_sendCurStatus(connfd, buff, buffsize) | ^ rm_intrf.c:481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | int RM_readConfigFile(filename, show_config_file) | ^ rm_intrf.c:482:20: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] --- remote.o --- remote.c:2059:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- rm_intrf.o --- 482 | char *filename, show_config_file; | ^ ./rm_intrf.e:113:51: note: previous declaration is here --- remote.o --- 2059 | int LoadRemoteFileFromMem(psz_url, psz_buf, psz_content_type, buf_sz, is_html) | ^ --- rm_intrf.o --- 113 | char show_config_file)); | ^ rm_intrf.c:494:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | void RM_getOption(opt, return_value) | ^ --- remote.o --- remote.c:2097:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | void ModifyProxy(proxy_host) | ^ --- rm_intrf.o --- rm_intrf.c:506:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | void RM_setOption(opt, optvalue) | ^ rm_intrf.c:518:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | int RM_setHostDelay(hostname, estimated_one_way_delay) | ^ rm_intrf.c:532:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | int RM_getHostDelay(hostname, estimated_one_way_delay) | ^ --- ruler.o --- --- rm_intrf.o --- rm_intrf.c:546:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | void RMDEBUG_setpidip(pid, ip) | ^ rm_intrf.c:558:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | void RMDEBUG_setsn(sn) | ^ --- ruler.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c ruler.c --- rm_intrf.o --- 18 warnings generated. --- scroll.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c scroll.c --- ruler.o --- ruler.c:90:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | void GetUnitSpec(buf) | ^ ruler.c:119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | int BadUnit(spec) | ^ ruler.c:130:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | int VerifyFormatUnitStr(format_unit_str) | ^ ruler.c:167:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | int SetUnit(spec) | ^ ruler.c:284:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | void PixelToMeasurementUnit(Buf, NumPixels) | ^ ruler.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | void SquarePixelToMeasurementUnit(Buf, NumSquarePixels) | ^ ruler.c:337:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | void PixelToCurrentUnit(Buf, NumPixels) | ^ ruler.c:381:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | void GetRightMarginMarkVs(vs) | ^ ruler.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int PtInRightMarginMark(button_x, button_y) | ^ ruler.c:409:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | void RedrawRightMargin(dpy, win) | ^ ruler.c:448:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | void RedrawHRuler(dpy, win) | ^ ruler.c:518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | void DrawHRuleTick(XOff) | ^ ruler.c:525:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | void DrawVRuleTick(YOff) | ^ ruler.c:548:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | void RedrawVRuler(dpy, win) | ^ ruler.c:642:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | void MarkRulers(XOff, YOff) | ^ ruler.c:729:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | void GetCrossHairPosition(pnXOff, pnYOff, pnShown) | ^ ruler.c:773:33: warning: variable 'orig_grid_y' set but not used [-Wunused-but-set-variable] 773 | int prev_x=0, orig_grid_x=0, orig_grid_y=0, orig_right_margin=0; | ^ ruler.c:768:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | void ContinueMoveRightMarginMark(dpy, OrigX, OrigY) | ^ ruler.c:859:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | void RulersEventHandler(input) | ^ ruler.c:970:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | void BeginIntervalRulers(ltx, lty, rbx, rby) | ^ ruler.c:990:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | void DrawIntervalRulers(ltx, lty, rbx, rby, delta_str) | ^ ruler.c:1006:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | void EndIntervalRulers(x, y) | ^ ruler.c:1027:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | void StartShowMeasureCursor(XOff, YOff, Str, ExtraSpace) | ^ ruler.c:1060:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | void ShowMeasureCursor(XOff, YOff, Str, ExtraSpace) | ^ ruler.c:1100:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | void EndShowMeasureCursor(XOff, YOff, Str, ExtraSpace) | ^ ruler.c:1216:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | void SetMeasureTooltipBBox(msg) | ^ ruler.c:1260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | void DoIntervalMeasureTooltip(ltx, lty, rbx, rby, mdx, mdy, delta_str) | ^ ruler.c:1287:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | void StartMeasureTooltip(msg) | ^ ruler.c:1293:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | void SetMeasureTooltip(msg) | ^ ruler.c:1337:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | void EndMeasureTooltip(force) | ^ --- scroll.o --- scroll.c:73:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | int TgAnyButtonDown(dpy, win) | ^ scroll.c:86:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | int TgPressButtonLoop(dpy, win, pbbox, psbci) | ^ scroll.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int TgGetScrollHit(x, y, orientation, scroll_area_w, scroll_area_h, | ^ scroll.c:223:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | void TgDrawScrollBar(dpy, win, orientation, x_off, y_off, scroll_area_w, | ^ --- remote.o --- 40 warnings generated. --- scroll.o --- scroll.c:434:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | void GetMaxScrollOrigin(pn_orig_x, pn_orig_y) | ^ scroll.c:507:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | void ScrollTo(XOff, YOff) | ^ scroll.c:609:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | void ScrollUp(button_ev) | ^ scroll.c:665:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | void ForceScrollDown(ScrollAFullWindow) | ^ scroll.c:703:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | void ScrollDown(button_ev) | ^ scroll.c:719:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | int ScrollBtnCallback(pv_userdata) | ^ scroll.c:737:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | int DoSBarBtnScroll(dpy, win, scroll_page, scroll_dir, pbbox) | ^ scroll.c:770:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | void DragToInVSBar(lty, block_start, block_h) | ^ --- select.o --- --- scroll.o --- scroll.c:824:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | void DoDragInVSBar(btn_y, btn_offset) | ^ scroll.c:943:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | void VSBarHandler(button_ev) | ^ scroll.c:1001:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | void ScrollLeft(button_ev) | ^ scroll.c:1059:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | void ScrollRight(button_ev) | ^ scroll.c:1104:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | void DragToInHSBar(ltx, block_start, block_w) | ^ scroll.c:1158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | void DoDragInHSBar(btn_x, btn_offset) | ^ scroll.c:1277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | void HSBarHandler(button_ev) | ^ scroll.c:1335:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | void ScrollEventHandler(input) | ^ scroll.c:1441:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | void ScrollToSpecifiedOrigin(cur_page_num, orig_x, orig_y, zoom_scale, | ^ scroll.c:1512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | void SetOrigin(x, y, zoom_scale, zoomed_in) | ^ scroll.c:1521:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | void GetOrigin(pn_x, pn_y, pn_zoom_scale, pn_zoomed_in) | ^ --- select.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c select.c --- scroll.o --- scroll.c:1532:8: warning: comparison of array 'scrl_up_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1532 | if (scrl_up_bits == NULL) { } | ^~~~~~~~~~~~ ~~~~ scroll.c:1569:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | void ChangeScrollMode(ModeIndex) | ^ scroll.c:1576:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1576 | sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_SMOOTH_SCROLL)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ scroll.c:1576:26: note: treat the string as an argument to avoid this 1576 | sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_SMOOTH_SCROLL)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ scroll.c:1579:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1579 | sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_JUMP_SCROLL)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ scroll.c:1579:26: note: treat the string as an argument to avoid this 1579 | sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_JUMP_SCROLL)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ scroll.c:1582:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1582 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_UPD_WIN_SCROLL)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ scroll.c:1582:26: note: treat the string as an argument to avoid this 1582 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_UPD_WIN_SCROLL)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ scroll.c:1588:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | int RefreshScrollModeMenu(menu) | ^ scroll.c:1609:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | TgMenu *CreateScrollModeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ --- ruler.o --- 30 warnings generated. --- setup.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c setup.c --- select.o --- select.c:93:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | int GetObjCurved(ObjPtr) | ^ select.c:106:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | struct SelRec *SelectThisObject(ObjPtr) | ^ select.c:147:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | void CalcBBox(X1, Y1, X2, Y2, LtX, LtY, RbX, RbY) | ^ select.c:165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | void CalcVertexBBox(LtX, LtY, RbX, RbY) | ^ select.c:184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | void UnSelNonVertexObjs(highlight, no_locked_obj_only) | ^ select.c:229:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | void JustFreeSel(pTopSel, pBotSel) | ^ select.c:240:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | void UnlinkSel(pSel, ppTopSel, ppBotSel) | ^ select.c:255:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | struct SelRec *FindObjInSel(pObj, pTopSel, pBotSel) | ^ select.c:267:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | int PrependObjToSel(pObj, ppTopSel, ppBotSel) | ^ select.c:291:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | struct SelRec *AddObjIntoSel(pObj, pPrevSel, pNextSel, ppTopSel, ppBotSel) | ^ select.c:357:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | struct AttrRec *FindObjAttrWithName(ObjPtr, AttrName) | ^ select.c:423:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | struct ObjRec *FindAVertex(XOff, YOff, VIndex, AbsX, AbsY) | ^ select.c:499:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | int CandidatePortOwner(obj_ptr) | ^ select.c:515:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | struct ObjRec *FindAnObj(XOff, YOff, OwnerObj, ConnectObj, ReturnedObjName) | ^ select.c:525:8: warning: variable 'found_attr' set but not used [-Wunused-but-set-variable] 525 | int found_attr=FALSE; | ^ select.c:707:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | int VertexAlreadySelected(ObjPtr, VIndex, VSelPtr) | ^ select.c:727:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | struct SelRec *AlreadySelected(ObjPtr) | ^ select.c:740:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | void AddSel(PrevPtr, NextPtr, SelPtr) | ^ select.c:760:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | void AddNewSelObj(ObjPtr) | ^ select.c:799:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | void ExpandCurSelBBoxes(obj_ptr) | ^ select.c:821:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | void SetNoLockBBox(ObjPtr) | ^ select.c:908:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | struct VSelRec *SelectOneVertex(XOff, YOff) | ^ select.c:949:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | struct SelRec *SelectOneObj(XOff, YOff, ppInnerObj) | ^ select.c:978:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | int FindVertices(X1, Y1, X2, Y2, TopVSel, BotVSel, pn_struct_spline_msg) | ^ select.c:1101:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | struct SelRec *FindObjects(X1, Y1, X2, Y2, TopSel, BotSel) | ^ select.c:1124:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | void SelBox(window, gc, x1, y1, x2, y2) | ^ select.c:1144:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | struct ObjRec *PtInObjList(XOff, YOff, FirstObjPtr) | ^ select.c:1204:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | struct ObjRec *PtInSelected(XOff, YOff) | ^ select.c:1266:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | void ToggleVertexSelection(ObjPtr, VIndex, AbsX, AbsY, pn_struct_spline_msg) | ^ select.c:1404:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | void ToggleSelectedObjIfSelectedAlready(ObjPtr) | ^ select.c:1433:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | void ContinueSel(XOff, YOff, ShiftKeyDown) | ^ select.c:1630:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | void KeyPressInSelect(key_ev) | ^ select.c:1733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | int PtInObjAboveSelected(XOff, YOff) | ^ select.c:1760:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1760 | void Select(input) | ^ select.c:1871:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1871 | struct AttrRec *FindFileAttrWithName(AttrName) | ^ select.c:1928:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | struct AttrRec *FindAttrWithName(ObjPtr, AttrName, pp_top_owner) | ^ --- scroll.o --- 30 warnings generated. --- select.o --- select.c:2025:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | struct AttrRec *ValidAttrArg(c_ptr, obj_ptr, new_c_ptr) | ^ select.c:2060:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | int DoTeleport(teleport_attr) | ^ select.c:2219:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2219 | int DoPageTeleport(teleport_attr, do_by_page_name) | ^ select.c:2272:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2272 | void DoExecLoop(obj_ptr, exec_attr) | ^ select.c:2341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2341 | void Teleport(button_ev) | ^ select.c:2405:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2405 | void SelAllObj(high_light, ignore_slideshow) | ^ select.c:2435:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2435 | void PushTmpObj(ObjPtr) | ^ --- shape.o --- --- select.o --- select.c:2511:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2511 | void DeleteObjectInsteadOfVertex(obj_ptr) | ^ select.c:2563:64: warning: variable 'ssn' set but not used [-Wunused-but-set-variable] 2563 | int delete_it=FALSE, extra_vertex=FALSE, curved=(-1), ssn=0; | ^ select.c:2564:30: warning: variable 'ssmooth' set but not used [-Wunused-but-set-variable] 2564 | char *smooth=NULL, *ssmooth=NULL; | ^ select.c:2565:20: warning: variable 'ssvlist' set but not used [-Wunused-but-set-variable] 2565 | IntPoint *ssvlist=NULL; | ^ select.c:2737:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2737 | void GroupSingleObj(ForcePromoteAttrs) | ^ select.c:2765:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2765 | void GroupSelObj(highlight, record_cmd, redraw) | ^ --- shape.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c shape.c --- setup.o --- setup.c:295:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | void RegisterWM_DELETE_WINDOW(win) | ^ setup.c:303:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | int IsWM_DELETE_WINDOW(pXEvent) | ^ setup.c:445:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | void ComputeMainWinXY(MainWinX, MainWinY) | ^ setup.c:585:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | void Reconfigure(Forced) | ^ setup.c:672:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | int TgHandleCmdEvent(pXEv) | ^ setup.c:680:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | int TgIsCmdEvent(pXEv) | ^ setup.c:696:11: warning: variable 'win' set but not used [-Wunused-but-set-variable] 696 | Window win=(Window)0; | ^ setup.c:693:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | void HandleSelectionClear(input) | ^ setup.c:722:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | void DebugSelectRequest(property, target, level, msg) | ^ setup.c:750:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | void HandleSelectionRequest(input) | ^ setup.c:755:9: warning: variable 'time' set but not used [-Wunused-but-set-variable] 755 | Time time=(Time)0; | ^ setup.c:869:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | int mainWinEventHandler(input) | ^ setup.c:1043:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | int GetWMIconPixmap(pPixmap, pPixmapMask) | ^ setup.c:2571:8: warning: comparison of array 'btn1_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 2571 | if (btn1_bits == NULL) { } | ^~~~~~~~~ ~~~~ setup.c:2594:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2594 | void SetFileModified(modified) | ^ --- shape.o --- shape.c:120:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | char *GetShapeDesc(index) | ^ shape.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | int CreatePolygonShape(num_pts, has_smooth) | ^ shape.c:188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | int StartCreateShape(orig_x, orig_y) | ^ shape.c:248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | void CalcRegularPolygonVs(sides, vertex_at_right, start_degree, scale, | ^ shape.c:622:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | int CalcCreateShapeVs(end_x, end_y) | ^ shape.c:691:35: warning: variable 'side_h' set but not used [-Wunused-but-set-variable] 691 | int w, h, diam_y, radius_y, side_h; | ^ shape.c:658:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | void HighLightCreateShape(end_x, end_y, generate, pn_need_to_draw) | ^ shape.c:880:32: warning: variable 'side_h' set but not used [-Wunused-but-set-variable] 880 | int w, h, diam_y, radius_y, side_h, saved_cur_spline, saved_line_style; | ^ shape.c:992:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | void DoCursor(x, y, w, h, which) | ^ shape.c:1010:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | void ContinueCreateShape(orig_x, orig_y) | ^ shape.c:1127:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1127 | sprintf(gszMsgBox, TgLoadString(objFill==NONEPAT ? | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | STID_CREATE_SHADOW_SHAPE_NO_FILL : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1129 | STID_CREATE_SHADOW_SHAPE_TRAN_FILL)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ shape.c:1127:26: note: treat the string as an argument to avoid this 1127 | sprintf(gszMsgBox, TgLoadString(objFill==NONEPAT ? | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ shape.c:1170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | void ShapeSubMenu(nIndex) | ^ shape.c:1179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | void RefreshShapeMenu(menu) | ^ shape.c:1184:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | TgMenu *CreateShapeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ shape.c:1226:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | int ShapeMenu(X, Y, TrackMenubar) | ^ --- select.o --- 49 warnings generated. --- shortcut.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c shortcut.c --- shape.o --- 15 warnings generated. --- special.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c special.c --- setup.o --- 15 warnings generated. --- spline.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c spline.c --- shortcut.o --- shortcut.c:506:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | int FunctionKeySpec(buf, pn_code, pn_index_return) | ^ shortcut.c:784:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | int FetchShortCut(c, code, state, name, args, args_sz) | ^ shortcut.c:816:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | int FetchFuncKeyShortCut(c, code, state, name, args, args_sz) | ^ shortcut.c:859:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | int FetchCmdById(nCmdId, code, state, name, args) | ^ shortcut.c:880:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | int ValidShortCut(name, num_args, code, state) | ^ --- special.o --- special.c:98:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | struct ObjRec *CreatePinObj(obj_ptr1, obj_ptr2, sym_count) | ^ special.c:156:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | struct ObjRec *ReadSymbol(FP, FileType) | ^ special.c:223:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | struct ObjRec *GetObjRepresentation(PathName, SymName, FileType) | ^ special.c:270:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | unsigned int PlaceTopObj(ObjPtr, savedTopObj, savedBotObj) | ^ --- spline.o --- spline.c:62:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | int ReadSplineTightness(buf) | ^ --- special.o --- special.c:390:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | int UnMakeIconicOnInstantiate(obj_ptr) | ^ special.c:407:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- spline.o --- spline.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void CalcAutoRetractedArrowAttrBend(Style, X0, Y0, X2, Y2, X1, Y1) | ^ --- special.o --- 407 | int UnMakeIconicOnInstantiateDeleteAttrs(obj_ptr) | ^ --- spline.o --- spline.c:83:19: warning: variable 'len' set but not used [-Wunused-but-set-variable] 83 | double dx, dy, len, new_x, new_y; | ^ spline.c:100:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | void MidPoint(X1, Y1, X2, Y2, pd_mx, pd_my) | ^ spline.c:108:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | void SetAStructuredSplineTickMark(vs, num_pts, target_vs) | ^ spline.c:147:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | IntPoint *GetStructuredSplinePolyTickMarkVs(pn_N, obj_ptr, poly_ptr, | ^ --- special.o --- special.c:612:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | int ObjIsAPort(obj_ptr) | ^ special.c:719:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- spline.o --- spline.c:340:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- special.o --- 719 | void AddWireAttributes(poly_obj_ptr, signal_name, p_obbox, auto_center) | ^ --- spline.o --- 340 | IntPoint *MakeStructuredSplinePolyVertex(pn_N, ppszSmooth, NumVs, Vs) | ^ --- special.o --- special.c:764:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | int ChangeConnectionView(pravci) | ^ special.c:792:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | int HasConnAndDisConnViewObjSubObjs(obj_ptr, pccvi) | ^ special.c:844:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- spline.o --- spline.c:427:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | IntPoint *MakeStructuredSplinePolygonVertex(pn_N, ppszSmooth, NumVs, Vs) | ^ --- special.o --- 844 | int SetPortSignalName(port_obj, attr_ptr, attr_owner_obj, new_signal_name) | ^ special.c:881:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | void DoNameWire(automatic) | ^ --- spline.o --- spline.c:521:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | int AddSplinePt(N, MaxN, X, Y) | ^ spline.c:538:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | int AddDoubleSplinePt(N, MaxN, X, Y) | ^ --- special.o --- special.c:1060:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | void AddObjToAnchor(anchor, obj_ptr) | ^ --- spline.o --- spline.c:557:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | void SetSplineVs(N, MaxN, X1, Y1, X2, Y2, X3, Y3, X4, Y4) | ^ --- special.o --- special.c:1072:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | void AddBroadcastWireAttributes(poly_obj_ptr, signal_name, p_obbox, auto_center) | ^ --- spline.o --- spline.c:605:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | void SetDoubleSplineVs(N, MaxN, X1, Y1, X2, Y2, X3, Y3, X4, Y4) | ^ spline.c:652:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | XPoint *MakeSplinePolyVertex(Level, Curved, N, XOff, YOff, NumVs, Vs) | ^ --- special.o --- special.c:1101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | void DoNameBroadcastWire(signal_name, signal_name_diff) | ^ special.c:1197:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | void TrySetCommonSignalName(attr_ptr, pszSignalName, szSignalName, | ^ special.c:1216:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | int CheckPortsAndBroadcastObj(ppAnchor, pnAnchorIsPoly, pnNumPorts, | ^ special.c:1308:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1308 | sprintf(gszMsgBox, TgLoadString(STID_CONFLICT_SIG_NAME_ENT_NEW)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ --- spline.o --- spline.c:810:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | XPoint *MakeMultiSplinePolyVertex(Curved, N, Smooth, XOff, YOff, NumVs, Vs) | ^ --- special.o --- special.c:1308:29: note: treat the string as an argument to avoid this 1308 | sprintf(gszMsgBox, TgLoadString(STID_CONFLICT_SIG_NAME_ENT_NEW)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ special.c:1311:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1311 | sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' --- spline.o --- spline.c:885:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- special.o --- 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ special.c:1311:29: note: treat the string as an argument to avoid this --- spline.o --- 885 | XPoint *MakeSplinePolygonVertex(Level, Curved, N, XOff, YOff, NumVs, Vs) | ^ --- special.o --- 1311 | sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ special.c:1316:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1316 | sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ special.c:1316:26: note: treat the string as an argument to avoid this 1316 | sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ --- spline.o --- spline.c:955:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | XPoint *DoMakeDoubleIntSplinePolygonVertex(N, XOff, YOff, NumVs, Vs) | ^ spline.c:1038:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | XPoint *MakeMultiSplinePolygonVertex(Curved, N, Smooth, XOff, YOff, NumVs, Vs) | ^ --- special.o --- special.c:1413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | void DoNameOrClearAPort(which) | ^ special.c:1490:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1490 | void DoRenameOrClearSignalNameForAPort(which) | ^ --- spline.o --- spline.c:1133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | void OpenSetupMatrix(NumPts, Vs) | ^ --- special.o --- special.c:1538:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | void RenameOrClearSignalNameForAPort(which) | ^ --- spline.o --- spline.c:1170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | void TriGaussian(NumPts) | ^ --- special.o --- special.c:1579:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | int CheckPortsAndObj(ppAnchor, pnNumPorts) | ^ --- spline.o --- spline.c:1195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | void FreeMtxInfo(NumPts) | ^ spline.c:1214:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | IntPoint *OpenControlPts(NumPts, N) | ^ --- special.o --- special.c:1667:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1667 | void RenumberObjId(obj_ptr) --- spline.o --- spline.c:1254:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- special.o --- | ^ --- spline.o --- 1254 | XPoint *MakeIntSplinePolyVertex(N, CntrlN, CntrlVs, XOff, YOff, NumVs, Vs) | ^ --- special.o --- special.c:1805:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1805 | int MakeIconic(sym_path, record_cmd) | ^ --- spline.o --- spline.c:1302:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | void ClosedSetupMatrix(NumPts, Vs) | ^ spline.c:1358:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | void DoubleClosedSetupMatrix(NumPts, Vs) | ^ --- special.o --- special.c:1813:8: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1813 | int len, short_name, sym_ext_len, ltx, lty, rbx, rby, no_name=FALSE; | ^ special.c:1813:25: warning: variable 'sym_ext_len' set but not used [-Wunused-but-set-variable] --- spline.o --- spline.c:1464:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | void Gaussian(NumPts) | ^ --- special.o --- 1813 | int len, short_name, sym_ext_len, ltx, lty, rbx, rby, no_name=FALSE; | ^ --- spline.o --- spline.c:1534:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | IntPoint *ClosedControlPts(NumPts, N) | ^ spline.c:1565:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | DoublePoint *DoubleClosedControlPts(NumPts, N) | ^ spline.c:1595:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | XPoint *MakeIntSplinePolygonVertex(N, CntrlN, CntrlVs, XOff, YOff, NumVs, Vs) | ^ spline.c:1631:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | XPoint *MakeDoubleIntSplinePolygonVertex(N, CntrlN, CntrlVs, XOff, YOff, | ^ --- special.o --- special.c:1996:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | void AddLine(buf) | ^ --- spline.o --- spline.c:1681:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | void DumpCurvedPolyPoints(FP, Curved, NumPts, V, Indent) | ^ --- special.o --- special.c:2031:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2031 | void ImportAnAttr(obj_ptr, attr_line_num, fname) | ^ --- spline.o --- spline.c:1761:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | void DumpCurvedPolygonPoints(FP, Curved, NumPts, V, Indent) | ^ spline.c:1802:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1802 | void DumpMultiCurvedPolyPoints(FP, Smooth, Style, Curved, NumPts, V, Indent) | ^ --- special.o --- special.c:2227:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2227 | int OkayToImportNamedAttr(num_restricted, ppsz_restricted) | ^ special.c:2278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | void CreateLineInfo(status, attr_line_num) | ^ special.c:2299:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2299 | void DoImportNamedAttrs(fp, num_restricted, ppsz_restricted, pn_ok_count, | ^ special.c:2346:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | int ImportNamedAttrs(fp, obj_ptr, num_restricted, ppsz_restricted, fname) | ^ --- spline.o --- spline.c:1877:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | void DumpMultiCurvedPolygonPoints(FP, Smooth, Curved, NumPts, V, Indent) | ^ --- special.o --- special.c:2512:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2512 | int GetMergeSpec(obj_ptr, attr_name, pn_val, distance) | ^ special.c:3106:36: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3106 | sprintf(&buf[cur_len], gszMsgBox); | ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ special.c:3106:36: note: treat the string as an argument to avoid this 3106 | sprintf(&buf[cur_len], gszMsgBox); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ special.c:3143:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3143 | sprintf(gszMsgBox, TgLoadString(showWireSignalName ? | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3144 | STID_WILL_SHOW_WIRE_SIGNAL_NAME : STID_WILL_HIDE_WIRE_SIGNAL_NAME)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ special.c:3143:23: note: treat the string as an argument to avoid this 3143 | sprintf(gszMsgBox, TgLoadString(showWireSignalName ? | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' --- shortcut.o --- 5 warnings generated. --- special.o --- 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ special.c:3148:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3148 | int RefreshPortMenu(menu) | ^ special.c:3160:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3160 | TgMenu *CreatePortMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ special.c:3177:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3177 | void RefreshSpecialMenu(menu) | ^ special.c:3182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3182 | int SpecialMenu(X, Y, TrackMenubar) | ^ --- stk.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c stk.c stk.c:380:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | void RestoreFileInfo(StkPtr) | ^ 1 warning generated. --- stream.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c stream.c --- special.o --- 41 warnings generated. --- spline.o --- 33 warnings generated. --- stretch.o --- --- strtbl.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c strtbl.c --- stretch.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c stretch.c --- stream.o --- stream.c:172:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | void ResetMultipartReplace(redraw) | ^ stream.c:190:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | int IsJustLF(buf) | ^ stream.c:201:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | char *GetHeaderLine(psz_start, just_lf) | ^ stream.c:218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | int ValidMultipartReplace(buf, pn_multipart) | ^ stream.c:274:7: warning: variable 'ppsz' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis] 274 | ppsz++; | ^ stream.c:268:27: note: incremented here 268 | for ( ; *ppsz != NULL; ppsz++) { | ^ stream.c:258:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | int ValidImageContentType(buf, ppsz_filter) | ^ stream.c:286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | void UpdateBoundary(buf) | ^ stream.c:311:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | int FindBoundary(buf) | ^ stream.c:342:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | int GetContentLength(buf) | ^ stream.c:421:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | void ScanHeader(buf) | ^ stream.c:462:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | int GetContent(buf, buf_len, start_index, pici) | ^ stream.c:596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | void ScanBody(buf, pn_buf_len) | ^ stream.c:653:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | void HandleMultipartReplace(buf, pn_buf_len) | ^ stream.c:669:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | void FakeUserAgent(buf) | ^ stream.c:685:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 685 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_USERAGENT_FOR_HTTP)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ stream.c:685:29: note: treat the string as an argument to avoid this 685 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_USERAGENT_FOR_HTTP)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ stream.c:701:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 701 | sprintf(gszMsgBox, TgLoadString(STID_WILL_USE_DEF_USERAGENT_HTTP)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ stream.c:701:26: note: treat the string as an argument to avoid this 701 | sprintf(gszMsgBox, TgLoadString(STID_WILL_USE_DEF_USERAGENT_HTTP)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ stream.c:709:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | void FakeReferer(buf) | ^ stream.c:724:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 724 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_REFERRER_FOR_HTTP)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ stream.c:724:29: note: treat the string as an argument to avoid this 724 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_REFERRER_FOR_HTTP)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ stream.c:743:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 743 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_REFERRER_HTTP)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ stream.c:743:26: note: treat the string as an argument to avoid this 743 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_REFERRER_HTTP)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ stream.c:754:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 754 | sprintf(gszMsgBox, TgLoadString(gnHttpKeepAlive ? | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | STID_WILL_USE_KEEP_ALIVE_HTTP : STID_NOT_WILL_USE_KEEP_ALIVE_HTTP)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ stream.c:754:23: note: treat the string as an argument to avoid this 754 | sprintf(gszMsgBox, TgLoadString(gnHttpKeepAlive ? | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ --- strtbl.o --- strtbl.c:512:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | char *SetAndLoadCachedString(index) | ^ strtbl.c:529:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | char *TgLoadCachedString(nID) | ^ strtbl.c:3682:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3682 | char *TgLoadString(nID) | ^ strtbl.c:3754:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3754 | char *DistrDirectLoadString(nIndex) | ^ strtbl.c:3761:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3761 | char *AlignedLoadString(hori_align, vert_align) | ^ strtbl.c:3794:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3794 | char *HoriAlignLoadString(hori_align) | ^ strtbl.c:3807:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3807 | char *VertAlignLoadString(vert_align) | ^ strtbl.c:3840:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3840 | char *AlignDirectLoadString(nIndex) | ^ strtbl.c:3867:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3867 | char *AlignDirectToGridLoadString(nIndex) | ^ strtbl.c:3894:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3894 | char *AlignDirectToPageLoadString(nIndex) | ^ strtbl.c:3921:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3921 | char *AlignVerticesDirectToPageLoadString(nIndex) | ^ strtbl.c:3962:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3962 | void SetCurChoiceMouseStatusStrings(choice, left_is_none, obj_under_mouse, | ^ --- stretch.o --- stretch.c:91:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | int PtIn4Corners(XOff, YOff, BBox, Corner) | ^ stretch.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int PtIn8Places(XOff, YOff, BBox, Corner) | ^ stretch.c:144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | int PtInPolyMark(ObjPtr, XOff, YOff, NumPts, V, Index) | ^ --- strtbl.o --- strtbl.c:4156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4156 | void FreeChoiceQuickMouseStatusStrings(pmssr) | ^ strtbl.c:4201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4201 | void QuickSetMouseStatus(pmssr, index) --- stretch.o --- stretch.c:174:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- strtbl.o --- | ^ --- stretch.o --- 174 | int RetractedArrowAttr(obj_ptr) | ^ stretch.c:191:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- strtbl.o --- strtbl.c:4261:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4261 | void SetColorMouseStatusStrings(shift_or_cntrl_down, index) | ^ --- stretch.o --- 191 | int AutoRetractedArrowAttr(obj_ptr, check_v_count) | ^ stretch.c:218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | int AutoCenterAttr(obj_ptr) | ^ stretch.c:232:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- strtbl.o --- strtbl.c:4334:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- stretch.o --- 232 | void CenterObjInOBBox(TextObjPtr, OBBox, BBoxReturn) | ^ --- strtbl.o --- 4334 | char *PropLoadString(lWhich) | ^ --- stretch.o --- stretch.c:275:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | struct SelRec *PtInSelMark(XOff, YOff, Corner) | ^ --- strtbl.o --- strtbl.c:4399:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4399 | char *ExportFormatMenuLoadString(where_to_print, color_dump) | ^ --- stretch.o --- stretch.c:346:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | int HasOnReshape(obj_ptr, pp_name_attr) | ^ stretch.c:367:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | int SkipOnResize(obj_ptr) | ^ stretch.c:394:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | int HasOnResize(obj_ptr, pp_name_attr) | ^ stretch.c:414:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | char **NeedToProcessOnResize(pn_num_to_resize) | ^ stretch.c:444:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | struct ObjRec *FindObjWithOID(oid) | ^ stretch.c:458:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | void DoOnResize(ppsz_names, num_to_resize) | ^ stretch.c:505:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | int GetVlistIndexFromStretchStructuredSplineInfo(psssi, ss_index) | ^ stretch.c:519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | void DoStretchPolyMeasureCursor(start, num_pts, vs, index, dx, dy, erase, drag, | ^ stretch.c:608:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | void DoStretchStructSplineMeasureCursor(start, start_v, dx, dy, grid_x, grid_y) | ^ stretch.c:632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | void SetIPTInfoForStretchPoly(index, n, vs, psssi) | ^ --- stream.o --- 20 warnings generated. --- stretch.o --- stretch.c:817:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | void SetIPTInfoForStretchPolygon(index, n, vs, psssi) | ^ stretch.c:1024:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | void SetVsAndVs2ForHinge(psssi, dx, dy, pn_num_vs, vs, pn_num_vs2, vs2) | ^ stretch.c:1139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | void SetVsAndVs2ForSmooth(psssi, dx, dy, pn_num_vs, vs, pn_num_vs2, vs2) | ^ stretch.c:1288:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | void SetVsAndVs2ForStretchStructSpline(psssi, dx, dy, pn_num_vs, vs, pn_num_vs2, | ^ stretch.c:1301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | void FixUpSmoothAndSmooth2ForStretchStructSpline(num_vs, smooth, num_vs2, | ^ stretch.c:1317:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | void EraseHighLightForHinge(psssi, dx, dy, draw_dashed_line, draw_vertices) | ^ --- tangram2.o --- --- stretch.o --- stretch.c:1421:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | void EraseHighLightForSmooth(psssi, dx, dy, draw_dashed_line, draw_vertices) | ^ stretch.c:1571:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | void EraseHighLightForStretchStructSpline(psssi, dx, dy, draw_dashed_line, | ^ stretch.c:1583:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | XPoint *DupVs(pn_return, vs, n) | ^ stretch.c:1596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | void MoveATransformedPoint(obj_ptr, vs, abs_dx, abs_dy) | ^ stretch.c:1613:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | void UpdateObjForStretchStructSpline(obj_ptr, n, vs, abs_dx, abs_dy, psssi) | ^ --- tangram2.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tangram2.c --- stretch.o --- stretch.c:1799:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | void StretchStructSpline(XGridOff, YGridOff, ObjPtr, Index) | ^ stretch.c:2073:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2073 | void StretchPoly(XGridOff, YGridOff, ObjPtr, NumPts, V, Index) | ^ stretch.c:2414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2414 | void StretchedXY(X, Y, NewX, NewY) | ^ stretch.c:2426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2426 | void StretchedAbsXY(X, Y, NewX, NewY) | ^ stretch.c:2438:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2438 | void ShearedXY(Corner, x, y, dx_shear, dy_shear, dx_scale, dy_scale, | ^ stretch.c:2472:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2472 | void ShearedAbsXY(Corner, abs_x, abs_y, dx_shear, dy_shear, dx_scale, dy_scale, | ^ stretch.c:2506:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2506 | void SetPivot(Corner, pOBBox) | ^ stretch.c:2568:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2568 | void ShearObj(ObjPtr, Corner, dxShear, dyShear, dxScale, dyScale, | ^ stretch.c:2701:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2701 | void StretchSimpleText(ObjPtr, Corner) | ^ stretch.c:2765:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2765 | int CompoundObjHasTextSubObj(ObjPtr) | ^ stretch.c:2786:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2786 | void JustMoveSimpleCompoundObj(ObjPtr, Corner) | ^ stretch.c:2845:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2845 | void StretchAttr(ObjPtr, Corner, dxScale, dyScale, AutoCenterAttr) | ^ stretch.c:2910:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2910 | void StretchSimpleArc(ObjPtr) | ^ stretch.c:2950:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2950 | void StretchSimplePoly(ObjPtr) | ^ stretch.c:2982:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2982 | void StretchSimplePolygon(ObjPtr) | ^ stretch.c:3014:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3014 | void StretchSimpleObj(ObjPtr, Corner, dxScale, dyScale, FinalOBBox, | ^ stretch.c:3040:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3040 | void ScaleLineWidth(ObjPtr, dScale) | ^ stretch.c:3085:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3085 | void StretchObj(ObjPtr, Corner, dxScale, dyScale, ForceToUseCTM) | ^ stretch.c:3174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3174 | void StretchAllSelObjects(Corner, dxScale, dyScale) | ^ stretch.c:3205:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3205 | int ConstrainedStretchAllSel(Corner, ltx, lty, rbx, rby) | ^ stretch.c:3382:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3382 | void StretchAllSel(Corner, dxScale, dyScale) | ^ stretch.c:3431:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3431 | int DiagonalDistance(dx, dy) | ^ stretch.c:3440:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3440 | double DiagonalAngle(dx, dy) | ^ stretch.c:3450:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3450 | void GetMeasurement(ObjPtr, buf, buf1) | ^ stretch.c:3473:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3473 | void PointsToShearScale(Corner, x_pivot, y_pivot, x_move, y_move, | ^ stretch.c:3529:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3529 | void StretchBox(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:3733:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3733 | void StretchSel(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:3774:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3774 | void ScaleAnEPSObj(ObjPtr, ScalingFactor) | ^ stretch.c:3793:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3793 | void ScaleAllSelObjects(Corner, dxScale, dyScale) | ^ stretch.c:3816:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3816 | void ScaleAllSel(Corner, dxScale, dyScale, redraw) | ^ stretch.c:3869:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3869 | char *FindColon(s) | ^ stretch.c:3948:39: warning: variable 'prev_page_num' set but not used [-Wunused-but-set-variable] 3948 | int saved_cur_page_num=curPageNum, prev_page_num=curPageNum; | ^ stretch.c:4063:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4063 | void ScaleObjLikeScaleEverything(obj_ptr, scale, redraw) | ^ stretch.c:4137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4137 | void SizeAllSelObj(AbsW, AbsH) | ^ stretch.c:4181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4181 | void SizeAnObj(ObjPtr, TopOwner, AbsW, AbsH) | ^ stretch.c:4262:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4262 | void DoSizeAllSelToGivenWidthHeight(abs_w, abs_h, do_width, do_height) | ^ stretch.c:4324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4324 | void SizeAllSelToGivenWidthHeight(AbsW, AbsH) | ^ stretch.c:4330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4330 | void SizeAllSelToGivenWidth(AbsW) | ^ stretch.c:4336:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4336 | void SizeAllSelToGivenHeight(AbsH) | ^ stretch.c:4342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4342 | void FlipObjHorizontal(ObjPtr) | ^ stretch.c:4497:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4497 | void FlipIconHorizontal(ObjPtr) | ^ stretch.c:4525:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4525 | void FlipObjVertical(ObjPtr) | ^ stretch.c:4664:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4664 | void FlipIconVertical(ObjPtr) | ^ stretch.c:4698:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4698 | int OkToTransform(obj_ptr, stid) | ^ stretch.c:4729:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4729 | void SetRotatePivotByObject(ObjPtr) | ^ --- strtbl.o --- 17 warnings generated. --- stretch.o --- stretch.c:4737:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4737 | void RotatePtClockWise(X, Y, NewX, NewY) | ^ stretch.c:4745:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4745 | void RotatedXY(X, Y, AngleDelta, NewX, NewY) | ^ stretch.c:4764:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4764 | void RotatedAbsXY(X, Y, AngleDelta, NewX, NewY) | ^ stretch.c:4782:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4782 | void RotateObj(ObjPtr, Corner, AngleDelta, RealLtX, RealLtY) | ^ stretch.c:4889:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4889 | void RotateObjForLayout(ObjPtr, AngleInRadian, Corner) | ^ stretch.c:4900:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4900 | void RotateObjClockWise(ObjPtr) | ^ stretch.c:4922:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4922 | void RotateIconClockWise(ObjPtr) | ^ stretch.c:4949:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4949 | void RotatePtCounter(X, Y, NewX, NewY) | ^ stretch.c:4956:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4956 | void RotateObjCounter(ObjPtr) | ^ stretch.c:4978:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4978 | void RotateIconCounter(ObjPtr) | ^ stretch.c:5006:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5006 | void FlipAllSelHorizontal(saved_ltx, saved_lty, saved_rbx, saved_rby) | ^ --- tdgtbase.o --- --- stretch.o --- stretch.c:5066:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5066 | void FlipAllSelVertical(saved_ltx, saved_lty, saved_rbx, saved_rby) | ^ stretch.c:5231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5231 | void SetTextRotation(pszBuf) | ^ stretch.c:5270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5270 | void SetRotationIncrement(pszBuf) | ^ stretch.c:5309:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5309 | int IdentCTM(ctm1, ctm2) | ^ stretch.c:5319:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5319 | int SetObjCTM(ObjPtr, nTransformed, ctm) | ^ stretch.c:5386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5386 | void SetSelCTM(nTransformed, ctm) | ^ stretch.c:5434:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5434 | void RotateBBoxByAnAngle(bbox, d_angle, vs) | ^ stretch.c:5452:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5452 | void RotateVsByAnAngle(InVs, NumPts, d_angle, OutVs) | ^ stretch.c:5468:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5468 | void RotateAllSelObjects(Corner, AngleDelta) | ^ --- tdgtbase.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tdgtbase.c --- stretch.o --- stretch.c:5484:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5484 | int ConstrainedRotateAllSel(Corner, AngleDelta, ltx, lty, rbx, rby) | ^ stretch.c:5661:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5661 | void RotateAllSel(Corner, AngleDelta) | ^ stretch.c:5710:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5710 | void FormatAngleForRotate(buf, angle) | ^ stretch.c:5720:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5720 | void RotateSel(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:5967:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5967 | void ShearBBox(Corner, bbox, dx_shear, dy_shear, dx_scale, dy_scale, vs) | ^ stretch.c:6032:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6032 | void ShearVs(Corner, InVs, NumPts, dx_shear, dy_shear, dx_scale, dy_scale, | ^ stretch.c:6074:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6074 | void ShearAllSelObjects(Corner, dxShear, dyShear, dxScale, dyScale) | ^ stretch.c:6092:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6092 | int ConstrainedShearAllSel(Corner, dxShear, dyShear, dxScale, dyScale, | ^ stretch.c:6275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6275 | void ShearAllSel(Corner, dxShear, dyShear, dxScale, dyScale) | ^ stretch.c:6333:23: warning: variable 'shear_hori' set but not used [-Wunused-but-set-variable] 6333 | int shearing=TRUE, shear_hori=FALSE; | ^ stretch.c:6325:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6325 | void ShearSel(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:6465:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6465 | void RotateShearSel(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:6482:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6482 | int RefreshFlipRotateMenu(menu) | ^ stretch.c:6514:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6514 | TgMenu *CreateFlipRotateMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ stretch.c:6532:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6532 | void HighLightRotatePivotXY(abs_x, abs_y, Dir) | ^ stretch.c:6559:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6559 | void HighLightRotatePivot(Dir) | ^ stretch.c:6600:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6600 | int PtInRotatePivot(mouse_x, mouse_y) | ^ stretch.c:6620:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6620 | int RefreshMoveStdRotatePivotMenu(menu) | ^ stretch.c:6656:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6656 | TgMenu *CreateMoveStdRotatePivotMenu(parent_menu, x, y, menu_info, | ^ stretch.c:6674:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6674 | void RefreshAutoRotatePivotMenu(menu) | ^ stretch.c:6692:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6692 | TgMenu *CreateAutoRotatePivotMenu(parent_menu, x, y, menu_info, | ^ stretch.c:6719:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6719 | int AutoRotatePivotMenu(X, Y, TrackMenubar) | ^ stretch.c:6743:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6743 | int ReadRotatePivotInfo(buf) | ^ stretch.c:6771:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6771 | void ContinueMoveRotatePivot(OrigX, OrigY) | ^ stretch.c:6926:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6926 | IntPoint *GetPolyVertices(N, ObjPtr, NumPts, V, Curved, pn_need_to_free) | ^ stretch.c:7085:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7085 | void MoveRotatePivot(Corner) | ^ stretch.c:7138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7138 | void AutoRotatePivotSubMenu(index) | ^ stretch.c:7141:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 7141 | if (!autoRotatePivot == index) return; | ^ ~~ stretch.c:7141:8: note: add parentheses after the '!' to evaluate the comparison first 7141 | if (!autoRotatePivot == index) return; | ^ | ( ) stretch.c:7141:8: note: add parentheses around left hand side expression to silence this warning 7141 | if (!autoRotatePivot == index) return; | ^ | ( ) --- tangram2.o --- tangram2.c:129:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | int ValidTangram2CmdName(buf, len, pn_num_args) | ^ tangram2.c:150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | int ValidTangram2CmdId(nCmdId) | ^ tangram2.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int DoTangram2Cmd(nCmdId, args) | ^ tangram2.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | int FetchTangram2ShortCutNumArgs(index, pn_num_args) | ^ tangram2.c:190:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | int DoTangram2ShortCut(index, args) | ^ tangram2.c:220:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | ExecInfo *Tangram2GetExecInfo(func_name) | ^ tangram2.c:396:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | int BadAttr_Simulator(attr_name, cmd_name) | ^ tangram2.c:407:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | void ExecStartSimulator(obj_ptr, orig_cmd) | ^ tangram2.c:534:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | void ExecEndSimulator(obj_ptr, orig_cmd) | ^ tangram2.c:557:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | void AppendLinesToAttr(attr_ptr, ppsz_lines) | ^ tangram2.c:578:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | static void UpdateStateVars( soc, obj_ptr, ct_pack_in ) | ^ tangram2.c:754:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | int ParseFormat( format ) | ^ tangram2.c:797:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | int ParseStateVariable( buffer, symname, symvalue, symformat, | ^ tangram2.c:969:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | void SendStepInfo( soc, ct_pack_out ) | ^ tangram2.c:1143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | void ExecSimulateStep(obj_ptr, orig_cmd) | ^ tangram2.c:1243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | int RefreshTangram2Menu(menu) | ^ tangram2.c:1251:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | TgMenu *CreateTangram2Menu(parent_menu, x, y, menu_info, status_str_xlated) | ^ tangram2.c:1267:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | int Tangram2Menu(X, Y, TrackMenubar) | ^ tangram2.c:1529:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | struct ObjRec *createGenerateChainButton( dbglevel, maxstates, output ) | ^ tangram2.c:1595:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | struct ObjRec *createStartSimulatorButton( runs, event, trans, time, mode ) | ^ tangram2.c:1660:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | struct ObjRec *createSimulationStepButton( time, anim, delay, step ) | ^ tangram2.c:1756:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1756 | int parseArgs( args, dst, no_args, max_arg_length ) | ^ tangram2.c:1803:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1803 | void Tangram2GenerateChain( args ) | ^ tangram2.c:1812:26: warning: incompatible pointer types passing 'char[3][1024]' to parameter of type 'char *' [-Wincompatible-pointer-types] 1812 | if( !parseArgs( args, arg, 3, 1024 ) ) | ^~~ tangram2.c:1841:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | void Tangram2StartSimulator( args ) | ^ tangram2.c:1860:26: warning: incompatible pointer types passing 'char[12][1024]' to parameter of type 'char *' [-Wincompatible-pointer-types] 1860 | if( !parseArgs( args, arg, 12, 1024 ) ) | ^~~ tangram2.c:1955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | void Tangram2UpdateInitAttr(port_obj, signal_name) | ^ --- tdgtbase.o --- tdgtbase.c:66:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | void RedrawTdgtBase(pti) | ^ tdgtbase.c:104:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | int TdgtBaseEventHandler(pti, input, handling_pti) | ^ tdgtbase.c:151:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | int IsTdgtBaseEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtbase.c:185:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | void DestroyTdgtBase(pti) | ^ tdgtbase.c:198:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | void MapTdgtBase(pti) | ^ tdgtbase.c:228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | void TdgtBaseMoveResize(pti, x, y, w, h) | ^ tdgtbase.c:245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | int TdgtBaseSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtbase.c:266:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | void TdgtBaseReset(pTdgtBase) | ^ tdgtbase.c:286:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | TdgtBase *CreateTdgtBase(parent_win, parent_tidgetinfo, ctl_id, x, y, w, h, | ^ tdgtbase.c:340:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | int TdgtBaseSetText(pTdgtBase, str) | ^ tdgtbase.c:354:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | char *TdgtBaseGetText(pTdgtBase) | ^ tdgtbase.c:362:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | int TdgtBaseSetState(pTdgtBase, new_state) | ^ tdgtbase.c:377:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | int TdgtBaseGetState(pTdgtBase) | ^ tdgtbase.c:385:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | int TdgtBaseAddChild(pTdgtBase, pChildTidgetInfo) | ^ tdgtbase.c:394:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | void TdgtBaseWillHandleKeyPressEvents(pTdgtBase, | ^ tdgtbase.c:405:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | void TdgtBaseSetWmDeleteCallback(pTdgtBase, | ^ tdgtbase.c:416:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | void TdgtBaseSetFocusCallback(pTdgtBase, pf_focus_callback) | ^ 17 warnings generated. --- tdgtbmpl.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tdgtbmpl.c --- tangram2.o --- 27 warnings generated. --- tdgtbrow.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tdgtbrow.c --- tdgtbmpl.o --- tdgtbmpl.c:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | void FreeBmpListItemInfo(pblii) | ^ tdgtbmpl.c:111:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | int TdgtBmpListGetNumRows(pTdgtBmpList) | ^ tdgtbmpl.c:127:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | void RedrawTdgtBmpListItem(pTdgtBmpList, index, x, y, pblii) | ^ tdgtbmpl.c:174:8: warning: variable 'block_h' set but not used [-Wunused-but-set-variable] 174 | int block_h=0, block_start=0, scr_area_h=pTdgtBmpList->scr_win_info.h; | ^ tdgtbmpl.c:170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | void RedrawTdgtBmpListScrollWindow(pTdgtBmpList) | ^ tdgtbmpl.c:219:24: warning: variable 'pblii_next' set but not used [-Wunused-but-set-variable] 219 | BmpListItemInfo *pblii_next=NULL; | ^ tdgtbmpl.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void RedrawTdgtBmpListDspWindow(pTdgtBmpList) | ^ tdgtbmpl.c:239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | void RedrawTdgtBmpListBaseWindow(pTdgtBmpList) | ^ tdgtbmpl.c:254:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | void RedrawTdgtBmpList(pti) | ^ tdgtbmpl.c:271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | int TdgtBmpListScrollItemCallback(pv_userdata) | ^ tdgtbmpl.c:297:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | int TdgtBmpListScrollPageCallback(pv_userdata) | ^ tdgtbmpl.c:326:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | int DoTdgtBmpListBtnScroll(pTdgtBmpList, scroll_page, scr_dir, pbbox) | ^ tdgtbmpl.c:386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | void DoDragInTdgtBmpList(pTdgtBmpList, button_ev, btn_y, btn_offset) | ^ tdgtbmpl.c:490:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | void TdgtBmpListScrollHandler(pTdgtBmpList, button_ev) | ^ tdgtbmpl.c:560:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | int TdgtBmpListControlChar(pTdgtBmpList, key_ev, key_sym) | ^ tdgtbmpl.c:676:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | void SpecialKeyInTdgtBmpList(pTdgtBmpList, key_ev, key_sym, pn_changing, | ^ tdgtbmpl.c:698:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | int KeyPressInTdgtBmpList(pTdgtBmpList, key_ev, pn_changing, | ^ tdgtbmpl.c:763:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | int TdgtBmpListDspHandler(pTdgtBmpList, button_ev) | ^ tdgtbmpl.c:804:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | int ButtonPressInTdgtBmpList(pTdgtBmpList, button_ev) | ^ tdgtbmpl.c:827:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | int TdgtBmpListEventHandler(pti, input, handling_pti) | ^ tdgtbmpl.c:867:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | int IsTdgtBmpListEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtbmpl.c:884:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | void DestroyTdgtBmpList(pti) | ^ tdgtbmpl.c:897:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | void MapTdgtBmpList(pti) | ^ tdgtbmpl.c:932:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | void TdgtBmpListMoveResize(pti, x, y, w, h) | ^ tdgtbmpl.c:964:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | int HandleSelectNext(pTdgtBmpList, cmd_arg) | ^ tdgtbmpl.c:1053:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | int HandleGetCurSel(pTdgtBmpList, pn_selected_index) | ^ tdgtbmpl.c:1064:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | int HandleGetItem(pTdgtBmpList, index, ppblii) | ^ tdgtbmpl.c:1090:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | int TdgtBmpListSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtbmpl.c:1115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | void TdgtBmpListReset(pTdgtBmpList) | ^ tdgtbmpl.c:1126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | void TdgtBmpListCalcGeom(bmp_w, bmp_h, num_cols, num_visible_lines, gap, | ^ tdgtbmpl.c:1146:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | TdgtBmpList *CreateTdgtBmpList(parent_win, parent_tidgetinfo, ctl_id, x, y, | ^ tdgtbmpl.c:1231:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | int TdgtBmpListCleanUpEntries(pTdgtBmpList) | ^ tdgtbmpl.c:1255:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | int TdgtBmpListScrollToBottom(pTdgtBmpList) | ^ tdgtbmpl.c:1270:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | int TdgtBmpListAddItem(pTdgtBmpList, pblii) | ^ --- tdgtbrow.o --- tdgtbrow.c:65:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | void GetContentWH(pTdgtBtnRow, pn_content_w, pn_content_h) | ^ tdgtbrow.c:92:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | void RedrawTdgtBtnRow(pti) | ^ tdgtbrow.c:133:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | int TdgtBtnRowEventHandler(pti, input, handling_pti) | ^ tdgtbrow.c:164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | int IsTdgtBtnRowEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtbrow.c:187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | void DestroyTdgtBtnRow(pti) | ^ tdgtbrow.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void MapTdgtBtnRow(pti) | ^ tdgtbrow.c:231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | void TdgtBtnRowMoveResize(pti, x, y, w, h) | ^ tdgtbrow.c:269:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | int TdgtBtnRowSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtbrow.c:283:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | void TdgtBtnRowReset(pTdgtBtnRow) | ^ tdgtbrow.c:301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | void TdgtBtnRowCalcGeom(pTdgtBtnRow, pn_content_w, pn_content_h) | ^ tdgtbrow.c:316:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | TdgtBtnRow *CreateTdgtBtnRow(parent_win, parent_tidgetinfo, ctl_id, x, y, h_pad, | ^ tdgtbrow.c:366:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | int TdgtBtnRowAddBtn(pTdgtBtnRow, pTdgtBtn) | ^ --- tdgtbmpl.o --- 34 warnings generated. --- tdgtbtn.o --- --- tdgtbrow.o --- 12 warnings generated. --- tdgtbtn.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tdgtbtn.c --- tdgtdraw.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tdgtdraw.c --- tdgtbtn.o --- tdgtbtn.c:73:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | void CalcTdgtBtnDim(text, min_len, h_pad, v_pad, pn_width, pn_height) | ^ tdgtbtn.c:95:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | void DrawTdgtTextBtn(pTdgtBtn, pBBRec, str, len, down, pButtonFontInfo) | ^ tdgtbtn.c:121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | void RedrawTdgtBtn(pti) | ^ tdgtbtn.c:233:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | int ButtonPressInTdgtBtn(pTdgtBtn, button_ev, pn_changing, | ^ tdgtbtn.c:322:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | int TdgtBtnEventHandler(pti, input, handling_pti) | ^ tdgtbtn.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | int IsTdgtBtnEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtbtn.c:425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | void DestroyTdgtBtn(pti) | ^ tdgtbtn.c:438:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | void MapTdgtBtn(pti) | ^ tdgtbtn.c:459:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | void TdgtBtnMoveResize(pti, x, y, w, h) | ^ tdgtbtn.c:476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | int TdgtBtnSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtbtn.c:490:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | void TdgtBtnReset(pTdgtBtn) | ^ tdgtbtn.c:503:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | TdgtBtn *CreateTdgtBtn(parent_win, parent_tidgetinfo, ctl_id, x, y, w, h, h_pad, | ^ tdgtbtn.c:555:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- tdgtdraw.o --- tdgtdraw.c:68:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | void RedrawTdgtDraw(pti) | ^ --- tdgtbtn.o --- 555 | int TdgtBtnSetText(pTdgtBtn, str, pmosi) | ^ tdgtbtn.c:581:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- tdgtdraw.o --- tdgtdraw.c:105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- tdgtbtn.o --- 581 | char *TdgtBtnGetText(pTdgtBtn) | ^ --- tdgtdraw.o --- 105 | int TdgtDrawEventHandler(pti, input, handling_pti) | ^ --- tdgtbtn.o --- tdgtbtn.c:589:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | int TdgtBtnSetState(pTdgtBtn, new_state) | ^ tdgtbtn.c:604:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- tdgtdraw.o --- tdgtdraw.c:128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | int IsTdgtDrawEvent(pti, input, ppti_handler_tidget_return) --- tdgtbtn.o --- 604 | int TdgtBtnGetState(pTdgtBtn) | ^ --- tdgtdraw.o --- | ^ tdgtdraw.c:144:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | void DestroyTdgtDraw(pti) | ^ tdgtdraw.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | void MapTdgtDraw(pti) | ^ tdgtdraw.c:178:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | void TdgtDrawMoveResize(pti, x, y, w, h) | ^ tdgtdraw.c:195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | int TdgtDrawSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtdraw.c:211:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | void TdgtDrawReset(pTdgtDraw) | ^ tdgtdraw.c:223:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | TdgtDraw *CreateTdgtDraw(parent_win, parent_tidgetinfo, ctl_id, x, y, client_w, | ^ tdgtdraw.c:265:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | int TdgtDrawSetUserData(pTdgtDraw, pv_userdata) | ^ tdgtdraw.c:277:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | char *TdgtDrawGetUserData(pTdgtDraw) | ^ tdgtdraw.c:285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | int TdgtDrawSetState(pTdgtDraw, new_state) | ^ tdgtdraw.c:300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | int TdgtDrawGetState(pTdgtDraw) | ^ tdgtdraw.c:308:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | void TdgtDrawSetRedrawCallback(pTdgtDraw, pf_redraw_callback) | ^ tdgtdraw.c:317:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | void TdgtDrawSetEvHandlerCallback(pTdgtDraw, pf_ev_handler_callback) | ^ tdgtdraw.c:326:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | void TdgtDrawSetResetCallback(pTdgtDraw, pf_reset_callback) | ^ tdgtdraw.c:335:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | void TdgtDrawSetSendCmdCallback(pTdgtDraw, pf_sendcmd_callback) | ^ 17 warnings generated. --- tdgtlist.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tdgtlist.c --- tdgtbtn.o --- 16 warnings generated. --- tdgtmsg.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tdgtmsg.c --- tdgtlist.o --- tdgtlist.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void FreeListItemInfo(pListItemInfo) | ^ tdgtlist.c:96:22: warning: variable 'end' set but not used [-Wunused-but-set-variable] 96 | int len=0, top=0, end=0, checkbox_cols=0, text_left=0, box_offset=0, box_w=0; | ^ tdgtlist.c:90:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | void RedrawTdgtListItem(pTdgtList, index, pListItemInfo) | ^ tdgtlist.c:241:8: warning: variable 'block_h' set but not used [-Wunused-but-set-variable] 241 | int block_h=0, block_start=0; | ^ tdgtlist.c:236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | void RedrawTdgtListScrollWindow(pTdgtList) | ^ tdgtlist.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 RedrawTdgtListDspWindow(pTdgtList) | ^ tdgtlist.c:309:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | void RedrawTdgtListBaseWindow(pTdgtList) | ^ tdgtlist.c:324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | void RedrawTdgtList(pti) | ^ tdgtlist.c:342:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | int TdgtListScrollItemCallback(pv_userdata) | ^ tdgtlist.c:368:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | int TdgtListScrollPageCallback(pv_userdata) | ^ tdgtlist.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int DoTdgtListBtnScroll(pTdgtList, scroll_page, scr_dir, pbbox) | ^ tdgtlist.c:454:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | void DoDragInTdgtList(pTdgtList, button_ev, btn_y, btn_offset) | ^ tdgtlist.c:550:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | void TdgtListScrollHandler(pTdgtList, button_ev) | ^ tdgtlist.c:620:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | int TdgtListDspHandler(pTdgtList, button_ev) | ^ tdgtlist.c:649:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | int TdgtListControlChar(pTdgtList, key_ev, key_sym) | ^ tdgtlist.c:765:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | void SpecialKeyInTdgtList(pTdgtList, key_ev, key_sym, pn_changing, | ^ tdgtlist.c:788:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | int KeyPressInTdgtList(pTdgtList, key_ev, pn_changing, pn_selected_btn_index) | ^ tdgtlist.c:858:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | void ButtonPressInTdgtList(pTdgtList, button_ev, pn_changing, | ^ tdgtlist.c:879:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | int TdgtListEventHandler(pti, input, handling_pti) | ^ tdgtlist.c:908:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | int IsTdgtListEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtlist.c:926:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | void DestroyTdgtList(pti) | ^ tdgtlist.c:939:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | void MapTdgtList(pti) | ^ tdgtlist.c:972:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | void TdgtListMoveResize(pti, x, y, w, h) | ^ tdgtlist.c:1009:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | int TdgtListSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtlist.c:1023:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | void TdgtListReset(pTdgtList) | ^ tdgtlist.c:1043:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | void TdgtListCalcHeight(num_visible_lines, pn_content_h) | ^ tdgtlist.c:1051:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | TdgtList *CreateTdgtList(parent_win, parent_tidgetinfo, ctl_id, x, y, w, h_pad, | ^ tdgtlist.c:1123:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | int TdgtListCleanUpEntries(pTdgtList) | ^ tdgtlist.c:1143:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | int TdgtListUpdateEntries(pTdgtList) | ^ tdgtlist.c:1169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | int TdgtListScrollToBottom(pTdgtList) | ^ tdgtlist.c:1185:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | int TdgtListInsertString(pTdgtList, buf) | ^ --- tdgtmsg.o --- tdgtmsg.c:68:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | void TdgtMsgDrawCaption(pTdgtMsg) | ^ --- tdgtlist.o --- tdgtlist.c:1213:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | int TdgtListInsertListItemInfo(pTdgtList, pListItemInfo) | ^ --- tdgtmsg.o --- tdgtmsg.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | void RedrawTdgtMsg(pti) | ^ --- tdgtlist.o --- tdgtlist.c:1231:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- tdgtmsg.o --- tdgtmsg.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int TdgtMsgEventHandler(pti, input, handling_pti) | ^ --- tdgtlist.o --- 1231 | int TdgtListSetAutoScrollOnInsert(pTdgtList, auto_scroll_on_insert) | ^ tdgtlist.c:1239:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | int TdgtListGetAutoScrollOnInsert(pTdgtList) | ^ --- tdgtmsg.o --- tdgtmsg.c:187:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | int IsTdgtMsgEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtmsg.c:203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | void DestroyTdgtMsg(pti) | ^ tdgtmsg.c:216:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | void MapTdgtMsg(pti) | ^ tdgtmsg.c:237:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | void TdgtMsgMoveResize(pti, x, y, w, h) | ^ tdgtmsg.c:254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | int TdgtMsgSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtmsg.c:268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | void TdgtMsgReset(pTdgtMsg) | ^ tdgtmsg.c:277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | void TdgtMsgCalcGeom(caption, pn_w, pn_h) | ^ tdgtmsg.c:315:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | TdgtMsg *CreateTdgtMsg(parent_win, parent_tidgetinfo, ctl_id, x, y, h_pad, | ^ tdgtmsg.c:359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | int TdgtMsgSetText(pTdgtMsg, str) | ^ tdgtmsg.c:373:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | char *TdgtMsgGetText(pTdgtMsg) | ^ tdgtmsg.c:381:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | int TdgtMsgSetState(pTdgtMsg, new_state) | ^ tdgtmsg.c:396:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | int TdgtMsgGetState(pTdgtMsg) | ^ 15 warnings generated. --- tdgtsedt.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tdgtsedt.c --- stretch.o --- 122 warnings generated. --- tgif_dbg.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tgif_dbg.c --- tdgtlist.o --- 34 warnings generated. --- tgcwheel.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tgcwheel.c --- tdgtsedt.o --- tdgtsedt.c:88:8: warning: variable 'prev_too_long' set but not used [-Wunused-but-set-variable] 88 | int prev_too_long=INVALID, too_long=0, too_short=len, found=FALSE; | ^ tdgtsedt.c:77:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | char *TdgtSmplEditBinarySearch(caption, len, max_w, font_ptr, | ^ tdgtsedt.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void TdgtSmplEditDrawCaption(pTdgtSmplEdit) | ^ tdgtsedt.c:196:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | void RedrawTdgtSmplEdit(pti) | ^ tdgtsedt.c:232:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | int TdgtSmplEditEventHandler(pti, input, handling_pti) | ^ --- tgcwdl.o --- --- tdgtsedt.o --- tdgtsedt.c:313:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | int IsTdgtSmplEditEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtsedt.c:329:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | void DestroyTdgtSmplEdit(pti) | ^ tdgtsedt.c:342:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | void MapTdgtSmplEdit(pti) | ^ tdgtsedt.c:363:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | void TdgtSmplEditMoveResize(pti, x, y, w, h) | ^ tdgtsedt.c:386:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | int TdgtSmplEditSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtsedt.c:400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | void TdgtSmplEditReset(pTdgtSmplEdit) | ^ tdgtsedt.c:409:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | void TdgtSmplEditCalcHeight(font_style, pn_content_h) | ^ tdgtsedt.c:420:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | TdgtSmplEdit *CreateTdgtSmplEdit(parent_win, parent_tidgetinfo, ctl_id, x, y, | ^ tdgtsedt.c:468:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | int TdgtSmplEditSetText(pTdgtSmplEdit, str) | ^ tdgtsedt.c:491:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | char *TdgtSmplEditGetText(pTdgtSmplEdit) | ^ tdgtsedt.c:499:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | void TdgtSmplEditGetTextFormatInfo(pTdgtSmplEdit, pTextFormatInfo) | ^ tdgtsedt.c:518:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | int TdgtSmplEditSetColorIndex(pTdgtSmplEdit, color_index) | ^ tdgtsedt.c:533:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | int TdgtSmplEditGetColorIndex(pTdgtSmplEdit) | ^ tdgtsedt.c:541:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | int TdgtSmplEditSetFontStyle(pTdgtSmplEdit, font_style) | ^ tdgtsedt.c:556:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | int TdgtSmplEditGetFontStyle(pTdgtSmplEdit) | ^ tdgtsedt.c:564:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | int TdgtSmplEditAppendStr(pTdgtSmplEdit, buf, len) | ^ --- tgcwdl.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tgcwdl.c --- tdgtsedt.o --- tdgtsedt.c:592:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | int TdgtSmplEditDelLastChar(pTdgtSmplEdit) | ^ tdgtsedt.c:611:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | int TdgtSmplEditShowCursor(pTdgtSmplEdit, show) | ^ tdgtsedt.c:623:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | void TdgtSmplEditSetFocus(pTdgtSmplEdit, nSet) | ^ 24 warnings generated. --- tginssym.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tginssym.c --- tgcwheel.o --- tgcwheel.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | void TgColorWheel_CleanUp(dpy, win) | ^ tgcwheel.c:73:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | int TgColorWheel_Init(dpy, win, arg) | ^ tgcwheel.c:120:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | int TgColorWheel_SendKey(dpy, win, key_ev, buf) | ^ tgcwheel.c:127:8: warning: variable 'has_ch' set but not used [-Wunused-but-set-variable] 127 | int has_ch=0; | ^ tgcwheel.c:139:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | int TgColorWheel_HandleCntrlSpace(dpy, win) | ^ tgcwheel.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int TgColorWheel_HandleCreateText(dpy, win) | ^ 6 warnings generated. --- tgisdl.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tgisdl.c --- tgcwdl.o --- tgcwdl.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | void ClearAllControls(pTdgtBase) | ^ tgcwdl.c:155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | int RGBtoPixel(pcwdi, r, g, b) | ^ tgcwdl.c:165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | void PixeltoRGB(pcwdi, pixel, pn_r, pn_g, pn_b) | ^ tgcwdl.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | void HStoXY(pcwdi, h, s, pn_x, pn_y) | ^ tgcwdl.c:214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | void XYtoHS(pcwdi, x, y, pn_h, pn_s) | ^ tgcwdl.c:235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | void VtoY(pcwdi, v, pn_y) | ^ tgcwdl.c:249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | void YtoV(pcwdi, y, pn_v) | ^ tgcwdl.c:264:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | int SetupVPixmap(pcwdi) | ^ tgcwdl.c:316:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | void SetHSVFromRGB(pcwdi) | ^ tgcwdl.c:349:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | void SetRGBFromHSV(pcwdi) | ^ tgcwdl.c:383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | void SetColorNameFromRGB(pcwdi) | ^ tgcwdl.c:391:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | void SetPixelFromRGB(pcwdi) | ^ tgcwdl.c:401:47: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 401 | PixeltoRGB(pcwdi, colorPixels[colorIndex], &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:401:58: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 401 | PixeltoRGB(pcwdi, colorPixels[colorIndex], &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:401:69: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 401 | PixeltoRGB(pcwdi, colorPixels[colorIndex], &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int SetupColorsFromCurrentColor(pcwdi) | ^ tgcwdl.c:413:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | int AllHexChars(buf) | ^ tgcwdl.c:432:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | int SetColorInAppl(pTdgtBase) | ^ tgcwdl.c:458:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | void ColorWheelDlgRemoveFocus(pTdgtBase) | ^ tgcwdl.c:505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | void SetRGBControlValues(pTdgtBase) | ^ tgcwdl.c:520:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | void SetHSVControlValues(pTdgtBase) | ^ tgcwdl.c:535:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | void SetColorNameControlValue(pTdgtBase) | ^ tgcwdl.c:544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | void SetupControls(pTdgtBase) | ^ tgcwdl.c:553:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | void RedrawHSPixmapControlValues(pTdgtBase) | ^ tgcwdl.c:562:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | void RedrawVPixmapControlValues(pTdgtBase) | ^ tgcwdl.c:571:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | void RedrawRGBControlValues(pTdgtBase) | ^ tgcwdl.c:582:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | void RedrawHSVControlValues(pTdgtBase) | ^ tgcwdl.c:593:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | void RedrawColorNameControlValue(pTdgtBase) | ^ tgcwdl.c:602:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | void RedrawColorSampleControlValue(pTdgtBase) | ^ tgcwdl.c:615:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | void RedrawControls(pTdgtBase, skip) | ^ tgcwdl.c:632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | void HSDrawSeg(dpy, win, gc, pTdgtDraw, vs) | ^ tgcwdl.c:658:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | void HSRedrawCrosshair(pcwdi, pTdgtDraw) | ^ tgcwdl.c:698:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | void VDrawSeg(dpy, win, gc, pTdgtDraw, vs) | ^ tgcwdl.c:724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | void VRedrawLine(pcwdi, pTdgtDraw) | ^ tgcwdl.c:746:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | int HSRedrawCallback(pTdgtDraw) | ^ tgcwdl.c:772:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | int ClickInColorWheelHSPixmap(pTdgtDraw, button_ev) | ^ tgcwdl.c:811:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | int HSEvHandlerCallback(pTdgtDraw, pXEv) | ^ tgcwdl.c:828:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | int VRedrawCallback(pTdgtDraw) | ^ tgcwdl.c:854:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | int ClickInColorWheelVPixmap(pTdgtDraw, button_ev) | ^ tgcwdl.c:888:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | int VEvHandlerCallback(pTdgtDraw, pXEv) | ^ tgcwdl.c:905:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | int CSampleRedrawCallback(pTdgtDraw) | ^ tgcwdl.c:927:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | int ValidateNumber(buf, max, pn_val) | ^ tgcwdl.c:945:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | int ValidateRGB(pcwdi, pn_r, pn_g, pn_b) | ^ tgcwdl.c:971:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | int ValidateHSV(pcwdi, pn_h, pn_s, pn_v) | ^ tgcwdl.c:997:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | int ValidateColorName(pcwdi, pn_pixel) | ^ tgcwdl.c:1107:39: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 1107 | PixeltoRGB(pcwdi, pcwdi->pixel, &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:1107:50: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 1107 | PixeltoRGB(pcwdi, pcwdi->pixel, &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:1107:61: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 1107 | PixeltoRGB(pcwdi, pcwdi->pixel, &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:1023:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | int HandleCRorLF(pTdgtBase) | ^ tgcwdl.c:1120:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | int HandleTab(pTdgtBase) | ^ tgcwdl.c:1173:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | int HandleBackSpace(pTdgtBase) | ^ tgcwdl.c:1200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | int HandleCursorKey(pTdgtBase, key_sym) | ^ tgcwdl.c:1369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | int HandleChar(pTdgtBase, key_sym, buf, has_ch) | ^ tgcwdl.c:1420:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | int TdgtColorWheelDlgKeyPressEvHandlerCallback(pTdgtBase, pXEv) | ^ tgcwdl.c:1495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | int TdgtColorWheelDlgSetEntries(pti, dsp_ptr, entries, num_entries, marked_index) | ^ tgcwdl.c:1505:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | int TdgtColorWheelDlgSetMsg(pti, msg) | ^ tgcwdl.c:1513:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | void InitTdgtColorWheelDlgInfo(pti) | ^ tgcwdl.c:1543:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | int CreateColorWheelButtons(pTdgtBase) | ^ tgcwdl.c:1578:60: warning: variable 'cur_x' set but not used [-Wunused-but-set-variable] 1578 | int max_w=0, bottom=0, h_pad=pTdgtBase->pti->tci.h_pad, cur_x=0, cur_y=0; | ^ tgcwdl.c:1578:69: warning: variable 'cur_y' set but not used [-Wunused-but-set-variable] 1578 | int max_w=0, bottom=0, h_pad=pTdgtBase->pti->tci.h_pad, cur_x=0, cur_y=0; | ^ tgcwdl.c:1579:41: warning: variable 'end_y' set but not used [-Wunused-but-set-variable] 1579 | int v_pad=pTdgtBase->pti->tci.v_pad, end_y=0; | ^ tgcwdl.c:1573:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | void AdjustDialogBoxWidth(dpy, pTdgtBase) | ^ tgcwdl.c:1609:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | void TdgtColorWheelDlgWmDeleteCallback(pTdgtBase) | ^ tgcwdl.c:1620:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | int TdgtColorWheelDlgFocusCallback(pTdgtBase, cmd_type, cmd_arg, | ^ tgcwdl.c:1638:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | void AdjustDialogBoxSize(dpy, pTdgtBase) | ^ tgcwdl.c:1683:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1683 | int SetupHSPixmap(pcwdi) | ^ tgcwdl.c:1731:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | TidgetInfo *CreateTdgtColorWheelDialogBox(dpy, parent_win) | ^ tgcwdl.c:1743:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1743 | sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ tgcwdl.c:1743:26: note: treat the string as an argument to avoid this 1743 | sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ tgcwdl.c:1735:36: warning: variable 'h_pad' set but not used [-Wunused-but-set-variable] 1735 | int cur_x=0, cur_y=0, v_gap=20, h_pad=0, v_pad=0; | ^ tgcwdl.c:1735:45: warning: variable 'v_pad' set but not used [-Wunused-but-set-variable] 1735 | int cur_x=0, cur_y=0, v_gap=20, h_pad=0, v_pad=0; | ^ tgcwdl.c:2058:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | void DestroyTdgtColorWheelDialogBox(dpy, pti) | ^ tgcwdl.c:2076:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2076 | int HandleTdgtNotifyEvent(pTdgtBase, pTdgtNtfy) | ^ tgcwdl.c:2092:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2092 | int TdgtColorWheelDlgLoop(pti) | ^ --- tginssym.o --- tginssym.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | void TgInsertSymbol_CleanUp(dpy, win) | ^ tginssym.c:76:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | int TgInsertSymbol_Init(dpy, win, arg) | ^ tginssym.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | int TgInsertSymbol_SendKey(dpy, win, key_ev, buf) | ^ tginssym.c:153:8: warning: variable 'has_ch' set but not used [-Wunused-but-set-variable] 153 | int has_ch=0; | ^ tginssym.c:165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | int TgInsertSymbol_HandleCntrlSpace(dpy, win) | ^ tginssym.c:192:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | int TgInsertSymbol_HandleCreateText(dpy, win) | ^ 6 warnings generated. --- tgtwb5.o --- --- tgisdl.o --- tgisdl.c:91:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | void ClearAllControls(pTdgtBase) | ^ tgisdl.c:117:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | int InsertSymbolInAppl(pTdgtBase) | ^ --- tgtwb5.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tgtwb5.c --- tgisdl.o --- tgisdl.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | void InsertSymbolToggleSelected(pTdgtDraw) | ^ tgisdl.c:144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | int InsertSymbolSelectedValid(row, col) | ^ tgisdl.c:160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | void InsertSymbolDlgRemoveFocus(pTdgtBase) | ^ tgisdl.c:176:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | void SetupControls(pTdgtBase) | ^ tgisdl.c:182:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | void RedrawInsertSymbolPixmapControlValues(pTdgtBase) | ^ tgisdl.c:195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | void RedrawControls(pTdgtBase, skip) | ^ tgisdl.c:208:14: warning: variable 'pTdgtBase' set but not used [-Wunused-but-set-variable] 208 | TdgtBase *pTdgtBase=NULL; | ^ tgisdl.c:205:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | int HSRedrawCallback(pTdgtDraw) | ^ tgisdl.c:231:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | int GetRowCol(x, y, pn_row, pn_col) | ^ tgisdl.c:254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | int ClickInInsertSymbolPixmap(pTdgtDraw, button_ev) | ^ tgisdl.c:311:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | int HSEvHandlerCallback(pTdgtDraw, pXEv) | ^ tgisdl.c:328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | int HSSendCmdCallback(pTdgtDraw, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tgisdl.c:355:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | int HandleCRorLF(pTdgtBase) | ^ tgisdl.c:365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | int HandleTab(pTdgtBase) | ^ tgisdl.c:379:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | int HandleBackSpace(pTdgtBase) | ^ tgisdl.c:386:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | int HandleCursorKey(pTdgtBase, key_sym) | ^ tgisdl.c:493:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | int HandleChar(pTdgtBase, key_sym, buf, has_ch) | ^ tgisdl.c:507:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | int TdgtInsertSymbolDlgKeyPressEvHandlerCallback(pTdgtBase, pXEv) | ^ tgisdl.c:581:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | int TdgtInsertSymbolDlgSetEntries(pti, dsp_ptr, entries, num_entries, marked_index) | ^ tgisdl.c:591:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | int TdgtInsertSymbolDlgSetMsg(pti, msg) | ^ tgisdl.c:599:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | void InitTdgtInsertSymbolDlgInfo(pti) | ^ tgisdl.c:629:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | int CreateInsertSymbolButtons(pTdgtBase) | ^ tgisdl.c:664:60: warning: variable 'cur_x' set but not used [-Wunused-but-set-variable] 664 | int max_w=0, bottom=0, h_pad=pTdgtBase->pti->tci.h_pad, cur_x=0, cur_y=0; | ^ tgisdl.c:664:69: warning: variable 'cur_y' set but not used [-Wunused-but-set-variable] 664 | int max_w=0, bottom=0, h_pad=pTdgtBase->pti->tci.h_pad, cur_x=0, cur_y=0; | ^ tgisdl.c:665:41: warning: variable 'end_y' set but not used [-Wunused-but-set-variable] 665 | int v_pad=pTdgtBase->pti->tci.v_pad, end_y=0; | ^ tgisdl.c:659:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | void AdjustDialogBoxWidth(dpy, pTdgtBase) | ^ tgisdl.c:695:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | void TdgtInsertSymbolDlgWmDeleteCallback(pTdgtBase) | ^ tgisdl.c:706:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | int TdgtInsertSymbolDlgFocusCallback(pTdgtBase, cmd_type, cmd_arg, | ^ tgisdl.c:724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | void AdjustDialogBoxSize(dpy, pTdgtBase) | ^ tgisdl.c:769:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | int SetupInsertSymbolPixmap(pisdi) | ^ tgisdl.c:812:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | TidgetInfo *CreateTdgtInsertSymbolDialogBox(dpy, parent_win) | ^ tgisdl.c:824:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 824 | sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ tgisdl.c:824:26: note: treat the string as an argument to avoid this 824 | sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ tgisdl.c:816:36: warning: variable 'h_pad' set but not used [-Wunused-but-set-variable] 816 | int cur_x=0, cur_y=0, v_gap=20, h_pad=0, v_pad=0; | ^ tgisdl.c:816:45: warning: variable 'v_pad' set but not used [-Wunused-but-set-variable] 816 | int cur_x=0, cur_y=0, v_gap=20, h_pad=0, v_pad=0; | ^ tgisdl.c:817:41: warning: variable 'rgbhsv_width' set but not used [-Wunused-but-set-variable] 817 | int vh_padding=0, h_gap=14, end_y=0, rgbhsv_width=0; | ^ tgisdl.c:926:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | void DestroyTdgtInsertSymbolDialogBox(dpy, pti) | ^ tgisdl.c:944:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | int HandleTdgtNotifyEvent(pTdgtBase, pTdgtNtfy) | ^ tgisdl.c:960:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | int TdgtInsertSymbolDlgLoop(pti) | ^ 40 warnings generated. --- tgtwb5dl.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tgtwb5dl.c --- tgcwdl.o --- 73 warnings generated. --- tgtwb5xl.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tgtwb5xl.c --- tgtwb5.o --- tgtwb5.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | void Tgtwb5_CleanUp(dpy, win) | ^ tgtwb5.c:85:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | int Tgtwb5_Init(dpy, win, arg) | ^ tgtwb5.c:156:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | int Tgtwb5_SendKey(dpy, win, key_ev, buf) | ^ tgtwb5.c:163:8: warning: variable 'has_ch' set but not used [-Wunused-but-set-variable] 163 | int has_ch=0; | ^ tgtwb5.c:175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | int Tgtwb5_HandleCntrlSpace(dpy, win) | ^ tgtwb5.c:201:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | int Tgtwb5_HandleCreateText(dpy, win) | ^ 6 warnings generated. --- tidget.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tidget.c --- tgtwb5dl.o --- tgtwb5dl.c:118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | void ClearAllControls(pTdgtBase) | ^ tgtwb5dl.c:135:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | int SendSelectedCharToClient(pTdgtBase) | ^ tgtwb5dl.c:165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | int SendCRToClient(pTdgtBase) | ^ tgtwb5dl.c:181:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | int InvalidSequence(pTdgtBase) | ^ tgtwb5dl.c:196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | int Fill2ByteCharFromHexStringBuf(buf, pch16) | ^ tgtwb5dl.c:218:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | void FreeBitmapItemCallback(pblii) | ^ tgtwb5dl.c:300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | int DoLoadChars(pTdgtBase, buf, str16, num_char2bs) | ^ tgtwb5dl.c:395:10: warning: variable 'ppsz' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis] 395 | ppsz++; | ^ tgtwb5dl.c:390:45: note: incremented here 390 | for (ppsz=pinyin_gb2312; *ppsz!=NULL; ppsz++) { | ^ tgtwb5dl.c:404:10: warning: variable 'ppsz' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis] 404 | ppsz++; | ^ tgtwb5dl.c:399:46: note: incremented here 399 | for (ppsz=pinyin_et_big5; *ppsz!=NULL; ppsz++) { | ^ tgtwb5dl.c:379:8: warning: variable 'len' set but not used [-Wunused-but-set-variable] 379 | int len=0, str16_index=0, ok=TRUE; | ^ tgtwb5dl.c:374:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | int LoadChars(pTdgtBase, buf) | ^ tgtwb5dl.c:459:11: warning: variable 'ok' set but not used [-Wunused-but-set-variable] 459 | int ok=FALSE; | ^ tgtwb5dl.c:451:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | int FetchChars(pTdgtBase) | ^ tgtwb5dl.c:477:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | void ReverseZhuYenFuHao(index, pn_symbol_ltx, pn_symbol_lty) | ^ tgtwb5dl.c:495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | int ComposePinYin(pTdgtBase, buf, buf_sz) | ^ tgtwb5dl.c:569:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | void UpdateSpellingAndDpyControls(pTdgtBase) | ^ tgtwb5dl.c:595:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | int HandleBackSpace(pTdgtBase) | ^ tgtwb5dl.c:628:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | int ZyfhRedrawCallback(pTdgtDraw) | ^ tgtwb5dl.c:655:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | int GetZhuYenFuHao(pTdgtDraw, button_x, button_y, pn_symbol_ltx, pn_symbol_lty) | ^ tgtwb5dl.c:684:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | int ClickInZyfh(pTdgtDraw, button_ev) | ^ tgtwb5dl.c:770:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | int ZyfhEvHandlerCallback(pTdgtDraw, pXEv) | ^ tgtwb5dl.c:823:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | int ZyfhDpyRedrawCallback(pTdgtDraw) | ^ tgtwb5dl.c:875:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | int ZyfhDpySendCmdCallback(pTdgtDraw, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tgtwb5dl.c:903:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | int HandleCursorKey(pTdgtBase, key_sym) | ^ tgtwb5dl.c:939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | int HandleChar(pTdgtBase, key_sym, buf, has_ch) | ^ tgtwb5dl.c:962:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | int Tdgtb5DlgKeyPressEvHandlerCallback(pTdgtBase, pXEv) | ^ tgtwb5dl.c:1006:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | void Tdgtb5DlgWmDeleteCallback(pTdgtBase) | ^ tgtwb5dl.c:1019:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | int Tdgtb5DlgSetMsg(pti, msg) | ^ tgtwb5dl.c:1029:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | int Tdgtb5DlgSetEntries(pti, dsp_ptr, entries, num_entries, marked_index) | ^ tgtwb5dl.c:1041:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | void InitTdgtb5DlgInfo(pti) | ^ tgtwb5dl.c:1113:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | int CreateTgtwb5Buttons(pTdgtBase) | ^ tgtwb5dl.c:1150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | void AdjustDialogBoxWidth(dpy, pTdgtBase) | ^ tgtwb5dl.c:1198:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | void AdjustDialogBoxSize(dpy, pTdgtBase) | ^ tgtwb5dl.c:1242:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | TidgetInfo *CreateTdgtb5DialogBox(dpy, parent_win) | ^ tgtwb5dl.c:1387:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | void DestroyTdgtb5DialogBox(dpy, pti) | ^ tgtwb5dl.c:1405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | int HandleTdgtNotifyEvent(pTdgtBase, pTdgtNtfy) | ^ tgtwb5dl.c:1429:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | int Tdgtb5DlgLoop(pti) | ^ --- tcp.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c tcp.c --- tidget.o --- tidget.c:60:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | void TidgetWindowNotify(win, ctl_id, nf_type, nf_arg, nf_arg2) | ^ tidget.c:81:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | void TidgetNotify(pti, ctl_id, nf_type, nf_arg, nf_arg2) | ^ tidget.c:91:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | void DoTidgetControlNotify(pti, ctl_id, nf_type, nf_arg, nf_arg2) | ^ tidget.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | void TidgetControlNotify(pti, nf_type, nf_arg, nf_arg2) | ^ tidget.c:114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | int IsTdgtWindowNotifyEvent(win, pXEv, pTdgtNtfy) | ^ tidget.c:139:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | int IsTdgtNotifyEvent(pti, pXEv, pTdgtNtfy) | ^ tidget.c:149:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | void TidgetDrawFocusRect(pti, pswi) | ^ tidget.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | void RedrawTidget(pti) | ^ tidget.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | int TidgetEventHandler(pti, input, pti_handler_tidget) | ^ tidget.c:255:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | int IsTidgetEvent(pti, input, ppti_handler_tidget_return) | ^ tidget.c:290:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | void DestroyTidget(ppti) | ^ tidget.c:316:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | void SetTidgetInfoBasic(pti, tidget_type, tidget, parent_win, x, y, w, h, h_pad, | ^ tidget.c:345:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | void TidgetCanHaveChildren(pti, can_have_children) | ^ tidget.c:354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | void TidgetSetCallbacks(pti, pf_redraw_callback, pf_ev_handler_callback, | ^ tidget.c:377:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | TidgetInfo *NewTidgetInfo(parent_tidgetinfo, type, tidget, ctl_id, userdata) | ^ tidget.c:409:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | void MapTidget(pti) | ^ tidget.c:419:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | void TidgetMoveResize(pti, x, y, w, h) | ^ tidget.c:430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | void ResetTidgetCommon(ptci) | ^ tidget.c:450:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | int TidgetSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tidget.c:464:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | int TidgetDisableRedraw(pti, redraw_disabled) | ^ tidget.c:480:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | int TidgetSetDirty(pti, dirty) | ^ tidget.c:502:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | int TidgetSetHasFocus(has_focus) | ^ tidget.c:523:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | Window TidgetSetFocusWindow(win) | ^ tidget.c:535:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | int TidgetIsFocus(pti) | ^ tidget.c:545:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | void TidgetGetFontInfo(pnFontIndex, pnSzUnit) | ^ tidget.c:554:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | void TidgetGetFontInfoGivenStyle(font_style, pp_font_ptr, pn_font_width, | ^ tidget.c:638:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | int TidgetManagerHandleEvent(pXEv) | ^ tidget.c:662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | int TidgetManagerHandleAllKeyPressEvent(pXEv) | ^ tidget.c:692:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | int TidgetManagerSetWantAllKeyPressEvents(pti, want_all_key_press_events) | ^ --- tgtwb5dl.o --- 37 warnings generated. --- text.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c text.c --- tidget.o --- 29 warnings generated. --- util.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c util.c --- tcp.o --- tcp.c:48:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | void SetSocketBlockingState(pn_socket, n_blocking) | ^ tcp.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | void TcpFreeBuf(buf) | ^ tcp.c:78:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | void BrokenPipe(nSig) | ^ tcp.c:87:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | int TcpDoConnect(psz_host, us_port, pn_socket) | ^ tcp.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | int TcpDoWrite(n_socket, buf, buf_sz) | ^ tcp.c:205:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | int TcpDoRead(n_socket, ppsz_buf, pn_buf_sz) | ^ 6 warnings generated. --- version.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c version.c --- text.o --- text.c:128:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | void FreeDynStrBuf(dyn_str) | ^ text.c:136:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | void DynStrCpy(dest_dyn_str, src_dyn_str) | ^ text.c:171:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | struct DynStrRec *DynStrDup(dyn_str) | ^ text.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void DynStrSet(dest_dyn_str, buf) | ^ text.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void FreeStr(str_ptr) | ^ text.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | void FreeStrList(str_ptr) | ^ text.c:264:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | void InvalidateTextCache(text_ptr) | ^ text.c:282:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | void TellTextCursorPosition(pnX, pnY) | ^ text.c:291:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | void BlurText(Win, gc, XOff, YOff, W, H) | ^ text.c:391:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | void SetEditTextArea(w, h, min_lbearing, max_rextra) | ^ text.c:404:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | void UpdateEditTextArea(w, h, min_lbearing, max_rextra) | ^ text.c:437:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | void AdjTextVerticalShift(clean_bbox) | ^ text.c:556:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | void FreeTextObj(ObjPtr) | ^ text.c:588:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | void SetEditTextSizeValue(new_edit_text_size) | ^ text.c:595:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | void UpdateTextInfoChoices(forced) | ^ text.c:706:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | void RestoreStrSegFromUsingEditTextSize(pStrSeg, pUserData) | ^ text.c:714:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | void SaveStrSegToUseEditTextSize(pStrSeg, pUserData) | ^ text.c:722:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | int RestoreEditTextSize(obj_ptr, restore) | ^ text.c:779:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | void EndChangeCurText(clean_bbox) | ^ text.c:963:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | void RedrawAreasInCreateText(ltx1, lty1, rbx1, rby1, ltx2, lty2, rbx2, rby2) | ^ text.c:984:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | int CreateTextObj(nDeactivateIM, nRedraw) | ^ text.c:992:49: warning: variable 'scr_ltx' set but not used [-Wunused-but-set-variable] 992 | int num_lines=0, ltx=0, lty=0, rbx=0, rby=0, scr_ltx=0, scr_lty=0; | ^ text.c:992:60: warning: variable 'scr_lty' set but not used [-Wunused-but-set-variable] 992 | int num_lines=0, ltx=0, lty=0, rbx=0, rby=0, scr_ltx=0, scr_lty=0; | ^ text.c:1325:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | int CanAdvanceRight(pStrBlock, nIndex) | ^ text.c:1354:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | int CanAdvanceLeft(pStrBlock, nIndex) | ^ text.c:1382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | int AtBeginningOfInheritedAttrValue(obj_ptr, pStrBlock, nIndex) | ^ text.c:1423:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | int PrepareEditExistingText(obj_ptr, abs_x, abs_y, x_off, y_off) | ^ text.c:1565:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | int BeginAdvance(drag, dir, ppStrBlock, pnCurIndex) | ^ text.c:1597:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | void EndAdvance(position_end, pStrBlock, nCurIndex) | ^ text.c:1613:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | int PartOfAWord(double_byte, ch) | ^ text.c:1652:11: warning: comparison of array 'text_cur_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1652 | if (text_cur_bits == NULL) { } /* no compiler warning */ | ^~~~~~~~~~~~~ ~~~~ text.c:1627:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | int GetCursorPositionInCurText(x_off, y_off, use_abs, pn_abs_dx, | ^ text.c:1668:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | void HandleClickOnCanvas(x_off, y_off) | ^ text.c:1721:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | void AdvanceForDoubleClickOnWord(double_byte) | ^ --- util.o --- util.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | void UtilFree(pszStr) | ^ util.c:50:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | char *UtilFreeStringArray(ppsz, nItems) | ^ --- text.o --- text.c:1765:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1765 | void SetTextIndices(drag, x_off, y_off, pressed_in_same_text) | ^ --- util.o --- util.c:64:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | char *UtilStrDup(pszStr) | ^ --- text.o --- text.c:1819:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | void AdvanceStrBlockToParentBlock(advance_left, position_end) | ^ text.c:1868:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | int FindStrBlockPosInMiniline(pMiniline, pStrBlockTarget, pnPos) | ^ text.c:1887:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | int FindStrBlockPosInMinilines(pMinilines, pStrBlockTarget) | ^ --- util.o --- util.c:76:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | int UtilStrCpyN(pszDest, nMaxDestSz, pszSrc) | ^ util.c:92:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | int UtilStrCpy(pszDest, pszSrc) | ^ util.c:106:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | void UtilLeftTrim(pszStr) | ^ util.c:124:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | void UtilRightTrim(pszStr) | ^ util.c:141:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | void UtilTrimBlanks(pszStr) | ^ util.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | void UtilStrUpper(psz) | ^ util.c:179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | void UtilStrLower(psz) | ^ util.c:189:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | int UtilStrNCaseCmp(pszStr1, pszStr2, nCount) | ^ util.c:208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | int UtilStrICmp(pszStr1, pszStr2) | ^ util.c:228:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | char *UtilStrRChr(pszStr, int_ch) | ^ util.c:243:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | char *UtilStrTok(pszStr, pszDelim, ppszState) | ^ --- text.o --- text.c:2038:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2038 | void AdjustTextHighlight(drag, saved_text_highlight, | ^ text.c:2070:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | void HandleClickOnText(drag, from_cursor_keys, x_off, y_off, | ^ text.c:2109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | void HandleButton(Button_Ev) | ^ text.c:2196:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | void AdvanceRight(drag) | ^ text.c:2257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2257 | void AdvanceLeft(drag) | ^ --- util.o --- util.c:307:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | int UtilShrinkName(pszFile) | ^ util.c:370:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | void UtilRemoveQuotes(pszStr) | ^ --- text.o --- text.c:2396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2396 | void HandleCRLF(key_ev) | ^ --- util.o --- util.c:396:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | char *UtilGetALine(pFile) | ^ --- text.o --- text.c:2437:20: warning: variable 'attr_ptr' set but not used [-Wunused-but-set-variable] 2437 | struct AttrRec *attr_ptr=NULL; | ^ text.c:2431:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | void HandleBS(key_ev, buf, key_sym, pn_has_char) | ^ --- util.o --- util.c:439:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | char *UtilGetAContinuedLine(pFile) | ^ --- text.o --- text.c:2522:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2522 | int InsertSingleByteCharIntoCurText(Str) | ^ --- util.o --- util.c:470:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | int UtilCopyFile(pszFromFile, pszToFile) | ^ --- text.o --- text.c:2584:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2584 | int InsertCharIntoCurText(Str, double_byte) | ^ --- util.o --- util.c:508:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | int UtilConcatFile(pszFromFile1, pszFromFile2, pszToFile) | ^ --- text.o --- text.c:2645:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2645 | int SwitchToSingleOrDoubleByteFont(pStrSeg) | ^ text.c:2712:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | int SwitchToSingleByteFont(pStrSeg) | ^ text.c:2718:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2718 | int SwitchToDoubleByteFont(pStrSeg) | ^ text.c:2725:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2725 | void AdvanceEnd(drag) | ^ text.c:2756:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2756 | void HandleEnd(drag) | ^ --- util.o --- util.c:561:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | int UtilPathExists(pszPath) | ^ util.c:569:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | int UtilPathIsLink(pszPath) | ^ --- text.o --- text.c:2847:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2847 | void HandleChar(Str) | ^ --- util.o --- util.c:588:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | int UtilIsDirectory(pszPath) | ^ util.c:597:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- text.o --- text.c:2954:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- util.o --- 597 | int UtilCreateDirHier(pszDir) | ^ --- text.o --- 2954 | void HandleTAB(key_ev) | ^ text.c:3014:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3014 | void AdvanceHome(drag) | ^ text.c:3040:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3040 | void HandleHome(drag) | ^ text.c:3098:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3098 | void HandleLeft(key_ev) | ^ text.c:3134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3134 | void DoCycleTextCursorInScripts(direction) | ^ text.c:3227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3227 | void HandleUp(key_ev) | ^ text.c:3322:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3322 | void HandleRight(key_ev) | ^ text.c:3356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- util.o --- util.c:636:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | long ms_time(tv) | ^ util.c:643:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | long UtilGetMilliSecTime(pl_sec, pl_msec) | ^ --- text.o --- 3356 | void HandleDown(key_ev) | ^ text.c:3414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3414 | void DoHandleInputFromBuffer(cut_buffer) | ^ text.c:3468:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3468 | void HandleInputFromBuffer(cut_buffer) | ^ text.c:3500:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3500 | void HandleTextFromBuffer(key_ev, s, key_sym, has_ch) | ^ text.c:3765:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3765 | sprintf(gszMsgBox, TgLoadString(STID_COPY_FAIL_SEL_STR_MAY_TOO_LNG)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ text.c:3765:26: note: treat the string as an argument to avoid this 3765 | sprintf(gszMsgBox, TgLoadString(STID_COPY_FAIL_SEL_STR_MAY_TOO_LNG)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ text.c:3767:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3767 | sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ text.c:3767:26: note: treat the string as an argument to avoid this 3767 | sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ text.c:3774:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3774 | int HandleFunctionKey(key_sym) | ^ text.c:3818:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3818 | int HandleDoubleByteUTF8Chars(s, has_ch) | ^ text.c:3862:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3862 | void DrawText(input) | ^ text.c:3981:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3981 | void EditTextInAttr(attr_ptr) | ^ text.c:4017:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4017 | void DumpOneStr(FP, FontIndex, DoubleByte, DoubleByteModBytes, Str) | ^ text.c:4081:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4081 | void DrawTextObj(Win, XOff, YOff, ObjPtr) | ^ text.c:4087:11: warning: variable 'y' set but not used [-Wunused-but-set-variable] 4087 | int x, y, xinc=0, yinc=0, trans_pat=0, fill=0, pen=0; | ^ text.c:4087:14: warning: variable 'xinc' set but not used [-Wunused-but-set-variable] 4087 | int x, y, xinc=0, yinc=0, trans_pat=0, fill=0, pen=0; | ^ text.c:4087:22: warning: variable 'yinc' set but not used [-Wunused-but-set-variable] 4087 | int x, y, xinc=0, yinc=0, trans_pat=0, fill=0, pen=0; | ^ text.c:4221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4221 | int OldFontIndex(dpi_index, font_index, size_index, style_index) | ^ text.c:4235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4235 | void ReadTextSetFontStyleSzUnit(font_str, sb_font_str, style, sz_unit, | ^ text.c:4318:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4318 | void ReadTextSetCanvasFont(text_ptr, dpi, size, asc, des, double_byte, | ^ text.c:4371:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4371 | int ReadStrSeg(FP, ppStrSeg) | ^ text.c:4491:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4491 | int ReadStrBlock(FP, pOwnerMiniLine, ppStrBlock) | ^ text.c:4615:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4615 | int ReadMiniLine(FP, pOwnerMiniLines, ppMiniLine) | ^ text.c:4688:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4688 | int ReadMiniLines(FP, pOwnerBlock, ppMiniLines) | ^ text.c:4766:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4766 | int ReadTextLines(FP, ObjPtr, text_ptr, color_str, num_lines, has_ps_bitmap, | ^ text.c:5000:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5000 | void OldStyleRotateGetFinalOBBoxLtXY(ObjPtr, rotate, text_just, pnFinalLtX, | ^ text.c:5049:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5049 | void ReadTextObj(FP, Inbuf, ObjPtr) | ^ text.c:5799:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5799 | void AdjustCurText(XOff, YOff) | ^ text.c:5813:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5813 | void PrepareZoomCurText(AbsXc, AbsYc) | ^ text.c:5829:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5829 | void PostZoomCurText(AbsXc, AbsYc) | ^ text.c:5875:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5875 | void HighLightText(obj_ptr, pStartStrBlock, start_index, pEndStrBlock, | ^ text.c:5932:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5932 | int FindTextInCurTextObj(str_to_match, str_len, case_sensitive, | ^ text.c:5972:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5972 | int SetScriptFractionValue(spec) | ^ text.c:6084:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6084 | void DoInsertVerticalOffset(baseline_offset) | ^ text.c:6191:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6191 | MiniLinesInfo *CreateMinilinesForInsertScripts(type) | ^ text.c:6213:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6213 | void DetermineWhatToDoForLeftRightScripts(type, pnJustMove, | ^ text.c:6263:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6263 | void GetNewSize(pStrSeg, pn_new_size) | ^ text.c:6282:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6282 | int DoInsertLeftRightScripts(type, superscript) | ^ text.c:6401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6401 | void InsertLeftRightScripts(type, superscript) | ^ text.c:6458:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6458 | int DoInsertCenterScripts(superscript) | ^ text.c:6572:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6572 | void InsertCenterScripts(superscript) | ^ text.c:6599:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6599 | int RefreshEditTextMenu(menu) | ^ text.c:6628:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6628 | TgMenu *CreateEditTextMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ text.c:6645:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6645 | void DetermineWhatToDoForChangeProperty(lWhich, nValue, pStrBlock, nIndex, | ^ text.c:6682:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6682 | int ChangeEditTextPropertyAtCursor(lWhich, nValue) | ^ text.c:6773:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6773 | int ChangeEditTextProperty(lWhich, nValue) | ^ text.c:6895:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6895 | void PasteMiniLinesAtCursor(partial_text_obj_ptr) | ^ text.c:6982:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6982 | void DoMoveEditText(dx, dy) | ^ text.c:7011:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7011 | void ContinueMoveEditText(OrigX, OrigY) | ^ text.c:7086:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7086 | int MouseInCurText(input) | ^ text.c:7103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7103 | int MouseOnCurTextBoundary(input) | ^ text.c:7118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7118 | void MoveEditText(input) | ^ --- util.o --- 26 warnings generated. --- vms_comp.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c vms_comp.c --- wb.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c wb.c --- wb1.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c wb1.c --- wb.o --- wb.c:231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | void PrintFullIDsOfObjects(psz_prefix) | ^ wb.c:297:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | int RecvWBData(flag, ppsz_buf, pn_buf_sz) | ^ wb.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | void ProcessWBInputData(buf) | ^ wb.c:331:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | int WBHasReadData(pn_flag, pn_retry) | ^ wb.c:369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | int SendWBData(pszWBData, logical_clock) | ^ wb.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int SaveCmd(FP, CmdType, psi) | ^ wb.c:545:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | void PrepareExtendedSerializationInfo(CmdPtr, psi) | ^ wb.c:567:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | int SaveExtendedCmd(FP, CmdPtr, psi) | ^ wb.c:626:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | int SaveExtendedCmdInfo(FP, nNumCmds, nCurCmdPos) | ^ wb.c:652:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | char *SerializeCmd(CmdType, psi, pnAssignedLogicalClock, ppszPlainWBData, | ^ wb.c:801:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | void SerializeFreeBuf(pszWBData) | ^ wb.c:904:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | int ReadExtendedCmd(FP, Inbuf) | ^ wb.c:995:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | int ReadExtendedCmdInfo(FP, Inbuf) | ^ wb.c:1013:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | int ReadCmd(FP, Inbuf) | ^ wb.c:1103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | int ReadBeforeImage(FP, Inbuf) | ^ wb.c:1157:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | int ReadAfterPositions(FP, Inbuf) | ^ wb.c:1208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | int ReadAfterImage(FP, Inbuf) | ^ wb.c:1246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | void SelectObjects(top_obj, bot_obj) | ^ wb.c:1259:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | struct CmdRec *DeserializeCmd(psz_content_type, psz_buf, buf_sz, ppsz_plain_buf, | ^ wb.c:1465:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | int TotalOrderForTwo(older_cmd, newer_cmd) | ^ wb.c:1512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | void FindCmdInsertionPoint(cmd_to_insert, pp_immed_right_cmd) | ^ wb.c:1530:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | void FindShadowCmdInsertionPoint(cmd_to_insert, pp_immed_right_cmd) | ^ wb.c:1570:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | void CleanUpObsoletedWBCmds(stopped_cmd_ptr) | ^ wb.c:1601:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | void HandleChatLine(cmd_ptr) | ^ wb.c:1624:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | void ProcessRemoteCmd(psz_content_type, psz_buf, buf_sz) | ^ wb.c:1845:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | void PackCurrentTGWBState(p_cur_state) | ^ wb.c:2021:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2021 | int CheckUnpackState(read_status) | ^ wb.c:2050:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2050 | struct CmdRec *CreateCmdFromSerializedData(saved_top_obj, saved_bot_obj) | ^ wb.c:2100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2100 | int GetContentInfoFromBuf(buf, content_type_buf, content_type_buf_sz, | ^ wb.c:2147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2147 | int ReadPastWrapper(fp, pn_file_pos) | ^ wb.c:2167:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2167 | int ReadPastHeader(fp, pn_file_pos) | ^ wb.c:2215:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2215 | int ReadAheadOverACmd(fp, pn_file_pos) | ^ wb.c:2235:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2235 | char *ReReadCmd(fp, start_file_pos, end_file_pos, pn_buf_len) | ^ wb.c:2299:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2299 | sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_FAILED_NO_CONTTYPE)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ wb.c:2299:26: note: treat the string as an argument to avoid this 2299 | sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_FAILED_NO_CONTTYPE)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ wb.c:2528:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2528 | sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_PROGRESS_FAILED)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ wb.c:2528:26: note: treat the string as an argument to avoid this 2528 | sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_PROGRESS_FAILED)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ wb.c:2284:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2284 | void UnpackCurrentTGWBState(p_cur_state) | ^ --- wb2.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c wb2.c --- wb.o --- 36 warnings generated. --- wb3.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c wb3.c --- wb_buff.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c wb_buff.c --- wb_mcast.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c wb_mcast.c --- wb_buff.o --- wb_buff.c:355:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] 355 | int i; | ^ 1 warning generated. --- wb_seg.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c wb_seg.c --- text.o --- 111 warnings generated. --- xbitmap.o --- --- xpixmap.o --- --- xbitmap.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c xbitmap.c --- xpixmap.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c xpixmap.c --- xprtfltr.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c xprtfltr.c --- xbitmap.o --- xbitmap.c:163:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 163 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_HTML_TEMPLATE)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ xbitmap.c:163:26: note: treat the string as an argument to avoid this 163 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_HTML_TEMPLATE)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ xbitmap.c:188:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 188 | sprintf(gszMsgBox, TgLoadString(STID_NO_HTML_TEMPLATE_FILE)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ xbitmap.c:188:26: note: treat the string as an argument to avoid this 188 | sprintf(gszMsgBox, TgLoadString(STID_NO_HTML_TEMPLATE_FILE)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ xbitmap.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | int ReadHtmlExportTemplate(buf) | ^ xbitmap.c:237:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | void ParseExportPixelTrim(pszSpec, nInit) | ^ xbitmap.c:275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | void SetExportPixelTrim(cur_val_is_too_large) | ^ xbitmap.c:294:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | void SetXpmOutputVersion(xpm_output_version) | ^ xbitmap.c:437:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 437 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_SIMPLE_THRESHOLD)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ xbitmap.c:437:26: note: treat the string as an argument to avoid this 437 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_SIMPLE_THRESHOLD)); | ^ | "%s", /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ xbitmap.c:442:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | void SetExportBitmapThreshold(buf) | ^ xbitmap.c:481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- xpixmap.c:201:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | int IsLinkedJpegObj(obj_ptr) | ^ --- xbitmap.o --- 481 | int RefreshBitPixmapMenu(menu) | ^ xbitmap.c:503:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | TgMenu *CreateBitPixmapMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ --- xpixmap.o --- xpixmap.c:212:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | int IsPpmTrueObj(real_type, ppm_data_compress, ppm_data) | ^ xpixmap.c:221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | int ObjHasIndexedTransPixel(obj_ptr, pn_index) | ^ xpixmap.c:243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | int ObjHasTrueColorTransPixel(obj_ptr, puch_trans_color_r, puch_trans_color_g, | ^ --- xbitmap.o --- xbitmap.c:560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | void MultiplyTwoByTwo(m1, m2) | ^ xbitmap.c:573:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | void CalcTransform(mtrx) | ^ --- xpixmap.o --- xpixmap.c:265:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | int ObjHasTransPixel(obj_ptr) | ^ xpixmap.c:281:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | int xpmcharhash(chars_per_pixel, color_char) | ^ xpixmap.c:291:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | int BuildXPmBuckets(ncolors, pixels, dump_index_to_color_index, chars_per_pixel, | ^ --- xbitmap.o --- xbitmap.c:703:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | void MakeCachedBitmap(ObjPtr) | ^ --- xpixmap.o --- xpixmap.c:393:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | int XPmLookUp(pixel, chars_per_pixel, color_char, pn_color_index_return) | ^ xpixmap.c:430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | void MakeCachedPixmap(ObjPtr) | ^ --- xbitmap.o --- xbitmap.c:889:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | int ExtractBitmap(OrigBitmap, OrigImage, X, Y, W, H, Bitmap, Image) | ^ xbitmap.c:944:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | int AutoTrimBitmap(OrigBitmap, pnImageW, pnImageH, pBitmap, pImage, | ^ xbitmap.c:1010:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | void InvertXBmObject(ObjPtr) | ^ xbitmap.c:1064:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | int ObjListInvertable(LastObjPtr) | ^ --- xpixmap.o --- xpixmap.c:659:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xbitmap.o --- xbitmap.c:1087:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | void InvertObjListXBitmap(LastObjPtr) | ^ --- xpixmap.o --- 659 | int ExtractPixmap(orig_pixmap, orig_image, orig_bitmap, orig_bitmap_image, | ^ --- xbitmap.o --- xbitmap.c:1154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | void ParseGeomSpec(geom_spec, image_w, image_h, src_x, src_y, src_w, src_h) | ^ xbitmap.c:1209:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | char *FindEqual(s) | ^ xbitmap.c:1216:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | void ParseCutSpec(spec, image_w, image_h, mag, src_x, src_y, src_w, src_h) | ^ --- xpixmap.o --- xpixmap.c:736:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | struct ObjRec *CutXPixmap(ObjPtrToCut, pAbsX, pAbsY, pAbsW, pAbsH) | ^ --- xbitmap.o --- xbitmap.c:1349:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | void UpdateColorsLookupTable(color_index) | ^ xbitmap.c:1368:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | void BuildStrSegColors(pStrSeg, pUserData) | ^ xbitmap.c:1376:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | void BuildObjXPmColors(ObjPtr) | ^ xbitmap.c:1499:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | int SetTmpShift(mask, pn_shifts) | ^ xbitmap.c:1517:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | int BadMask(cWhich, mask) | ^ xbitmap.c:1569:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | int TmpPixelHash(pixel) | ^ xbitmap.c:1576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1576 | void GetTmpValue(pixel, mask, shift, pn_value) | ^ --- xpixmap.o --- xpixmap.c:969:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | void SaveXPmColors(FP, def_color_index, xpm_ptr, ncolors, chars_per_pixel, | ^ --- xbitmap.o --- xbitmap.c:1594:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1594 | void GetTmpColorStr(pixel, color_str) | ^ xbitmap.c:1625:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | void UpdateColorsLookupTableForPixel(pixel, can_alloc) | ^ --- xpixmap.o --- xpixmap.c:1048:8: warning: variable 'ncolors' set but not used [-Wunused-but-set-variable] 1048 | int ncolors=0, *pixels=NULL, flip=0, orig_x=0, orig_y=0; | ^ xpixmap.c:1048:20: warning: variable 'pixels' set but not used [-Wunused-but-set-variable] 1048 | int ncolors=0, *pixels=NULL, flip=0, orig_x=0, orig_y=0; | ^ xpixmap.c:1048:33: warning: variable 'flip' set but not used [-Wunused-but-set-variable] --- xbitmap.o --- xbitmap.c:1657:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- 1048 | int ncolors=0, *pixels=NULL, flip=0, orig_x=0, orig_y=0; | ^ xpixmap.c:1052:11: warning: variable 'pixmap' set but not used [-Wunused-but-set-variable] --- xbitmap.o --- 1657 | void BuildXPmColors(image, w, h, left, top, right, bottom, use_pixels) | ^ --- xpixmap.o --- 1052 | Pixmap pixmap, bitmap=(Pixmap)0; | ^ xpixmap.c:1052:19: warning: variable 'bitmap' set but not used [-Wunused-but-set-variable] 1052 | Pixmap pixmap, bitmap=(Pixmap)0; | ^ xpixmap.c:1041:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xbitmap.o --- xbitmap.c:1761:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- 1041 | void PrTgifDumpOldXPmObj(FP, ObjPtr, pmtrx) | ^ --- xbitmap.o --- 1761 | void ColorStrToXPmStr(index, color_str) | ^ --- xpixmap.o --- xpixmap.c:1179:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | int MalformedPpmMessage(tmp_fname) | ^ --- xbitmap.o --- xbitmap.c:1814:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1814 | void DumpXPmColors(FP) | ^ --- xpixmap.o --- xpixmap.c:1193:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | int ReadPpmHeaderStr(ppm_fp, tmp_fname, buf, sz_buf) | ^ xpixmap.c:1230:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | int ReadPpmHeader(ppm_fp, tmp_fname, pn_format, pn_w, pn_h, pn_max_val) | ^ --- xbitmap.o --- xbitmap.c:1881:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1881 | int SetupTrueColorInfoFromImage(image, ptci) | ^ xbitmap.c:1948:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1948 | int InitTrueColorInfo(image, ptci, image_w) | ^ --- xpixmap.o --- xpixmap.c:1271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | void DumpPpm6File(FP, image_w, image_h, tmp_fname) | ^ xpixmap.c:1399:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | int ObjHasXpmObj(ObjPtr) | ^ --- xbitmap.o --- xbitmap.c:1996:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- xpixmap.c:1440:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | int PageHasXpmObj(page_ptr) | ^ --- xbitmap.o --- 1996 | void MapEPSIToPix(DestX, DestY, DestW, DestH, SrcW, SrcH, SrcX, SrcY) | ^ xbitmap.c:2010:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | void GenPreviewBitmap(FP, llxPage, llyPage, urxPage, uryPage) | ^ --- xpixmap.o --- xpixmap.c:1512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | void FreeImagePixels(pipi) | ^ xpixmap.c:1540:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | void SetAColorByteInfoByXpmRGB(pcb, xpm_ptr, pixel_index) | ^ xpixmap.c:1575:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1575 | void SetAColorByteByXpmRGB(pcb, xpm_ptr, index, table_size) | ^ xpixmap.c:1590:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | void SetAColorByteByMaxRGB(pcb, xpm_color_index, global_color_index, table_size) | ^ xpixmap.c:1603:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | int ConvertPpmTrueToPpm6(ppm_data, ppm_data_size, ppm_data_compress, | ^ xpixmap.c:1712:14: warning: variable 'transparent_pixel' set but not used [-Wunused-but-set-variable] 1712 | int transparent_pixel=INVALID; | ^ xpixmap.c:1658:26: warning: variable 'color_char' set but not used [-Wunused-but-set-variable] 1658 | char *xpm_data=NULL, *color_char=NULL; | ^ xpixmap.c:1644:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1644 | int GetImagePixels(ObjPtr, xpm_ptr, pipi, pxtii, pcb) | ^ xpixmap.c:1821:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | int PrepareColorsForConvertObjToPpm6(xpm_ptr, pxtii) | ^ --- xbitmap.o --- xbitmap.c:2416:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2416 | char *ModifyToGenerateHtmlHref(value_str) | ^ --- xpixmap.o --- xpixmap.c:1892:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1892 | int ConvertObjToPpm6(ObjPtr, xpm_ptr, psz_ppm6_path, ppm6_path_sz, pxtii) | ^ xpixmap.c:1959:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1959 | void DumpXPmObj(FP, ObjPtr) | ^ --- xbitmap.o --- xbitmap.c:2486:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2486 | int GenerateObjImageMap(FP, ObjPtr, LtX, LtY) | ^ xbitmap.c:2644:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2644 | void GenerateHtmlHeader(map_fp) | ^ xbitmap.c:2671:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2671 | void GenerateUseMapHeader(map_fp, gif_fname, map_fname) | ^ xbitmap.c:2699:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2699 | void GenerateUseMapTrailer(map_fp, W, H) | ^ xbitmap.c:2718:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2718 | void GenerateHtmlTrailer(map_fp) | ^ xbitmap.c:2725:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2725 | FILE *OpenMapFile(pszMapFile) | ^ xbitmap.c:2740:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2740 | void DumpCommentInBitmapExport(fp) | ^ xbitmap.c:2751:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2751 | void ColorNameToXPmStr(color_name, s) | ^ --- xpixmap.o --- xpixmap.c:1965:41: warning: variable 'orig_x' set but not used [-Wunused-but-set-variable] --- xbitmap.o --- xbitmap.c:2780:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- 1965 | int ncolors=0, *pixels=NULL, flip=0, orig_x=0, orig_y=0; | ^ --- xbitmap.o --- 2780 | int Xpm3ToXpm1(gif_fname) | ^ --- xpixmap.o --- xpixmap.c:1965:51: warning: variable 'orig_y' set but not used [-Wunused-but-set-variable] 1965 | int ncolors=0, *pixels=NULL, flip=0, orig_x=0, orig_y=0; | ^ --- xbitmap.o --- xbitmap.c:2932:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2932 | int ConvertXpmToGif(xpm_fname, gif_fname, src_is_ppm, where_to_print) | ^ xbitmap.c:3107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3107 | int FindTgVarType(buf) | ^ xbitmap.c:3169:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3169 | fprintf(map_fp, TgLoadCachedString(CSTID_PARANED_UNKNOWN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbitmap.c:3169:26: note: treat the string as an argument to avoid this 3169 | fprintf(map_fp, TgLoadCachedString(CSTID_PARANED_UNKNOWN)); | ^ | "%s", xbitmap.c:3121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3121 | void GenerateTemplateHtmlVar(map_fp, var_type, gif_fname, map_fname, fname, | ^ --- xpixmap.o --- xpixmap.c:2382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2382 | int NeedsToCacheXPmObj(ObjPtr) | ^ --- xbitmap.o --- xbitmap.c:3191:8: warning: variable 'line_num' set but not used [-Wunused-but-set-variable] --- xpixmap.o --- xpixmap.c:2397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xbitmap.o --- 3191 | int line_num=0; | ^ xbitmap.c:3184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3184 | void GenerateTemplateHtmlFile(map_fp, tmpl_fp, gif_fname, map_fname, | ^ --- xpixmap.o --- 2397 | void DrawHiddenXPm(win, ctm, vs, x, y, w, h, s) | ^ xpixmap.c:2444:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2444 | void RecolorXPmObj(obj_ptr, color_index) | ^ --- xbitmap.o --- xbitmap.c:3241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3241 | void GenerateImageMap(XpmFileName, src_is_ppm, LtX, LtY, RbX, RbY, | ^ --- xpixmap.o --- xpixmap.c:2494:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2494 | void DrawXPmObj(win, XOff, YOff, ObjPtr) | ^ --- xbitmap.o --- xbitmap.c:3510:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3510 | void AdjustForRealBaseName(fname, gzipped, no_name) | ^ xbitmap.c:3527:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3527 | void GetRealBaseName(fname) | ^ xbitmap.c:3549:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3549 | XImage *RotateImageForLandscape(src_image, p_w, p_h, p_left, p_top, p_right, | ^ xbitmap.c:3590:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3590 | void DumpXpmHeader(fp, w, h, name, left, top, right, bottom) | ^ xbitmap.c:3629:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3629 | void DumpXbmHeader(fp, w, h, name, left, top, right, bottom) | ^ xbitmap.c:3648:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3648 | void SetAColorByteInfo(pcb, pXColor) | ^ --- xpixmap.o --- xpixmap.c:2616:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2616 | int PrTgifFindColorIndex(ObjPtr, s) | ^ --- xbitmap.o --- xbitmap.c:3679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3679 | void SetColorBytes(pcb, index, table_size) | ^ --- xpixmap.o --- xpixmap.c:2648:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2648 | int QuickFindColorIndex(ObjPtr, s, new_alloc, use_default) | ^ --- xbitmap.o --- xbitmap.c:3693:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3693 | int DumpPpmBody(fp, image, bitmap_image, w, h, left, top, right, | ^ --- xpixmap.o --- xpixmap.c:2815:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xbitmap.o --- xbitmap.c:3774:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- 2815 | struct ObjRec *CreateXPmObj(ImageW, ImageH, W, H, pixmap, image, bitmap, | ^ --- xbitmap.o --- 3774 | int DumpXpmBody(fp, image, bitmap_image, w, h, left, top, right, | ^ --- xpixmap.o --- xpixmap.c:2908:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xbitmap.o --- xbitmap.c:3865:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- 2908 | void CopyXPmProperties(DestXpmObj, SrcXpmObj) | ^ --- xbitmap.o --- 3865 | void DumpXbmHalfToneBody(fp, image, w, h, left, top, right, bottom, bg_pixel) | ^ --- xpixmap.o --- xpixmap.c:2921:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2921 | int FinishBreakUpXPixmap(obj_ptr, cols_and_rows, cols, rows) | ^ xpixmap.c:3034:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3034 | void BreakUpXPixmap(obj_ptr, cols_and_rows, cols, rows) | ^ --- xbitmap.o --- xbitmap.c:4056:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4056 | void DumpXbmNoneHalfToneBody(fp, image, w, h, left, top, right, bottom, | ^ xbitmap.c:4220:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4220 | void DumpXbmBody(fp, image, w, h, left, top, right, bottom, bg_pixel) | ^ --- xpixmap.o --- xpixmap.c:3052:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xbitmap.o --- xbitmap.c:4234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4234 | void GetPixelTrims(w, h, pnLeft, pnTop, pnRight, pnBottom) | ^ --- xpixmap.o --- 3052 | void SaveXPmPixels(FP, xpm_ptr, pixmap, image, bitmap, bitmap_image, w, h, | ^ --- xbitmap.o --- xbitmap.c:4261:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4261 | void BuildXPmColorsFromImage(image, w, h) | ^ xbitmap.c:4353:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4353 | int DumpXImageToXpmFile(image, w, h, fname) | ^ xbitmap.c:4411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4411 | int DumpXImageToPpmFile(image, w, h, fname, deflate) | ^ --- xpixmap.o --- xpixmap.c:3126:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3126 | int WritePpmTrueData(FP, xpm_ptr) | ^ xpixmap.c:3167:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3167 | char *ReadPpmTrueData(fp, ppm_data_size) | ^ xpixmap.c:3239:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3239 | char *ReadPpmTrueMask(fp, ppm_mask_size) | ^ xpixmap.c:3252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xbitmap.o --- xbitmap.c:4482:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- 3252 | void SaveXPmObj(FP, ObjPtr) | ^ --- xbitmap.o --- 4482 | int DumpXImageToPpm6(fp, image, bitmap_image, w, h, left, top, right, bottom) | ^ xbitmap.c:4534:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4534 | void DumpXBitmapFile(nInImageProc, nDumpPpmPreferred, nPageNumInFileName) | ^ --- xpixmap.o --- xpixmap.c:3393:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3393 | void FreeAuxData(fp, ncolors, color_char, color_str, | ^ --- xbitmap.o --- xbitmap.c:4840:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4840 | int DumpXImageToFile(image, w, h, fname, ext) | ^ --- xpixmap.o --- xpixmap.c:3422:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xbitmap.o --- xbitmap.c:4857:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- 3422 | int MyReadPixmapFile(file_name, image_w_return, image_h_return, w_return, | ^ --- xbitmap.o --- 4857 | void FailedExportXPixmapDeckToGIF(count, gif_fp, gif_fname, tmp_fnames) | ^ xbitmap.c:5078:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5078 | void DumpBitmap(FP, image, data, image_w, image_h, transformed, orig_x, orig_y, | ^ --- xpixmap.o --- xpixmap.c:3987:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3987 | void ReadXPmObj(FP, Inbuf, ObjPtr) | ^ --- xbitmap.o --- xbitmap.c:5214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5214 | void DumpXBmObj(FP, ObjPtr) | ^ xbitmap.c:5338:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5338 | int NeedsToCacheXBmObj(ObjPtr) | ^ xbitmap.c:5353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5353 | void DrawHiddenXBm(win, ctm, vs, x, y, w, h, s) | ^ xbitmap.c:5393:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5393 | void DrawXBmObj(win, XOff, YOff, ObjPtr) | ^ --- xpixmap.o --- xpixmap.c:4415:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 4415 | RotateObj(*ObjPtr, CORNER_LT, COUNTER90, <x, <y); | ^~~~~~~~~ ./const.h:514:25: note: expanded from macro 'COUNTER90' 514 | #define COUNTER90 ((-90)<<6) | ~~~~~^ --- xbitmap.o --- xbitmap.c:5482:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5482 | struct ObjRec *CreateXBmObj(ImageW, ImageH, W, H, bitmap, image) | ^ xbitmap.c:5542:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5542 | void CopyXBmProperties(DestXbmObj, SrcXbmObj) | ^ xbitmap.c:5556:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5556 | int FinishBreakUpXBitmap(obj_ptr, cols_and_rows, cols, rows) | ^ xbitmap.c:5609:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5609 | void BreakUpXBitmap(obj_ptr, cols_and_rows, cols, rows) | ^ xbitmap.c:5632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5632 | void DumpXBmData(FP, bitmap, image, W, H) | ^ xbitmap.c:5680:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5680 | void SaveXBmObj(FP, ObjPtr) | ^ --- xpixmap.o --- xpixmap.c:4456:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4456 | struct ObjRec *MyReadJpegFileSkipData(jpeg_filename, expected_image_w, | ^ xpixmap.c:4504:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4504 | struct ObjRec *MyReadJpegFile(jpeg_filename, expected_image_w, expected_image_h) | ^ xpixmap.c:4589:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4589 | void ReadJpegObj(FP, Inbuf, ObjPtr) | ^ --- xbitmap.o --- xbitmap.c:5760:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5760 | int ReadTransformAndAdjustForXBm(FP, ObjPtr, xbm_ptr, transformed, rotate, flip) | ^ xbitmap.c:5860:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 5860 | RotateObj(*ObjPtr, CORNER_LT, COUNTER90, <x, <y); | ^~~~~~~~~ ./const.h:514:25: note: expanded from macro 'COUNTER90' 514 | #define COUNTER90 ((-90)<<6) | ~~~~~^ xbitmap.c:5907:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5907 | void ReadXBmObj(FP, Inbuf, ObjPtr) | ^ --- xpixmap.o --- xpixmap.c:4600:27: warning: variable 'first_pixel_maybe_bg' set but not used [-Wunused-but-set-variable] 4600 | int first_pixel_is_bg, first_pixel_maybe_bg, new_alloc; | ^ xpixmap.c:4748:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4748 | struct ObjRec *MyReadPpmTrueFileSkipData(ppm_fname, expected_image_w, | ^ xpixmap.c:4790:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4790 | struct ObjRec *MyReadPpmFile(ppm_fname, expected_image_w, expected_image_h) | ^ xpixmap.c:4842:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4842 | int SetupTrueColorInfo(ptci) | ^ xpixmap.c:4903:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4903 | struct ObjRec *MyReadPpmTrueFile2(ppm_fname, expected_image_w, expected_image_h) | ^ xpixmap.c:5135:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5135 | struct ObjRec *MyReadPpmTrueFile(ppm_fname, expected_image_w, expected_image_h) | ^ xpixmap.c:5169:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5169 | struct ObjRec *CreatePpmTrueObjFromFile(ppm_fname) | ^ xpixmap.c:5175:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5175 | void ReadPpmTrueObj(FP, Inbuf, ObjPtr) | ^ --- xbitmap.o --- xbitmap.c:6418:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xpixmap.o --- xpixmap.c:5181:53: warning: variable 'ppm_mask_data' set but not used [-Wunused-but-set-variable] --- xbitmap.o --- 6418 | void SetXBmPropMask(ObjPtr, plMask, plSkip, pProp) --- xpixmap.o --- 5181 | char *s=NULL, inbuf[MAXSTRING], *ppm_data=NULL, *ppm_mask_data=NULL; --- xbitmap.o --- | ^ --- xpixmap.o --- | ^ --- xbitmap.o --- xbitmap.c:6433:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6433 | void FreeXBmObj(ObjPtr) | ^ --- xpixmap.o --- xpixmap.c:5366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5366 | void SetXPmPropMask(ObjPtr, plMask, plSkip, pProp) | ^ xpixmap.c:5374:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5374 | void FreeXPmObj(ObjPtr) | ^ --- xprtfltr.o --- xprtfltr.c:82:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | int GetSharedLibVersion(pszPath) | ^ xprtfltr.c:106:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | long TgEFSendMsg(pTgEFInfo, nUserInfo, nMsg, nArg, pvArg) | ^ xprtfltr.c:157:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | int SharedLibLoadFailed(pTgEFInfo, pszSharedLibPath, nNeedUnload) | ^ xprtfltr.c:174:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | int LoadSharedLib(pszSharedLibPath) | ^ xprtfltr.c:370:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | int GetExportIndex(nWhereToPrint, nMode) | ^ xprtfltr.c:382:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | char *GetExportName(nWhereToPrint, nMode) | ^ xprtfltr.c:414:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | char *GetExportExt(nWhereToPrint) | ^ xprtfltr.c:443:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | int GetExportFilterCapability(nWhereToPrint) | ^ xprtfltr.c:456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | int ExportVectorFile_1(pTgEFInfo, pDumpFile, nPageNumInFileName, | ^ xprtfltr.c:493:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | int ExportVectorFile(pDumpFile, nPageNumInFileName, nPrintingPageNum, | ^ 10 warnings generated. --- z_intrf.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTGIF_PATH=\"/opt/pkg/lib/X11/tgif\" -DPSFILE_MOD=0664 -DLOCALEDIR=\"/usr/share/locale\" -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\" -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" -D_NO_NKF -D_NO_CHINPUT -D_NO_XCIN -D_NO_DL_SUPPORT -D_NO_IDNLIB -DHAVE_STDINT_H -DTGIF_DISTR_VER=\"4.2.5\" -I/opt/pkg/include -c z_intrf.c z_intrf.c:53:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | void ByteStuff(buf_in, buf_len, buf_out, pn_buf_out) | ^ z_intrf.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | int ByteUnStuff(buf_in, buf_len, buf_out, pn_buf_out, pn_has_left_over) | ^ z_intrf.c:147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | int DeflateFile(fname, deflated_fname) | ^ z_intrf.c:247:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | int DoDeflate(in_fp, in_buf, bytes_left, out_fp, use_def_compression, use_byte_stuffing, pn_rc) | ^ z_intrf.c:353:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | int DoInflate(in_buf, bytes_left, out_fp, use_byte_unstuffing, pn_rc) | ^ z_intrf.c:460:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | void ZlibError(status, deflate) | ^ 6 warnings generated. --- tgif._man --- rm -f tgif._man if test -z "" ; then cd `dirname tgif` && ln -s `basename tgif.man` `basename tgif._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < tgif.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >tgif._man; fi --- xpixmap.o --- 70 warnings generated. --- xbitmap.o --- 90 warnings generated. --- tgif --- rm -f tgif clang -o tgif -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib tgif.o align.o animate.o arc.o attr.o auxtext.o box.o button.o chat.o chinput.o choice.o choose.o cli_xcin.o convkinput.o convxim.o cmd.o color.o cutpaste.o cursor.o dialog.o drawing.o dup.o edit.o eps.o exec.o expr.o file.o font.o ftp.o grid.o group.o hash.o help.o http.o imgproc.o import.o ini.o inmethod.o list.o mainloop.o mainmenu.o mark.o markup.o menu.o menuinfo.o miniline.o move.o msg.o names.o navigate.o nkf.o obj.o oval.o page.o pattern.o pin.o pngtrans.o poly.o polygon.o ps.o raster.o rcbox.o rect.o remote.o rm_intrf.o ruler.o scroll.o select.o setup.o shape.o shortcut.o special.o spline.o stk.o stream.o stretch.o strtbl.o tangram2.o tdgtbase.o tdgtbmpl.o tdgtbrow.o tdgtbtn.o tdgtdraw.o tdgtlist.o tdgtmsg.o tdgtsedt.o tgif_dbg.o tgcwheel.o tgcwdl.o tginssym.o tgisdl.o tgtwb5.o tgtwb5dl.o tgtwb5xl.o tidget.o tcp.o text.o util.o version.o vms_comp.o wb.o wb1.o wb2.o wb3.o wb_buff.o wb_mcast.o wb_seg.o xbitmap.o xpixmap.o xprtfltr.o z_intrf.o -lXext -lX11 -lm -lz