>>> Building on exopi-5 under graphics/tgif BDEPENDS = [devel/imake;devel/imake-cf] DIST = [graphics/tgif:tgif-QPL-4.2.5.tar.gz] FULLPKGNAME = tgif-4.2.5p0 RDEPENDS = [graphics/netpbm] (Junk lock failure for exopi-5 at 1764443495.13059) Received IO (Junk lock obtained for exopi-5 at 1764443498.36) Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif Woken up graphics/tgif >>> Running depends in graphics/tgif at 1764443502.67 /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 xz-5.8.1 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 xz-5.8.1 >>> Running show-prepare-results in graphics/tgif at 1764443504.44 ===> graphics/tgif ===> Building from scratch tgif-4.2.5p0 ===> tgif-4.2.5p0 depends on: imake-* -> imake-1.0.10 ===> tgif-4.2.5p0 depends on: imake-cf-* -> imake-cf-1.0.8 ===> Verifying specs: X11 Xau Xdmcp Xext c m z ===> found X11.19.0 Xau.10.0 Xdmcp.11.0 Xext.13.0 c.102.2 m.10.1 z.7.1 imake-1.0.10 imake-cf-1.0.8 (Junk lock released for exopi-5 at 1764443505.57) Woken up education/freedict/swe-nor distfiles size=3093619 >>> Running build in graphics/tgif at 1764443505.64 ===> graphics/tgif ===> Checking files for tgif-4.2.5p0 `/exopi-cvs/ports/distfiles/tgif-QPL-4.2.5.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for tgif-4.2.5p0 ===> Patching for tgif-4.2.5p0 ===> Applying OpenBSD patch patch-Tgif_tmpl Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Tgif.tmpl.orig Fri Jul 8 13:24:38 2011 |+++ Tgif.tmpl Fri Jul 8 13:24:38 2011 -------------------------- Patching file Tgif.tmpl using Plan A... Hunk #1 succeeded at 44. done ===> Applying OpenBSD patch patch-setup_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- setup.c.orig Mon May 23 04:58:23 2011 |+++ setup.c Fri Jul 8 13:24:38 2011 -------------------------- Patching file setup.c using Plan A... Hunk #1 succeeded at 237. done ===> Applying OpenBSD patch patch-tgif_man Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tgif.man.orig Mon May 23 04:58:23 2011 |+++ tgif.man Fri Jul 8 13:24:38 2011 -------------------------- Patching file tgif.man using Plan A... Hunk #1 succeeded at 8. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for tgif-4.2.5p0 ===> Configuring for tgif-4.2.5p0 mv -f Makefile Makefile.bak imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -- ./*.c > .depend ===> Building for tgif-4.2.5p0 cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tgif.c tgif.c:123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | void SetProgramName(FileName) | ^ tgif.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 PrTgifLoad(FileName) | ^ tgif.c:279:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | void PrTgifDump(inbuf, tile_page_err_msg_id) | ^ tgif.c:331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | void DoPrTgif(argc, argv, from_prtgif) | ^ tgif.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 DoTgif(argc, argv) | ^ tgif.c:575:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | int main(argc, argv) | ^ 6 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c align.c align.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 SetSSSIForDistr(obj_ptr, vsel_ptr, update_pmvi) | ^ align.c:815:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | void DistributeDirect(alignment) | ^ align.c:830:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | char *GetDistrDirectMenuStr(i) | ^ align.c:861:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | TgMenu *CreateDistributeDirectMenu(parent_menu, x, y, menu_info, | ^ align.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 AutoJustifiable(obj_ptr) | ^ align.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 AutoJustify(obj_ptr) | ^ align.c:1606:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | void HoriAlignSubMenu(index) | ^ align.c:1618:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | void RefreshHoriAlignMenu(menu) | ^ align.c:1636:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1636 | TgMenu *CreateHoriAlignMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ align.c:1662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | int HoriAlignMenu(X, Y, TrackMenubar) | ^ align.c:1679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | void VertAlignSubMenu(index) | ^ align.c:1691:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | void RefreshVertAlignMenu(menu) | ^ align.c:1709:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1709 | TgMenu *CreateVertAlignMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ align.c:1735:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | int VertAlignMenu(X, Y, TrackMenubar) | ^ align.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 AlignDirect(alignment) | ^ align.c:1771:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | char *GetAlignDirectMenuStr(i) | ^ align.c:1831:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1831 | TgMenu *CreateAlignDirectMenu(parent_menu, x, y, menu_info) | ^ align.c:1870:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1870 | TgMenu *CreateAlignObjsDirectMenu(parent_menu, x, y, menu_info, | ^ align.c:1881:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1881 | TgMenu *CreateAlignToGridDirectMenu(parent_menu, x, y, menu_info, | ^ align.c:1892:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1892 | TgMenu *CreateAlignToPageDirectMenu(parent_menu, x, y, menu_info, | ^ 20 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c animate.c animate.c:41:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | void AnimateSend(PolyPtr, Speed, Pixel) | ^ animate.c:209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | void AnimateFlashColor(ObjPtr, ColorIndex) | ^ 2 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c arc.c arc.c:72:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | int ArcDirection(xc, yc, x1, y1, x2, y2) | ^ arc.c:103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | void PointsToArc(xc, yc, x1, y1, x2, y2, dir, int_degree, ltx, lty, w, h, | ^ arc.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 ArcRealX2Y2(ArcPtr, RealX2, RealY2) | ^ arc.c:171:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | double GetRadianInArc(arc_ptr, x, y) | ^ arc.c:181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | void GetArcArrowInfo(obj_ptr, ptip_vs1, ptail_vs1, vs1, pa_angle1, | ^ arc.c:385:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | void CalcArcOBBox(ObjPtr) | ^ arc.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 CalcArcBBox(obj_ptr, obbox, bbox) | ^ arc.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 DumpArcPSPath(FP, xc, yc, xr, yr, dir, a1, a2, outline, blank1, blank2) | ^ arc.c:547:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | void DumpArcArrows(FP, obj_ptr) | ^ arc.c:581:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | void DumpArcPath(FP, ObjPtr, xc, yc, xr, yr, dir, angle1, angle2, | ^ arc.c:638:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | void DumpArcObj(FP, ObjPtr) | ^ arc.c:762:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | int NeedsToCacheArcObj(ObjPtr) | ^ arc.c:772:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | void MakeArcRotatedVs(obj_ptr, oval_vs, angle1, angle2, | ^ arc.c:1025:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | void MakeCachedArc(ObjPtr) | ^ arc.c:1102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | void DrawArcObj(window, XOff, YOff, ObjPtr) | ^ arc.c:1218:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | struct ObjRec *CreateArcObj(xc, yc, x1, y1, x2, y2, dir, ltx, lty, w, h, | ^ arc.c:1300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | int Colinear(Ax, Ay, Dx, Dy, Cx, Cy) | ^ arc.c:1323:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | int SegmentIntersects(Ax, Ay, Bx, By, Cx, Cy, Dx, Dy) | ^ arc.c:1390:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | int GetCenter(Ax, Ay, Cx, Cy, Bx, By, pcx, pcy, pdir) | ^ arc.c:1506:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | void HighLightInContinueArc(drawing_arc, OrigX, OrigY, saved_x, saved_y, | ^ arc.c:1549:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | void ContinueArc(OrigX, OrigY) | ^ arc.c:1753:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1753 | void DrawArc(input) | ^ arc.c:1772:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1772 | void SaveArcObj(FP, ObjPtr) | ^ arc.c:1813:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1813 | void ReadArcObj(FP, Inbuf, ObjPtr) | ^ arc.c:2044:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2044 | sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc.c:2044:26: note: treat the string as an argument to avoid this 2044 | sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); | ^ | "%s", arc.c:2053:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2053 | sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc.c:2053:26: note: treat the string as an argument to avoid this 2053 | sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); | ^ | "%s", arc.c:2158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2158 | void SetArcPropMask(ObjPtr, plMask, plSkip, pProp) | ^ arc.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 FreeArcObj(ObjPtr) | ^ arc.c:2202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | int ParseArcSpec(spec, seperator, radius, dir, theta1, theta2, error_str) | ^ 29 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c attr.c attr.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 LinkInAttr(PrevPtr, NextPtr, AttrPtr) | ^ attr.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 FreeAttr(AttrPtr) | ^ attr.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 UnlinkAttr(AttrPtr) | ^ attr.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 UpdAttrOwner(first_attr, owner_obj) | ^ attr.c:132:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | char *FindEqual(s) | ^ attr.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | void ParseAttrStr(buf, name, name_sz, value, value_sz) | ^ attr.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 UpdateAttr(TextPtr, AttrPtr) | ^ attr.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 DrawAttrs(Win, XOff, YOff, AttrPtr) | ^ attr.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 MoveAttrs(AttrPtr, Dx, Dy) | ^ attr.c:245:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | void DelAllAttrs(AttrPtr) | ^ attr.c:257:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | struct AttrRec *AddAttrByNameAndValue(ObjPtr, AttrName, AttrValue) | ^ attr.c:347:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | struct AttrRec *NewAttr(OwnerObjPtr, ObjPtr, Inherited) | ^ attr.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 DupAnAttr(FromAttrPtr, ToAttrPtr) | ^ attr.c:392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | void DupAttrs(FromObjPtr, ToObjPtr) | ^ attr.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 AddAttr(ObjPtr, TextObjPtr) | ^ attr.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 SaveAttr(FP, AttrPtr) | ^ attr.c:533:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | void SaveAttrs(FP, BotAttrPtr) | ^ attr.c:556:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | char *ReadAttrString(Str) | ^ attr.c:577:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | int FreeBufAndReturn(line, rc) | ^ attr.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 ReadAttr(FP, AttrPtr) | ^ attr.c:661:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | struct ObjRec *FindTopLevelObjWithType(type_str) | ^ attr.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 ObjMightChangeForShowAndUpdAttrNames(ObjPtr) | ^ attr.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 UpdateFirstTextStringWithAttrNameAndValue(ObjPtr, AttrPtr) | ^ attr.c:710:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | int DoShowAndUpdAttrNames(ObjPtr, Force) | ^ attr.c:961:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | void DetachGroupAttrs(ObjPtr, TopSelPtr, BotSelPtr) | ^ attr.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 DetachAllObjAttrs(obj_ptr, TopSelPtr, BotSelPtr) | ^ attr.c:1134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | void UpdAttr(AttrPtr) | ^ attr.c:1150:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | int MoveOneAttr(ObjPtr, AttrPtr) | ^ attr.c:1297:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | int ChangeAttrJust(ObjPtr, AttrPtr) | ^ attr.c:1383:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | TgMenu *CreateAttrMenu(parent_menu, x, y, num_items, menu_strings, | ^ attr.c:1450:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | void FreeEditAttrInfo(pEditAttrInfo) | ^ attr.c:1487:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | int HasEditAttrsInContextMenu(obj_ptr, pp_name_attr) | ^ attr.c:1503:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | void FreeRestrictedAttrNames(ppsz_restricted, num_restricted) | ^ attr.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] 1519 | void GetRestrictedAttrNames(restricted_attr_obj, pppsz_restricted, | ^ attr.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 GetAttrGroupAttrNames(restricted_attr_obj, group_index, pppsz_restricted, | ^ attr.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 IsRestrictedAttr(attr_name, ppsz_restricted, num_restricted) | ^ attr.c:1617:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | EditAttrInfo *CreateEditAttrInfo(obj_ptr) | ^ attr.c:1705:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | EditAttrInfo *CreateEditAttrGroupInfo(obj_ptr) | ^ attr.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 CopyAndUpdateAttrs(ToObjPtr, FromObjPtr) | ^ attr.c:1916:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1916 | void ToggleNamedAttrShown(attr_name) | ^ attr.c:2070:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | DspList *FileAttrNameListing(ObjPtr, pn_entries, pCheckArray) | ^ attr.c:2127:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | int EditAttrCheckUpdate(pp_dsp_ptr, ppsz_entries, pn_num_entries, | ^ attr.c:2175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | int EditAttrNames(TopStr, ObjAttrDspList, entries, num_entries, pCheckArray) | ^ attr.c:2199:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2199 | int BlankStr(s) | ^ attr.c:2392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | int GetAttrNamesCount(buf) | ^ attr.c:2415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2415 | void SetAttrGroupInfoDisplayedNames(pagi) | ^ attr.c:2442:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2442 | void FreeAttrGroupInfo(pagi) | ^ attr.c:2475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2475 | int ParseAttrGroupXDef(group_index, xdef_line, buf) | ^ 48 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c auxtext.c auxtext.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 GetStrSizeInfo(pDynStr, w, lbearing, rextra) | ^ auxtext.c:72:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | int GetNumberOfMiniLines(minilines) | ^ auxtext.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 IsHex(ch, pn_val) | ^ auxtext.c:84: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] 84 | char ch; | ^ ./auxtext.e:43:33: note: previous declaration is here 43 | extern int IsHex ARGS_DECL((char, int*)); | ^ auxtext.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 InputOctalString(pszBuf, pnBufSize) | ^ auxtext.c:116:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 116 | sprintf(gszMsgBox, TgLoadString(STID_INPUT_STR)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ auxtext.c:116:26: note: treat the string as an argument to avoid this 116 | sprintf(gszMsgBox, TgLoadString(STID_INPUT_STR)); | ^ | "%s", auxtext.c:213:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | int CharIsCntrlINS(key_ev, key_sym) | ^ auxtext.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 CharIsShiftINS(key_ev, key_sym) | ^ auxtext.c:237:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | int CharIsCntrlShiftINS(key_ev, key_sym) | ^ auxtext.c:260:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | int CharIsESC(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.c:277:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | int CharIsCRorLF(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.c:296:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | int CharIsDEL(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.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 CharIsBS(key_ev, psz_buf, key_sym, pn_has_ch, left_is_BS) | ^ auxtext.c:330:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | int CharIsBSorDEL(key_ev, psz_buf, key_sym, pn_has_ch, left_is_BS) | ^ auxtext.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 CharIsTAB(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.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 CharIsHome(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.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 CharIsEnd(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.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 CharIsCntrlSpace(key_ev, psz_buf, key_sym, pn_has_ch) | ^ auxtext.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 TranslateKeys(s, key_sym) | ^ auxtext.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 GetTransformedTextBBoxAbsVs(ObjPtr, LBearing, RightExtra, Vs) | ^ auxtext.c:457:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | void SetTextOBBox(ObjPtr, Just, W, H, LBearing, RightExtra, Rotate) | ^ auxtext.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 SetTextBBox(ObjPtr, Just, W, H, LBearing, RightExtra, Rotate) | ^ auxtext.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 SetTextOrigBBoxes(ObjPtr, Just, W, H, LBearing, RightExtra, Rotate) | ^ auxtext.c:631:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | int UpdTextBBox(ObjPtr) | ^ auxtext.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 PixelOnOff(image, col_start, row_start, scale) | ^ auxtext.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 PaintBackingPixmap(text_ptr, bbox_w, bbox_h, min_lbearing, max_rextra, | ^ auxtext.c:823:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | void MakeCachedTextBitmap(ObjPtr) | ^ auxtext.c:1096:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | void UpdateOuterInnerSel(obj_ptr) | ^ auxtext.c:1108:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | struct ObjRec *SubFindTextObj(ObjPtr, XOff, YOff, obj_to_be_found) | ^ auxtext.c:1185:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | struct ObjRec *FindTextObj(XOff, YOff, obj_to_be_found) | ^ auxtext.c:1318:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1318 | void DumpTextPath(FP, ObjPtr) | ^ auxtext.c:1370:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | void DumpSimpleTextBBoxPath(FP, just, x, lty, rby, indent) | ^ auxtext.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 DumpTextFill(FP, ObjPtr) | ^ auxtext.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 DumpTextObj(FP, ObjPtr) | ^ auxtext.c:1601:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | int NeedToCacheStrSeg(pStrSeg) | ^ auxtext.c:1608:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | int NeedToCacheStrBlock(pStrBlock) | ^ auxtext.c:1633:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | int NeedToCacheMiniLine(pMiniLine) | ^ auxtext.c:1647:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | int NeedToCacheMiniLines(minilines) | ^ auxtext.c:1661:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | int NeedsToCacheTextObj(ObjPtr) | ^ auxtext.c:1672:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | void SaveString(FP, S) | ^ auxtext.c:1693:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | void SaveDoubleByteString(FP, S) | ^ auxtext.c:1719:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1719 | void SaveStrSeg(FP, pStrSeg) | ^ auxtext.c:1758:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1758 | void SaveAStrBlock(FP, pStrBlock) | ^ auxtext.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 SaveStrBlocks(FP, pFirstStrBlock) | ^ auxtext.c:1859:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | void SaveAMiniLine(FP, pMiniLine) | ^ auxtext.c:1882:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1882 | void SaveMiniLines(FP, minilines) | ^ auxtext.c:1914:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | void CombineOverUnderYOffsets(underline_y_offset, overline_y_offset, | ^ auxtext.c:1923:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1923 | void UncombineOverUnderYOffsets(combined, pn_underline_y_offset, | ^ auxtext.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 SaveTextObj(FP, ObjPtr) | ^ auxtext.c:2000:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | void SaveHexString(FP, buf) | ^ auxtext.c:2022:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | char *ReadString(Str) | ^ auxtext.c:2061:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | StrSegInfo *CreateStrSegFromString(buf, pOwnerStrBlock) | ^ auxtext.c:2095:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2095 | StrBlockInfo *CreateStrBlockFromString(buf, pOwnerMiniLine) | ^ 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 | MiniLineInfo *CreateMiniLineFromString(buf, ppFirstMiniLine, ppLastMiniLine) | ^ auxtext.c:2160:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2160 | struct ObjRec *FormTextObjectFromFile(FP, AbsX, AbsBaselineY) | ^ auxtext.c:2226:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2226 | int PaintLeftText(Str, Just, LtX, LtY) | ^ auxtext.c:2252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2252 | void RepaintFirstStr(ObjPtr, Str) | ^ 57 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c box.c box.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 MyBox(window, gc, x1, y1, x2, y2) | ^ box.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 DumpBoxPath(FP, ObjPtr, LtX, LtY, RbX, RbY, Width, Pen, Dash, TransPat) | ^ box.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 DumpBoxObj(FP, ObjPtr) | ^ box.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 DrawBoxObj(win, XOff, YOff, ObjPtr) | ^ box.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 CreateBoxObj(X1, Y1, X2, Y2, CreateAbsolute) | ^ box.c:382:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | void ContinueBox(OrigX, OrigY) | ^ box.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 DrawBox(input) | ^ box.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 SaveBoxObj(FP, ObjPtr) | ^ box.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 ReadBoxObj(FP, Inbuf, ObjPtr) | ^ box.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 SetBoxPropMask(ObjPtr, plMask, plSkip, pProp) | ^ box.c:825:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | void FreeBoxObj(ObjPtr) | ^ 11 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c button.c button.c:46:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | int GetButtonFontStyle(pButtonFontInfo) | ^ button.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | int ButtonWidth(Str, MinLen, pButtonFontInfo) | ^ button.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 DisplayButtonInBBox(Win, Str, Len, BBox, Normal, HighLight, Width, | ^ 3 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c chat.c chat.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 MoveResizeChatWindow(x, y, w, h) | ^ chat.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 GetChatFontStyle(pnIsBold, pnIsItalic) | ^ chat.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 GetChatNickName(buf, buf_sz) | ^ chat.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 AddChatLineToListCtl(nick_name, color_index, font_style, buf) | ^ chat.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 ChatEventHandler(input, handling_pti) | ^ chat.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 IsChatWindowEvent(input, ppti_handler_tidget_return) | ^ chat.c:711:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | void ChatAppendChatLine(ptfi, nick_name, encoding, buf) | ^ chat.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 ChatAddUser(buf) | ^ 8 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c chinput.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c choice.c choice.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 ShowStipple(dpy, win, gc, bitmap, col, row, w, h) | ^ choice.c:226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | void HighLightThreeDButton(choice, highlight) | ^ choice.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 ShowColor(PropagateWhereToPrint) | ^ choice.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 NeedSelectTopObject(Choice, VertexTypeObj) | ^ choice.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 ShowCurChoiceMouseStatus(choice, state, cur_text_under_mouse) | ^ choice.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 SetCurChoice(NewChoice) | ^ choice.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 TextVSpaceLoop(button_ev) | ^ choice.c:1226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | void RCBRadiusLoop(button_ev) | ^ choice.c:1262:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | void ZoomLoop(button_ev) | ^ choice.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 FormatFloat(pfval, buf) | ^ choice.c:1377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | void FormatAngle(angle, buf) | ^ choice.c:1404:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | int ValidChoice(choice) | ^ choice.c:1437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | int ChoiceEventHandler(input) | ^ choice.c:1988:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | void HighLightModeThreeDButton(mode, highlight) | ^ choice.c:2063:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2063 | int ModeEventHandler(input) | ^ 15 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c choose.c choose.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 GetWorkingDirectory(buf, buf_sz) | ^ choose.c:132:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | int SetWorkingDirectory(dir) | ^ choose.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | void CalcBaseWinWidth(pni) | ^ choose.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 CleanUpCheckArray(pCheckArray) | ^ choose.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 CopyCheckArray(pCheckArrayTo, pCheckArrayFrom) | ^ choose.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 NamesSetTitle(title_str) | ^ choose.c:347:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | void NamesAddButton(btn_str, btn_id) | ^ choose.c:399:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | void DrawCheckbox(dpy, win, gc, x, y, w, h, checked) | ^ choose.c:436:8: warning: comparison of array 'check_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 436 | if (check_bits == NULL) { } | ^~~~~~~~~~ ~~~~ choose.c:440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | void RedrawItem(pni, index) | ^ choose.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 ExposeOrMapNames(input) | ^ choose.c:734:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | int CreateNamesWindows(win_name) | ^ choose.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 IsFirstEqChar(s, index) | ^ choose.c:912:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | void BackSpaceInNames(pn_changing, pn_selected_btn_index) | ^ choose.c:1017:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | void ParseFileName(FullName, DirName, Name) | ^ choose.c:1055:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | void CharInNames(buf, pn_changing, pn_selected_btn_index) | ^ choose.c:1196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | int GetNameEntryNum(RowOffset) | ^ choose.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 ScrollItemCallback(pv_userdata) | ^ choose.c:1232:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | int ScrollPageCallback(pv_userdata) | ^ choose.c:1260:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | int DoNameBtnScroll(scroll_page, scroll_dir, pbbox, pni) | ^ choose.c:1313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | void NameScrollHandler(button_ev) | ^ choose.c:1456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | int NameDspHandler(button_ev) | ^ choose.c:1544:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | int ControlChar(key_ev, key_sym) | ^ choose.c:1617:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | void BackUpOneWord(pn_changing, pn_selected_btn_index) | ^ choose.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 SpecialKeyInNames(key_ev, key_sym, pn_changing, pn_selected_btn_index) | ^ choose.c:1719:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1719 | int GetBtnIndexFromBtnId(btn_id) | ^ choose.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 KeyPressInNames(key_ev, pn_changing, pn_selected_btn_index) | ^ choose.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 ButtonPressInPath(button_ev) | ^ choose.c:1851:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | void ButtonPressInNames(button_ev, pn_changing, pn_selected_btn_index) | ^ choose.c:1937:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1937 | void NamesSetDefaultBtnId(def_btn_id, double_click_btn_id) | ^ choose.c:1946:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | void NamesSetStyle(edit_style, loop_once) | ^ choose.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 NamesSetEntries(dsp_ptr, entries, num_entries, p_check_array, | ^ choose.c:1973:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1973 | void NamesSetCallback(pf_before_loop, pf_after_loop, pf_check_update) | ^ choose.c:2000:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | void NamesSetDir(dir_name) | ^ choose.c:2045:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2045 | int GetParentRealDir(dir, buf, buf_sz) | ^ choose.c:2125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2125 | int Names(win_name, pn_selected_index, selected_str, str_sz, p_void) | ^ 36 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c cli_xcin.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c convkinput.c 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) | ^ 11 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c convxim.c 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) | ^ 9 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c cmd.c cmd.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 InsertCmd(PrevCmd, NextCmd, CmdPtr, ppFirstCmd, ppLastCmd) | ^ cmd.c:90:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | char *GetCmdType(CmdType) | ^ cmd.c:111:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | struct CmdRec *CreateCmdFromSerializationBuf(cmd_type, buf) | ^ cmd.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 CopyAndInsertCmd(from_remote, serialization_buf, PrevCmd, NextCmd, CmdPtr, | ^ cmd.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 UnlinkCmd(CmdPtr, ppFirstCmd, ppLastCmd) | ^ cmd.c:189:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | void DeleteARedoRecord(CmdPtr, percent_start, percent_end) | ^ cmd.c:341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | void ClearRedoRecords(CmdPtr) | ^ cmd.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 CopySel(from_top_sel, count, to_top_sel, to_bot_sel) | ^ cmd.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 LinkJustTheObjects(TopSel, BotSel) | ^ cmd.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 UndoNewCmd(CmdPtr) | ^ cmd.c:450:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | void RedoNewCmd(CmdPtr) | ^ cmd.c:486:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | int ObjHasFullID(obj_ptr, psz_full_id) | ^ cmd.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 GetPositionFromFullID(psz_full_id) | ^ cmd.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 UndoDeleteCmd(CmdPtr) | ^ cmd.c:605:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | int SetupBeforePointers(CmdPtr, modify_before_pointers, pp_actual_pos_before) | ^ cmd.c:773:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | int RedoDeleteCmd(CmdPtr) | ^ cmd.c:843:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | int UndoOrRedoMoveCmd(CmdPtr) | ^ cmd.c:920:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | void UpdateXPmObjectsInACmd(CmdPtr) | ^ cmd.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 UpdatePixelInACmd(CmdPtr) | ^ cmd.c:1010:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | int RefreshColormap(nRedoing, CmdPtr) | ^ cmd.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 UndoOrRedoReplaceCmd(CmdPtr, HighLightSingleObj) | ^ cmd.c:1302:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | int UndoOrRedoOneToManyCmd(CmdPtr) | ^ cmd.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 UndoOrRedoGotoPageCmd(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 UndoOrRedoWBSlideShow(CmdPtr) | ^ cmd.c:1480:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1480 | void SetUndoRedoRestoreDrawingModeInfo(p_urrdmi, cur_choice, text_cursor_shown, | ^ cmd.c:1495:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | void UndoRedoRestoreDrawingMode(p_urrdmi) | ^ cmd.c:1539:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | void UndoACmd(CmdPtr, HighLight, nPerformAction) | ^ cmd.c:1599:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | int RedoACmd(CmdPtr, HighLight, nPerformAction) | ^ cmd.c:1797:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | struct SelRec *PrepareStackingInfo(TopSel, BotSel, NumObjs, PreparePhase, | ^ cmd.c:1860:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1860 | void PrepareStacking(TopSel, BotSel, NumObjs, PreparePhase) | ^ cmd.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 PrepareToRecord(CmdType, TopSel, BotSel, NumObjs) | ^ cmd.c:1921:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1921 | void FreeAfterSel(CmdPtr) | ^ 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 PrepareExtendedSerializationInfoForRecordCmd(SubCmdPtr, TopSel, BotSel, | ^ cmd.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 RecordCmd(CmdType, SubCmdPtr, TopSel, BotSel, NumObjs) | ^ cmd.c:2142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2142 | void AbortPrepareCmd(CmdType) | ^ cmd.c:2193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2193 | void PrepareToReplaceAnObj(BeforeObjPtr) | ^ cmd.c:2209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2209 | void RecordReplaceAnObj(AfterObjPtr) | ^ cmd.c:2244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | void RecordWBSlideShow(into_slideshow) | ^ cmd.c:2260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | void RecordWBChatALine(pSubCmdPtr) | ^ 39 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c color.c color.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 DefaultColorArrays(Entries, ForePixels, Valid, InitRV, StatusStr) | ^ color.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 GetDrawingBgPixel(index, pixel) | ^ color.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 GetDrawingFgPixel(index, pixel) | ^ color.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 GetDrawingFgColorStr(index, pixel, color_buf, buf_sz) | ^ color.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 TgifParseColor(psz_color, p_color) | ^ color.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 ParseAndAllocColorByName(colorname, color, red_req, green_req, blue_req) | ^ color.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 InitColorFromXPixmap(pn_num_colors, pppsz_color_str) | ^ color.c:1339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | int DrawAVerticalTab(color_index, x, y, skip) | ^ color.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 OneColorObject(ObjPtr, ColorIndex) | ^ color.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 ChangeObjColor(ObjPtr, ColorIndex) | ^ color.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 ChangeAllSelColor(ColorIndex, HighLight) | ^ color.c:1804:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1804 | void SetUpColorMenuPixmap(fore_colors, init_rv, pixmap, rows, cols) | ^ color.c:1825:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | void RefreshColorMenu(menu) | ^ color.c:1843:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1843 | TgMenu *CreateColorMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ color.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 ColorMenu(X, Y, TrackMenubar) | ^ color.c:1950:8: warning: comparison of array 'upend_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1950 | if (upend_bits == NULL) { } | ^~~~~~~~~~ ~~~~ color.c:1954:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1954 | void SetAllColorLayersState(on_state) | ^ color.c:1977:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | void HandleClickInColorWindow(button_ev) | ^ color.c:2088:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | void HandleMotionInColorWindow(motion_ev) | ^ color.c:2139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2139 | void ColorEventHandler(input) | ^ color.c:2175:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | void ColorDummyEventHandler(input) | ^ color.c:2195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2195 | void UpdatePixelForStrSeg(pStrSeg, pUserData) | ^ color.c:2220:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2220 | int UpdatePixel(ObjPtr) | ^ color.c:2373:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2373 | void UpdateXPmObjects(ObjPtr) | ^ color.c:2605:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2605 | void SaveColors(FP) | ^ color.c:2642:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2642 | int ReadColors(FP, Inbuf) | ^ color.c:2746:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2746 | void DumpRGBColorLine(FP, ColorIndex, Indent, EndOfLine) | ^ 27 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c cutpaste.c cutpaste.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 SetCutBuffer(buf, bytes_to_write, buf_is_simple_string, buf_is_utf8_string) | ^ cutpaste.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 WriteBufToCutBuffer(buf, bytes_to_write, buf_is_simple_string, | ^ cutpaste.c:203:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 203 | sprintf(gszMsgBox, TgLoadString(STID_CANT_ACQUIRE_X_SELECTION)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cutpaste.c:203:26: note: treat the string as an argument to avoid this 203 | sprintf(gszMsgBox, TgLoadString(STID_CANT_ACQUIRE_X_SELECTION)); | ^ | "%s", cutpaste.c:352:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 352 | sprintf(gszMsgBox, TgLoadString(STID_COPY_FAILED_OBJ_MAYBE_TOO_BIG)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cutpaste.c:352:29: note: treat the string as an argument to avoid this 352 | sprintf(gszMsgBox, TgLoadString(STID_COPY_FAILED_OBJ_MAYBE_TOO_BIG)); | ^ | "%s", cutpaste.c:355:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 355 | sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cutpaste.c:355:29: note: treat the string as an argument to avoid this 355 | sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); | ^ | "%s", cutpaste.c:235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | int CopyObjectToCutBuffer(force) | ^ cutpaste.c:475:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | unsigned int PasteString(CutBuffer, highlight, record_cmd) | ^ cutpaste.c:608:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | struct ObjRec *CreateTmpBoxObj(LtX, LtY, RbX, RbY) | ^ cutpaste.c:648:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | void AssignNewObjIds(ObjPtr) | ^ cutpaste.c:677:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | int CutBufferType(cut_buffer) | ^ cutpaste.c:695:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | int GetObjsFromCutBuffer(cut_buffer, len, pp_top_obj, pp_bot_obj) | ^ cutpaste.c:775:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | void FreeSelectionOrCutBuffer(cut_buffer, from_selection) | ^ cutpaste.c:786:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | char *FetchSelectionOrCutBuffer(pnLen, pnFromSelection) | ^ cutpaste.c:1075:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | char *GetTextBytesFromWindowProperty(win, property, compound_text, pul_len, | ^ cutpaste.c:1144:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | char *GetTextBytesFromGivenSelection(compound_text, pulLen, which_selection, | ^ cutpaste.c:1313:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | char *GetTextBytesFromSelection(compound_text, pulLen) | ^ cutpaste.c:1472:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | void SkipIntProp(lWhich, plSkip) | ^ cutpaste.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 TestStringProp(n1, n2, psz1, psz2, 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 SetStringProp(n1, pn2, psz1, psz2) | ^ 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 TestIntProp(n1, n2, lWhich, plSkip) | ^ cutpaste.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 TestFontProp(nDoubleByte1, nFont1, nStyle1, nDoubleByte2, nFont2, | ^ cutpaste.c:1535:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | void TestCTMProp(ctm1, transformed, ctm2, lWhich, plSkip) | ^ cutpaste.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 SetIntPropertyMask(lWhich, nValue, pszValue, plMask, plSkip, pProp) | ^ cutpaste.c:1649:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1649 | void SetFontPropertyMask(nDoubleByte, nFont, nStyle, plMask, plSkip, pProp) | ^ cutpaste.c:1673:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1673 | void SetCTMPropertyMask(ctm, plMask, plSkip, pProp) | ^ cutpaste.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 SetTextPropMask(ObjPtr, plMask, plSkip, pProp) | ^ cutpaste.c:1737:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | void SetPropMask(ObjPtr, plMask, plSkip, pProp) | ^ cutpaste.c:1889:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | int GetAngleFromCTM(ctm) | ^ cutpaste.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 DoPasteAProperty(lWhich, pProp) | ^ cutpaste.c:2002:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | void DoGetAProperty(lWhich, pProp) | ^ cutpaste.c:2146:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2146 | void WriteIntProp(pszSec, pszKey, nValue) | ^ cutpaste.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 WriteStringProp(pszSec, pszKey, nValue, pszValue) | ^ cutpaste.c:2165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2165 | void WriteFontProp(pszSec, pszKey, nFont, nStyle) | ^ cutpaste.c:2179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2179 | void WriteCTMProp(pszSec, pszKey, nTransformed, ctm) | ^ cutpaste.c:2196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | int ParseIntProp(pszBuf, pnValue) | ^ cutpaste.c:2204:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2204 | int ParseStringProp(pszBuf, pnValue, pszValue) | ^ cutpaste.c:2222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2222 | int ParseFontSzUnitProp(pszBuf, pnSzUnit) | ^ cutpaste.c:2247:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2247 | int ParseFontProp(pszBuf, pnDoubleByte, pnFont, pnStyle) | ^ cutpaste.c:2277:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2277 | int ParseCTMProp(pszBuf, pnTransformed, ctm) | ^ cutpaste.c:2337:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2337 | void WritePropToIni(lWhich, pszSec, pszKey, pProp) | ^ cutpaste.c:2392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | int ParseAProp(lWhich, pszBuf, pProp) | ^ cutpaste.c:2430:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2430 | int ReadPropFromIni(pszSec, plMask, pCheckArray, pProp) | ^ cutpaste.c:2584:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2584 | void FormatPropForDisplay(lWhich, pProp, ppir, pszBuf) | ^ cutpaste.c:2649:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2649 | int GetPropSelection(pp_dsp_ptr, ppsz_entries, pn_num_entries, pn_marked_index, | ^ cutpaste.c:2687:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2687 | int DoCopyProperties(pCheckArray, pProp) | ^ cutpaste.c:2768:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2768 | int PropSetExists(pszPropSet) | ^ cutpaste.c:2790:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2790 | int DoSaveProperties(pCheckArray, pProp) | ^ cutpaste.c:2835:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2835 | int DoPasteProperties(pCheckArray, pProp) | ^ cutpaste.c:2888:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2888 | int FreePropSelection(pp_dsp_ptr, ppsz_entries, pn_num_entries, pn_marked_index, | ^ cutpaste.c:2938:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2938 | int PropSelectionCheckUpdate(pp_dsp_ptr, ppsz_entries, pn_num_entries, | ^ cutpaste.c:2989:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2989 | void SelectProperties(pszTitle, nWhich, pCheckArray, pProp) | ^ cutpaste.c:3054:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3054 | int PrepareToCopyProperties(pProp, lMask, lSkip, pCheckArray) | ^ cutpaste.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 PrepareToPasteProperties(pszSec, plMask, pCheckArray, pProp) | ^ cutpaste.c:3128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3128 | int SetupProperties(pProp, plMask, plSkip, pCheckArray, nWhich) | ^ cutpaste.c:3171:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3171 | void FixMasksForGetProperty(pProp, plMask, plSkip) | ^ cutpaste.c:3211:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3211 | void DoGetProperty(target_index) | ^ cutpaste.c:3311:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3311 | void CopyProperties(nPrompt) | ^ cutpaste.c:3351:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3351 | int WriteBufToIni(buf, ini_fname) | ^ cutpaste.c:3383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3383 | void PasteProperties(nPrompt) | ^ cutpaste.c:3432:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3432 | int GetPropSetNames(pp_dsp_ptr, ppsz_entries, pn_num_entries, pn_marked_index, | ^ cutpaste.c:3476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3476 | int FreePropSetNames(pp_dsp_ptr, ppsz_entries, pn_num_entries, pn_marked_index, | ^ cutpaste.c:3504:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3504 | int SelectPropSetForRestore(pszTitle, pszPropSet, nPropSetSize) | ^ cutpaste.c:3603:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3603 | DspList *IniSectionListing(pszSection, pszIniFile, pnEntries) | ^ cutpaste.c:3646:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3646 | int EditIniSectionStrings(psz_title, dsp_ptr, entries, num_entries, | ^ cutpaste.c:3669:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3669 | int DefEditIniSectionCheck(psz_key, psz_value) | ^ cutpaste.c:3676:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3676 | int EditIniSectionDefAfterLoop(pp_dsp_ptr, ppsz_entries, pn_num_entries, | ^ cutpaste.c:3716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3716 | int EditIniSection(pszTitle, pszSection, pszIniFile, pf_after_loop) | ^ cutpaste.c:3768:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3768 | DspList *IniSectionKeysListing(pszSection, pszIniFile, pnEntries) | ^ cutpaste.c:3806:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3806 | int SelectFromIniSectionStrings(psz_title, dsp_ptr, entries, num_entries, | ^ cutpaste.c:3827:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3827 | char *SelectFromIniSection(pszTitle, pszSection, pszIniFile) | ^ cutpaste.c:3868:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3868 | void FreeRecentFilesListing(pkvi, max_count) | ^ cutpaste.c:3883:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3883 | KeyValInfo *RecentFilesListing(pnEntries) | ^ cutpaste.c:3947:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3947 | void OpenARecentlyUsedFile(file_index) | ^ cutpaste.c:3966:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3966 | void AddARecentlyUsedFile(path) | ^ cutpaste.c:4070:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4070 | int CreateSimpleStringObj(buf) | ^ cutpaste.c:4103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4103 | void SaveSimpleStringObj(FP, ObjPtr) | ^ cutpaste.c:4122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4122 | void ReadSimpleStringObj(FP, Inbuf, ObjPtr) | ^ cutpaste.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 FreeSimpleStringObj(ObjPtr) | ^ cutpaste.c:4192:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4192 | void UnInheritAllAttrs(obj_ptr) | ^ cutpaste.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 DoSetMarginsForImportMultipageTextFile(spec) | ^ cutpaste.c:4413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4413 | void GetCurMarginsForImportTextFile(buf) | ^ cutpaste.c:4505:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4505 | int RefreshImportMutipageTextFileMenu(menu) | ^ cutpaste.c:4524:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4524 | TgMenu *CreateImportMutipageTextFileMenu(parent_menu, x, y, menu_info, | ^ 83 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c cursor.c cursor.c:241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | void SetTextCursor(window) | ^ cursor.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 SetNullCursor(window) | ^ cursor.c:253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | void SetWatchCursor(window) | ^ cursor.c:263:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | void SetDrawCursor(window) | ^ cursor.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 SetFreeHandCursor(window) | ^ cursor.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 SetVertexCursor(window) | ^ cursor.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 SetRotateCursor(window) | ^ cursor.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 SetRotatingCursor(window) | ^ cursor.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 SetHoriShearCursor(window) | ^ cursor.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 SetVertShearCursor(window) | ^ cursor.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 SetMoveCursor(window) | ^ cursor.c:311:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | void SetHyperSpaceCursor(window) | ^ cursor.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 SetFloodFillCursor(window) | ^ cursor.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 SetDripCursor(window) | ^ cursor.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 SetHandCursor(window) | ^ cursor.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 SetDefaultCursor(window) | ^ cursor.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 PutCursor(window, x, y, foreground) | ^ cursor.c:606:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | Cursor NewFontCursor(cursor_name) | ^ cursor.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 SetWindowCursor(window, cursor) | ^ cursor.c:626:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | void DeleteFontCursor(cursor) | ^ 20 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c dialog.c dialog.c:52:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | unsigned int CornerLoop(OrigX, OrigY) | ^ dialog.c:77:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | unsigned int DrawWindowLoop(OrigX, OrigY, cursor, snap_to_grid) | ^ dialog.c:129:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | unsigned int PickAPoint(OrigX, OrigY, cursor) | ^ dialog.c:227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | void SetupMBButton(MBInfoPtr, BtnDesc, BtnCh, BtnID) | ^ dialog.c:274:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | void CalcFormatStringInBox(buf, xfs, font_height, format_box_w, pn_num_lines, | ^ dialog.c:437:8: warning: comparison of array 'info_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 437 | if (info_bits == NULL) { } | ^~~~~~~~~ ~~~~ dialog.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 CalcSimpleGeometry(MBInfoPtr, Message) | ^ dialog.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 CalcGeometry(MBInfoPtr, Message) | ^ dialog.c:572:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | int SetupMBWindow(MBInfoPtr, Message, Title, IconAndBtns, IsDialog) | ^ dialog.c:747:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | void DisplayInput(MBInfoPtr) | ^ dialog.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 HandleMsgBoxKeyEvent(MBInfoPtr, input) | ^ dialog.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 HandleDeleteMsgBox(MBInfoPtr) | ^ dialog.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 HandlePasteInDialog(MBInfoPtr, input) | ^ dialog.c:931:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | int HandleMsgBoxBtnEvent(MBInfoPtr, input) | ^ dialog.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 RefreshMsgBox(MBInfoPtr) | ^ dialog.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 MsgBox(Message, Title, IconAndBtns) | ^ dialog.c:1222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | int DoDialog(Message, ReturnStr) | ^ dialog.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 Dialog(Message, Comment, ReturnStr) | ^ 18 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c drawing.c drawing.c:131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | void SetXorDrawGC(xor_pixel) | ^ drawing.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 DrawHorizOutline(Win, Y, X1, X2, XStart, XEnd) | ^ drawing.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 DrawVertOutline(Win, X, Y1, Y2, YStart, YEnd) | ^ drawing.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 DrawSymOutline(Win, XOff, YOff, ObjPtr) | ^ drawing.c:235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | int NeedToDraw(ObjBBox) | ^ drawing.c:353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | void ShowInterrupt(CheckInterval) | ^ drawing.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 HighLightDummyWindow1(highlight) | ^ drawing.c:422:8: warning: comparison of array 'intr_bits' not equal to a null pointer is always true [-Wtautological-pointer-compare] 422 | if (intr_bits != NULL && trek_bits != NULL) { } /* do nothing but reference the variable */ | ^~~~~~~~~ ~~~~ drawing.c:422:29: warning: comparison of array 'trek_bits' not equal to a null pointer is always true [-Wtautological-pointer-compare] 422 | if (intr_bits != NULL && trek_bits != NULL) { } /* do nothing but reference the variable */ | ^~~~~~~~~ ~~~~ drawing.c:460:8: warning: comparison of array 'run_bits' not equal to a null pointer is always true [-Wtautological-pointer-compare] 460 | if (run_bits != NULL) { } /* do nothing but reference the variable */ | ^~~~~~~~ ~~~~ drawing.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 ShowRunning(dpy, win, win_w, win_h) | ^ drawing.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 DummiesEventHandler(input) | ^ drawing.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 KeyPressEventIsEscape(key_ev) | ^ drawing.c:547:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | Bool CheckESC(p_display, p_ev, psz_arg) | ^ drawing.c:577:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | int CheckInterrupt(check_esc) | ^ drawing.c:598:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | void DrawClippedPixmap(pixmap, win, gc, pixmap_w, pixmap_h, ltx, lty) | ^ drawing.c:640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | void FillClippedRectangle(win, gc, ltx, lty, orig_w, orig_h) | ^ drawing.c:679:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | int ObjInVisibleLayer(ObjPtr) | ^ drawing.c:738:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | int DrawObj(Win, ObjPtr) | ^ drawing.c:867:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | void DrawPaperBoundary(Win) | ^ drawing.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 RedrawAnArea(BotObj, LtX, LtY, RbX, RbY) | ^ drawing.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 RedrawAreas(BotObj, LtX1, LtY1, RbX1, RbY1, LtX2, LtY2, RbX2, RbY2) | ^ drawing.c:1222:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | void GetBetterBBox(ObjPtr, LtX, LtY, RbX, RbY, AlreadyFound) | ^ drawing.c:1353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | void RedrawVertSliceFromCache(start_frac, scroll_all_the_way) | ^ drawing.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 RedrawHoriSliceFromCache(start_frac, scroll_all_the_way) | ^ drawing.c:1420:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | void RedrawAreaFromCache(start_frac, scroll_all_the_way) | ^ drawing.c:1440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | void RedrawDrawWindow(BotObj) | ^ drawing.c:1654:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | Pixmap DrawAllOnPixmap(LtX, LtY, W, H, nRedraw) | ^ drawing.c:2015:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2015 | int DoShortCut(key_ev, name, key_sym, state, args) | ^ drawing.c:2894:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2894 | int ShortHand(input) | ^ drawing.c:2976:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2976 | int ExecuteCmdById(nCmdId, nIndex) | ^ drawing.c:2997:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2997 | int CallShortCut(name, argc, argv, code, state) | ^ drawing.c:3060:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3060 | int WriteAttrToTmp(attr_ptr, ptfi) | ^ drawing.c:3120:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3120 | int WriteNamedAttrsToTmp(obj_ptr, num_restricted, ppsz_restricted, ptfi, | ^ drawing.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 TmpFileChanged(ptfi) | ^ drawing.c:3229:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3229 | int ReadAttrFromTmp(attr_ptr, ptfi) | ^ drawing.c:3252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3252 | int ReadNamedAttrsFromTmp(obj_ptr, num_restricted, ppsz_restricted, ptfi) | ^ drawing.c:3275:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3275 | int AbortLaunch(pVoid) | ^ drawing.c:3285:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3285 | void EditIndexedAttrInEditor(index) | ^ drawing.c:3342:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3342 | sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drawing.c:3342:22: note: treat the string as an argument to avoid this 3342 | sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); | ^ | "%s", drawing.c:3405:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3405 | void EditIndexedAttrGroupInEditor(index) | ^ drawing.c:3463:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3463 | sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drawing.c:3463:22: note: treat the string as an argument to avoid this 3463 | sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); | ^ | "%s", drawing.c:3542:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3542 | TgMenu *CreateEditAttrInEditorMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:3576:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3576 | TgMenu *CreateEditAttrGroupInEditorMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:3610:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3610 | void GetProperty(index) | ^ drawing.c:3616:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3616 | TgMenu *CreateGetPropertyMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:3653:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3653 | void SetPeekStrings(attr_strings, status_strings, i, menu_text, status_text) | ^ drawing.c:3664:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3664 | int CanGetArea(obj_ptr) | ^ drawing.c:3680:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3680 | double GetPolygonArea(polygon_ptr) | ^ drawing.c:3733:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3733 | double GetArea(obj_ptr) | ^ drawing.c:3900:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3900 | void PeekDimension(index) | ^ drawing.c:3906:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3906 | TgMenu *CreatePeekDimensionMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:3942:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3942 | int RefreshContextMenu(menu) | ^ drawing.c:3972:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3972 | TgMenu *CreateContextMenu(parent_menu, X, Y, menu_info, status_str_xlated) | ^ drawing.c:3989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3989 | int RefreshEditTextContextMenu(menu) | ^ drawing.c:4009:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4009 | TgMenu *CreateEditTextContextMenu(parent_menu, X, Y, menu_info, | ^ drawing.c:4027:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4027 | int ContextMenu(X, Y, TrackMenubar) | ^ drawing.c:4050:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4050 | void HandleMotionForPortInDrawWindow(mouse_x, mouse_y) | ^ drawing.c:4142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4142 | void HandleMotionInDrawWindow(input) | ^ drawing.c:4240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4240 | int HandlePressForPortInDrawWindow(cancel) | ^ drawing.c:4266:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4266 | int HandlePressInDrawWindow(input, pn_status) | ^ drawing.c:4408:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4408 | int DrawingEventHandler(input) | ^ 62 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c dup.c dup.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | void CopyObjId(FromObjPtr, ToObjPtr) | ^ dup.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 CopyObjLocks(FromObjPtr, ToObjPtr) | ^ dup.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void UnlockAnObj(ObjPtr) | ^ dup.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 DupObjXfrmMtrx(FromObjPtr, ToObjPtr) | ^ dup.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 DupObjBasics(FromObjPtr, ToObjPtr) | ^ dup.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 DupPolyObj(PolyPtr, ObjPtr) | ^ dup.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 DupPolygonObj(PolygonPtr, ObjPtr) | ^ dup.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 DupOvalObj(OvalPtr, ObjPtr) | ^ dup.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 DupBoxObj(BoxPtr, ObjPtr) | ^ dup.c:446:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | void DupRCBoxObj(RCBoxPtr, ObjPtr) | ^ dup.c:482:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | void DupArcObj(ArcPtr, ObjPtr) | ^ dup.c:531:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | void DupXBmObj(XBmPtr, ObjPtr) | ^ dup.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 DupXPmObj(XPmPtr, ObjPtr) | ^ dup.c:772:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | void DupStrSeg(pToStrBlock, pFromStrSeg) | ^ dup.c:798:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | void DupStrBlock(pStrBlock, pMiniLineOwner, ppFirstStrBlock, ppLastStrBlock) | ^ dup.c:839:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | void DupMiniLine(pMiniLine, pOwnerMiniLines, pOwnerBlock, ppFirstMiniLine, | ^ dup.c:867:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | void DupMiniLines(minilines, pOwnerBlock, ppMinilines) | ^ dup.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 DupTextObj(TextPtr, FromObjPtr, ToObjPtr) | ^ dup.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 DupConnection(FromConnPtr, ToConnPtr) | ^ dup.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 DupGroupObj(GroupPtr, ObjPtr) | ^ dup.c:997:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | struct ObjRec *DupObj(ObjPtr) | ^ dup.c:1136:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | void DupTheseObjects(TopSel, BotSel, NewTopSel, NewBotSel) | ^ dup.c:1167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | void JustDupSelObj(NewTopSel, NewBotSel) | ^ 23 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c edit.c edit.c:203:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | int ConvertObjIntSpline(ObjPtr) | ^ edit.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 SetBezierPoints(n, vs, new_n, bezier_vs) | ^ edit.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 ConvertObjToBezier(ObjPtr) | ^ edit.c:486:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | int SetBezierConvertNumSegsValue(spec) | ^ edit.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 SetBezierConvertNumSegs(psz_num_segs) | ^ edit.c:784:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | void BreakATextObj(ObjPtr, how, poli) | ^ edit.c:901:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | int GetBreakSpecFromCh(spec) | ^ edit.c:923:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | void DoBreakUpText(spec, forced_justify) | ^ edit.c:1011:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | void BreakUpText(spec) | ^ edit.c:1018:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | int DoSetTextFillPatternColor(ObjPtr) | ^ edit.c:1141:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1141 | sprintf(gszMsgBox, TgLoadString(STID_VERTEX_AT_3_OCLOCK_YNC)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:1141:23: note: treat the string as an argument to avoid this 1141 | sprintf(gszMsgBox, TgLoadString(STID_VERTEX_AT_3_OCLOCK_YNC)); | ^ | "%s", edit.c:1203:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | int DeleteStructuredSplinePoint(index, poly_ptr, polygon_ptr) | ^ edit.c:1642:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | void AddPointMeasureCursor(start, abs_w, abs_h, abs_x, abs_y) | ^ edit.c:1668:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | int DetermineBefore(prev_dist, next_dist, new_prev_dist, new_next_dist) | ^ edit.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 CanAddSmoothPointForStructuredSpline(button, psssi) | ^ edit.c:1770:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1770 | int ContinueAddStructuredPolyOrPolygonPointSetup(paspi) | ^ edit.c:2012:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2012 | void ContinueAddStructuredPolyOrPolygonPointFirstMoved(paspi) | ^ edit.c:2302:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2302 | void ContinueAddStructuredPolyOrPolygonPointRestMoved(paspi) | ^ edit.c:2406:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2406 | int ContinueAddStructuredPolyOrPolygonPointFinished(paspi) | ^ edit.c:2656:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2656 | void EraseHighLightForAddStructuredPolyPoint(paspi, abs_dx, abs_dy, | ^ edit.c:2699:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2699 | int ContinueAddStructuredPolyOrPolygonPoint(obj_ptr, button, start_mouse_x, | ^ edit.c:2785:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2785 | int ContinueAddPolyPoint(ObjPtr, MouseX, MouseY, Index, PolyPtr, | ^ edit.c:3162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3162 | int ContinueAddPolygonPoint(ObjPtr, MouseX, MouseY, Index, PolygonPtr, | ^ edit.c:3926:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3926 | int ReproducePixmap(pixel_to_use, orig_pixmap, orig_image, orig_bitmap, | ^ edit.c:4013:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4013 | int RemoveObjTransPixel(obj_ptr, ptci) | ^ edit.c:4139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4139 | void RotateXY(x, y, angle_in_radian, new_x, new_y) | ^ edit.c:4157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4157 | void RotateBBoxByRadian(bbox, angle_in_radian, v) | ^ edit.c:4173:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4173 | int HighLightOrFinalLayout(arc_ptr, box_info_ptr, grid_x, grid_y, finalize) | ^ edit.c:4307:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4307 | void HighLightLayout(arc_ptr, box_info_ptr, grid_x, grid_y, generate) | ^ edit.c:4327:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4327 | void DoLayoutOnArc(arc_obj, box_info_ptr) | ^ edit.c:4397:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4397 | int ObjsAlreadySorted(box_info_ptr, min_index, max_index) | ^ edit.c:4417:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4417 | void QuickSortObjs(box_info_ptr, min_index, max_index, level) | ^ edit.c:4490:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4490 | int DecideLayoutDirection(obj_ptr) | ^ edit.c:4608:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4608 | int FinishPreciseRotate(angle_spec, pivot_x, pivot_y) | ^ edit.c:4709:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4709 | void RotateAllSelObj(angle_spec) | ^ edit.c:4874:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4874 | void UpdateOuterInnerSelForFind(obj_ptr) | ^ edit.c:4883:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4883 | struct ObjRec *DoFind(obj_ptr) | ^ edit.c:4952:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4952 | struct ObjRec *DoFindAlready(obj_ptr, bottom_half, pn_give_up) | ^ edit.c:5182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5182 | int RefreshEditMenu(menu) | ^ edit.c:5212:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5212 | TgMenu *CreateEditMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ edit.c:5229:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5229 | int EditMenu(X, Y, TrackMenubar) | ^ edit.c:5326:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5326 | void Abut(Dir) | ^ edit.c:5530:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5530 | void RefreshArrangeMenu(menu) | ^ edit.c:5535:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5535 | int ArrangeMenu(X, Y, TrackMenubar) | ^ edit.c:5552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5552 | int RefreshPropertiesMenu(menu) | ^ edit.c:5566:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5566 | TgMenu *CreatePropertiesMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ edit.c:5583:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5583 | int PropertiesMenu(X, Y, TrackMenubar) | ^ edit.c:6107:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 6107 | sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_SHADOW_FOUND)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:6107:26: note: treat the string as an argument to avoid this 6107 | sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_SHADOW_FOUND)); | ^ | "%s", edit.c:6122:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6122 | int ReadObjectShadowInfo(buf) | ^ edit.c:6151:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6151 | int ConsecutiveVerticesSelected(pn_index0, pn_index1) | ^ edit.c:6395:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6395 | int RefreshPolySplineMenu(menu) | ^ edit.c:6409:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6409 | TgMenu *CreatePolySplineMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ 52 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c eps.c eps.c:177:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | void DumpXBmByte(fp, num_nibbles, image_h, nibble_index, row_index, | ^ eps.c:202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | int UpdateEndDetectState(c, p_end_detect_state, p_line_count) | ^ eps.c:227:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | int ReadPreviewBitmap(fp, file_name, image_w, image_h, bps, bitmap, image) | ^ eps.c:397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | void AddLine(s) | ^ eps.c:419:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | unsigned long ReadDoubleWord(buf) | ^ eps.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 XbmToPreviewBitmap(FP, xbm_fname) | ^ eps.c:517:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | int ErrorInConvertTiffToXbm(fp, tiff_fp, xbm_fp, fname) | ^ eps.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 ConvertTiffToXbm(fp, tiff_offset, tiff_sz, xbm_fname, xbm_sz) | ^ eps.c:612:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | FILE *ErrorInGetTiffEPSIInfo(fp, eps_fp, fname) | ^ eps.c:673:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 673 | fprintf(stderr, TgLoadString(STID_FAIL_TO_WRITE_TO_STDOUT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eps.c:673:29: note: treat the string as an argument to avoid this 673 | fprintf(stderr, TgLoadString(STID_FAIL_TO_WRITE_TO_STDOUT)); | ^ | "%s", eps.c:628:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | FILE *GetTiffEPSIInfo(fp, pszEPS, file_buf_sz, pnPreviewOK) | ^ eps.c:741:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | void GetEPSFullPath(file_name, full_path, buf_sz) | ^ eps.c:767:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | int ConvertPsToXbm(pszPsPath, pszXbmPath, file_buf_sz) | ^ eps.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 AutoGeneratePreviewBitmap(pszPsPath, pBitmap, pImage, pnImageW, pnImageH) | ^ eps.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 DoMyReadEPSFile(file_name, pn_image_w, pn_image_h, p_bitmap, p_image, | ^ eps.c:1195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | int MyReadEPSFile(file_name, image_w, image_h, bitmap, image, num_lines, | ^ eps.c:1214:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | FILE *JustGetTiffEPSIInfo(fp, pszEPS, file_buf_sz) | ^ eps.c:1277:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | int JustReadEPSLines(xbm_ptr) | ^ eps.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 DumpEPSObj(FP, ObjPtr) | ^ eps.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 SetEPSObjCTM(obj_ptr, p_orig_obbox) | ^ eps.c:1688:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | struct ObjRec *CreateEPSObj(FileName, ImageW, ImageH, bitmap, image, | ^ 21 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c exec.c exec.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 PrependToTmpStr(psz) | ^ exec.c:497:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | int AppendToTmpStr(psz) | ^ exec.c:518:33: warning: parameter 'tg2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 518 | int AppendToTmpStr2(psz1, psz2, tg2) | ^ 519 | char *psz1, *psz2; 520 | { exec.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 AppendToTmpStr2(psz1, psz2, tg2) | ^ exec.c:536:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | int ExecuteCmdGetResult(cmd, result_list, max_lines) | ^ exec.c:574:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | struct ObjRec *FindObjWithName(BotObj, OrigObj, obj_name, inside_root_obj, | ^ exec.c:702:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | int EndingRightParan(inbuf) | ^ exec.c:714:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | int OnlyBlanksLeft(inbuf) | ^ exec.c:726:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | char *GetToken(inbuf, outbuf, obuf_sz, tok_type) | ^ exec.c:862:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | char *convert_str(inbuf, obj_ptr, double_quotes_for_null) | ^ exec.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 PipeReachedEOF(fp) | ^ exec.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 WaitForEvent(fp, fp_is_pipe, fp_is_named_pipe, pn_quit, | ^ exec.c:1117:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | int AbortLaunch(pVoid) | ^ exec.c:1128:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | void LaunchIt(cmd) | ^ exec.c:1206:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | int DoLaunch(launch_attr, obj_ptr) | ^ exec.c:1314:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | int BadCmd(cmd_name) | ^ exec.c:1324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | int BadSelectedObj(cmd_name) | ^ exec.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 BadAttr(attr_name, cmd_name) | ^ exec.c:1346:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | int FileAttrNotAllowed(attr_name, cmd_name) | ^ exec.c:1358:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | int BadObjName(obj_name, cmd_name) | ^ exec.c:1368:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | int BadArg(arg_name, cmd_name) | ^ exec.c:1380:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | void SetReplaceAttrValueCallback(pf_replace_attr_value, pv_userdata) | ^ exec.c:1388:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | int ReplaceAttrFirstValue(obj_ptr, attr_ptr, new_value) | ^ exec.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 ReplaceAttrAllValues(obj_ptr, attr_ptr, ppTopStr, ppBotStr) | ^ exec.c:1606:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | void JustReadFileIntoAttr(FP, attr_ptr, attr_owner_obj) | ^ exec.c:1756:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1756 | sprintf(gszMsgBox, TgLoadString(STID_USER_INTR)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:1756:29: note: treat the string as an argument to avoid this 1756 | sprintf(gszMsgBox, TgLoadString(STID_USER_INTR)); | ^ | "%s", exec.c:1707:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1707 | int CheckExecInterrupt(orig_cmd) | ^ exec.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 IntExpression(expr, p_ival, orig_cmd) | ^ exec.c:1808:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1808 | int FloatExpression(expr, p_dval, orig_cmd) | ^ exec.c:1830:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | void SelectAnObj(sub_obj, owner_obj, top_owner, pp_saved_top_sel, | ^ exec.c:1851:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | int ExecLaunch(argv, obj_ptr, orig_cmd) | ^ exec.c:1867:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | int ExecExec(argv, obj_ptr, orig_cmd) | ^ exec.c:1884:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1884 | int ExecMktemp(argv, obj_ptr, orig_cmd) | ^ exec.c:1978:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | int ExecUseTemplate(argv, obj_ptr, orig_cmd) | ^ exec.c:2094:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2094 | int ExecUpdChild(argv, obj_ptr, orig_cmd, upd_type) | ^ exec.c:2448:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2448 | int ExecUpdEPSChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2455 | int ExecUpdXBMChild(argv, obj_ptr, orig_cmd) | ^ 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 ExecUpdXPMChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2470:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2470 | int ExecDelChild(argv, obj_ptr, orig_cmd, upd_type) | ^ exec.c:2570:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2570 | int ExecDelEPSChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2577:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2577 | int ExecDelXBMChild(argv, obj_ptr, orig_cmd) | ^ 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 ExecDelXPMChild(argv, obj_ptr, orig_cmd) | ^ exec.c:2593:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2593 | long ms_time(tv) | ^ exec.c:2606:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2606 | int ExecFlipDeck(argv, obj_ptr, orig_cmd) | ^ exec.c:2863:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2863 | int DoReadFileIntoAttr(attr_ptr, attr_owner_obj, file_name, orig_cmd) | ^ exec.c:2917:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2917 | int ExecReadFileIntoAttr(argv, obj_ptr, orig_cmd) | ^ exec.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 ExecWriteOrAppendAttrIntoFile(argv, obj_ptr, orig_cmd, open_mode) | ^ exec.c:2998:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2998 | int ExecWriteAttrIntoFile(argv, obj_ptr, orig_cmd) | ^ exec.c:3006:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3006 | int ExecAppendAttrIntoFile(argv, obj_ptr, orig_cmd) | ^ exec.c:3014:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3014 | int ExecSelectObjByName(argv, obj_ptr, orig_cmd) | ^ exec.c:3041:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3041 | void ExecSelectTopObj(obj_ptr, orig_cmd) | ^ exec.c:3058:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3058 | void ExecDelAllSelObj(obj_ptr, orig_cmd) | ^ exec.c:3073:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3073 | void ExecUnSelectAllObj(obj_ptr, orig_cmd) | ^ exec.c:3081:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3081 | int ExecMoveSelObjRel(argv, obj_ptr, orig_cmd) | ^ exec.c:3105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3105 | int ExecRepeat(argv, obj_ptr, orig_cmd) | ^ exec.c:3134:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3134 | int ExecHyperJump(argv, obj_ptr, orig_cmd) | ^ exec.c:3161:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3161 | int MapCGIChars(buf, buf_sz, orig_str) | ^ exec.c:3195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3195 | int ExecMakeCGIQuery(argv, obj_ptr, orig_cmd) | ^ exec.c:3371:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3371 | int ExecWaitClick(argv, obj_ptr, orig_cmd) | ^ exec.c:3483:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3483 | int ExecSleep(argv, obj_ptr, orig_cmd) | ^ exec.c:3586:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3586 | void ExecBeginAnimate(obj_ptr, orig_cmd) | ^ exec.c:3598:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3598 | void ExecEndAnimate(obj_ptr, orig_cmd) | ^ exec.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 ExecSetRedraw(argv, obj_ptr, orig_cmd) | ^ exec.c:3625:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3625 | int ExecSetSelObjColor(argv, obj_ptr, orig_cmd) | ^ exec.c:3651:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3651 | int ExecSetSelObjFill(argv, obj_ptr, orig_cmd) | ^ exec.c:3674:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3674 | int ExecSetSelObjPen(argv, obj_ptr, orig_cmd) | ^ exec.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 ExecSetSelObjLineWidth(argv, obj_ptr, orig_cmd) | ^ exec.c:3735:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3735 | int ExecSetSelObjSpline(argv, obj_ptr, orig_cmd) | ^ exec.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 ExecSetSelObjArrow(argv, obj_ptr, orig_cmd) | ^ exec.c:3793:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3793 | int ExecSetSelObjDash(argv, obj_ptr, orig_cmd) | ^ exec.c:3816:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3816 | int ExecSetSelObjTransPat(argv, obj_ptr, orig_cmd) | ^ exec.c:3838:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3838 | int ExecSetSelObjRCBRadius(argv, obj_ptr, orig_cmd) | ^ exec.c:3861:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3861 | int ExecSetSelTextVSpace(argv, obj_ptr, orig_cmd) | ^ exec.c:3878:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3878 | int ExecSetSelTextJust(argv, obj_ptr, orig_cmd) | ^ exec.c:3905:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3905 | int ExecSetSelTextFont(argv, obj_ptr, orig_cmd) | ^ exec.c:3943:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3943 | int ExecSetSelTextStyle(argv, obj_ptr, orig_cmd) | ^ exec.c:3973:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3973 | int ExecSetSelTextSize(argv, obj_ptr, orig_cmd) | ^ exec.c:4014:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4014 | int ExecSetSelTextUnderline(argv, obj_ptr, orig_cmd) | ^ exec.c:4031:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4031 | int ExecSetSelTextOverline(argv, obj_ptr, orig_cmd) | ^ exec.c:4048:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4048 | int ExecInc(argv, obj_ptr, orig_cmd) | ^ exec.c:4073:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4073 | int ExecDec(argv, obj_ptr, orig_cmd) | ^ exec.c:4102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4102 | int DoShuffleObjToTopOrBottom(argv, obj_ptr, orig_cmd, to_top) | ^ exec.c:4193:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4193 | int ExecShuffleObjToTop(argv, obj_ptr, orig_cmd) | ^ exec.c:4201:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4201 | int ExecShuffleObjToBot(argv, obj_ptr, orig_cmd) | ^ exec.c:4209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4209 | void ExecDisableUndo(obj_ptr, orig_cmd) | ^ exec.c:4221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4221 | void ExecEnableUndo(obj_ptr, orig_cmd) | ^ exec.c:4229:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4229 | int ExecGetDrawingArea(argv, obj_ptr, orig_cmd) | ^ exec.c:4268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4268 | int ExecGetSelObjBBox(argv, obj_ptr, orig_cmd) | ^ exec.c:4309:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4309 | int ExecGetNamedObjBBox(argv, obj_ptr, orig_cmd) | ^ exec.c:4358:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4358 | int ExecMoveSelObjAbs(argv, obj_ptr, orig_cmd) | ^ exec.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 ExecAssign(argv, obj_ptr, orig_cmd) | ^ exec.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 ExecStrCpy(argv, obj_ptr, orig_cmd) | ^ exec.c:4441:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4441 | int ExecStrCat(argv, obj_ptr, orig_cmd) | ^ exec.c:4468:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4468 | int ExecCopyStrToCutBuffer(argv, obj_ptr, orig_cmd) | ^ exec.c:4488:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4488 | int ExecWhile(argv, raw_argv, obj_ptr, orig_cmd) | ^ exec.c:4525:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4525 | int ExecIf(argv, obj_ptr, orig_cmd) | ^ exec.c:4569:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4569 | int ExecGetCurrentFile(argv, obj_ptr, orig_cmd) | ^ exec.c:4599:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4599 | int ExecGetCurrentExportFile(argv, obj_ptr, orig_cmd) | ^ exec.c:4635:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4635 | int ExecGetCurrentDir(argv, obj_ptr, orig_cmd) | ^ exec.c:4655:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4655 | int ExecGetEnv(argv, obj_ptr, orig_cmd) | ^ exec.c:4679:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4679 | int ExecStrLen(argv, obj_ptr, orig_cmd) | ^ exec.c:4701:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4701 | int ExecSubStr(argv, obj_ptr, orig_cmd) | ^ exec.c:4740:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4740 | int ExecStrStr(argv, obj_ptr, orig_cmd) | ^ exec.c:4761:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4761 | int ExecStrRStr(argv, obj_ptr, orig_cmd) | ^ exec.c:4787:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4787 | void ExecUnMakeSelObjIconic(obj_ptr, orig_cmd) | ^ exec.c:4824:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4824 | int ExecHyperJumpThenExec(argv, obj_ptr, orig_cmd) | ^ exec.c:4854:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4854 | void ReplaceAttrShown(obj_ptr, attr_ptr, show_type) | ^ exec.c:4909:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4909 | int ExecShowHideAttr(argv, obj_ptr, orig_cmd, show_type) | ^ exec.c:4948:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4948 | int ExecShowAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:4956:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4956 | int ExecHideAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:4964:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4964 | int ExecShowAttrName(argv, obj_ptr, orig_cmd) | ^ exec.c:4972:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4972 | int ExecHideAttrName(argv, obj_ptr, orig_cmd) | ^ exec.c:4981:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4981 | int ExecShowHideValue(argv, obj_ptr, orig_cmd, show_type) | ^ exec.c:5012:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5012 | int ExecShowValue(argv, obj_ptr, orig_cmd) | ^ exec.c:5020:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5020 | int ExecHideValue(argv, obj_ptr, orig_cmd) | ^ exec.c:5028:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5028 | int ExecGetAttrBBox(argv, obj_ptr, orig_cmd) | ^ exec.c:5077:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5077 | int ExecSizeSelObjAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:5110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5110 | int ExecSizeNamedObjAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:5152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5152 | int ExecMessageBox(argv, obj_ptr, orig_cmd) | ^ exec.c:5207:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5207 | int ExecGetUserInput(argv, obj_ptr, orig_cmd) | ^ exec.c:5244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5244 | int ExecAddAttrToSelObj(argv, obj_ptr, orig_cmd) | ^ exec.c:5351:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5351 | int ExecDelAttrFromSelObj(argv, obj_ptr, orig_cmd) | ^ exec.c:5409:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5409 | int ExecUserEndAnEdge(argv, obj_ptr, orig_cmd) | ^ exec.c:5461:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5461 | int ExecUserDrawAnEdge(argv, obj_ptr, orig_cmd) | ^ exec.c:5545:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5545 | int ExecGetAPolyVertexAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:5611:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5611 | int ExecMoveAPolyVertexAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:5753:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5753 | int ExecPostAttrAndGetCGI(argv, obj_ptr, orig_cmd) | ^ exec.c:5866:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5866 | void ExecNavigateBack(obj_ptr, orig_cmd) | ^ exec.c:5874:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5874 | void ExecStop(obj_ptr, orig_cmd) | ^ exec.c:5885:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5885 | int ExecSqrt(argv, obj_ptr, orig_cmd) | ^ exec.c:5927:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5927 | int ExecRandom(argv, obj_ptr, orig_cmd) | ^ exec.c:5967:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5967 | int ExecSRand48(argv, obj_ptr, orig_cmd) | ^ exec.c:5997:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5997 | int ExecDRand48(argv, obj_ptr, orig_cmd) | ^ exec.c:6028:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6028 | int ExecRound(argv, obj_ptr, orig_cmd) | ^ exec.c:6063:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6063 | int ExecRedrawObj(argv, obj_ptr, orig_cmd) | ^ exec.c:6085:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6085 | void ExecRedrawDrawingArea(obj_ptr, orig_cmd) | ^ exec.c:6093:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6093 | int ExecIntToHex(argv, obj_ptr, orig_cmd) | ^ exec.c:6141:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6141 | int ExecForI(argv, obj_ptr, orig_cmd) | ^ exec.c:6239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6239 | void ExecSetFileNotModified(obj_ptr, orig_cmd) | ^ exec.c:6249:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6249 | int ExecNewId(argv, obj_ptr, orig_cmd) | ^ exec.c:6268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6268 | int ExecRotateSelObj(argv, obj_ptr, orig_cmd) | ^ exec.c:6297:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6297 | int ExecCallSimpleShortCut(argv, obj_ptr, orig_cmd) | ^ exec.c:6355:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6355 | int ExecCallOneArgShortCut(argv, obj_ptr, orig_cmd) | ^ exec.c:6424:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6424 | int ExecSubstituteAttr(argv, obj_ptr, orig_cmd) | ^ exec.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 ExecGetFileSize(argv, obj_ptr, orig_cmd) | ^ exec.c:6583:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6583 | int ExecIsFile(argv, obj_ptr, orig_cmd) | ^ exec.c:6610:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6610 | int ExecIndex(argv, obj_ptr, orig_cmd) | ^ exec.c:6636:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6636 | int ExecRIndex(argv, obj_ptr, orig_cmd) | ^ exec.c:6666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6666 | int ExecGetNumberOfLines(argv, obj_ptr, orig_cmd) | ^ exec.c:6701:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6701 | int ExecGetLineInAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:6764:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6764 | int ExecTrim(argv, obj_ptr, orig_cmd) | ^ exec.c:6786:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6786 | int ExecIsAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:6813:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6813 | int ExecFindObjNames(argv, obj_ptr, orig_cmd) | ^ exec.c:6939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6939 | int FindObjNamesOnAllPgs(argv, obj_ptr, orig_cmd, tg2) | ^ exec.c:7071:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7071 | int ExecFindObjNamesOnAllPgs(argv, obj_ptr, orig_cmd) | ^ exec.c:7091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7091 | int ExecTg2FindObjNsOnAllPgs(argv, obj_ptr, orig_cmd) | ^ exec.c:7111:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7111 | int ExecTokenize(argv, obj_ptr, orig_cmd) | ^ exec.c:7238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7238 | int ExecMoveAttrRel(argv, obj_ptr, orig_cmd) | ^ exec.c:7268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7268 | int ExecGetNumberOfVs(argv, obj_ptr, orig_cmd) | ^ exec.c:7306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7306 | int ExecIsObjTransformed(argv, obj_ptr, orig_cmd) | ^ exec.c:7334:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7334 | int ExecMakeSelObjIconic(argv, obj_ptr, orig_cmd) | ^ exec.c:7362:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7362 | int ExecMoveNamedObjRel(argv, obj_ptr, orig_cmd) | ^ exec.c:7395:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7395 | int ExecMoveNamedObjAbs(argv, obj_ptr, orig_cmd) | ^ exec.c:7429:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7429 | int ExecGetTgifVersion(argv, obj_ptr, orig_cmd) | ^ exec.c:7481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7481 | int ExecGetTgifDir(argv, obj_ptr, orig_cmd) | ^ exec.c:7499:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7499 | int ExecGetProfileString(argv, obj_ptr, orig_cmd) | ^ exec.c:7562:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7562 | int ExecWriteProfileString(argv, obj_ptr, orig_cmd) | ^ exec.c:7598:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7598 | int ExecSelectAdditionalObj(argv, obj_ptr, orig_cmd) | ^ exec.c:7632:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7632 | int ExecOpenFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7698:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7698 | int ExecCloseFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7734:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7734 | int ExecReadFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7789:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7789 | int ExecWriteFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7828:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7828 | int ExecFlushFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7857:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7857 | int ExecAppendFile(argv, obj_ptr, orig_cmd) | ^ exec.c:7913:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7913 | int ExecSetOutputFormat(argv, obj_ptr, orig_cmd) | ^ exec.c:7956:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7956 | int ExecSetExportClipRect(argv, obj_ptr, orig_cmd) | ^ exec.c:7993:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7993 | int ExecImportFile(argv, obj_ptr, orig_cmd) | ^ exec.c:8226:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8226 | int ExecSetXpmOutputVersion(argv, obj_ptr, orig_cmd) | ^ exec.c:8249:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8249 | int ExecEditIniSection(argv, obj_ptr, orig_cmd) | ^ exec.c:8290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8290 | int ExecSelectFromIniSection(argv, obj_ptr, orig_cmd) | ^ exec.c:8329:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8329 | int ExecAppendLineIntoAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:8369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8369 | int ExecInsertLineIntoAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:8456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8456 | int ExecClearAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:8522:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8522 | int ExecCreateText(argv, obj_ptr, orig_cmd) | ^ exec.c:8564:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8564 | int ExecCreateBox(argv, obj_ptr, orig_cmd) | ^ exec.c:8597:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8597 | int ExecCreateCornerOval(argv, obj_ptr, orig_cmd) | ^ exec.c:8632:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8632 | int ExecCreateCenterOval(argv, obj_ptr, orig_cmd) | ^ exec.c:8664:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8664 | int ExecCreateEdgeOval(argv, obj_ptr, orig_cmd) | ^ exec.c:8706:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8706 | int ExecCreateRCBox(argv, obj_ptr, orig_cmd) | ^ exec.c:8739:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8739 | int ExecCreateArc(argv, obj_ptr, orig_cmd) | ^ exec.c:8827:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8827 | int ExecCreateFirstVertex(argv, obj_ptr, orig_cmd) | ^ exec.c:8851:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8851 | int ExecCreateNextVertex(argv, obj_ptr, orig_cmd) | ^ exec.c:8878:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8878 | void ExecCreatePoly(obj_ptr, orig_cmd) | ^ exec.c:8904:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8904 | void ExecCreatePolygon(obj_ptr, orig_cmd) | ^ exec.c:8951:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8951 | void ExecStartCreateGroup(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 ExecCreateGroup(obj_ptr, orig_cmd) | ^ exec.c:9046:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9046 | int ExecSetAllowInterrupt(argv, obj_ptr, orig_cmd) | ^ exec.c:9070:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9070 | int DoExecSelectEachObjAndExec(attr_name) | ^ exec.c:9094:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9094 | int ExecSelectEachObjAndExec(argv, obj_ptr, orig_cmd) | ^ exec.c:9153:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9153 | int ExecEditAttrInTextMode(argv, obj_ptr, orig_cmd) | ^ exec.c:9173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9173 | void ExecSetFileUnSavable(obj_ptr, orig_cmd) | ^ exec.c:9186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9186 | void ExternalPsToEpsi(scale_val, src_file_name, dest_file_name) | ^ exec.c:9209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9209 | void FindGsVersion(gs_copyright, pn_gs_type, pn_gs_version) | ^ exec.c:9257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9257 | int PbmToEpsi(d_scale, pbm_fname, out_fname, orig_cmd) | ^ exec.c:9377:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9377 | int InternalPsToEpsi(scale, src_file_name, dest_file_name, orig_cmd) | ^ exec.c:9442:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9442 | int ExecPsToEpsi(argv, obj_ptr, orig_cmd) | ^ exec.c:9504:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9504 | int ExecObjsBBoxIntersect(argv, obj_ptr, orig_cmd) | ^ exec.c:9542:11: warning: comparison of array 'buf' equal to a null pointer is always false [-Wtautological-pointer-compare] 9542 | (buf==NULL ? "" : buf)); | ^~~ ~~~~ exec.c:9547:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9547 | void ExecDelAllAttrFromSelObj(obj_ptr, orig_cmd) | ^ exec.c:9588:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9588 | void Swap(psz, i, j) | ^ exec.c:9599:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9599 | void RandomPermutation(prpi, num_states) | ^ exec.c:9655:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9655 | int ExecRndPermLinesInAttr(argv, obj_ptr, orig_cmd) | ^ exec.c:9732:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9732 | char *ExecFreeArgv(need_raw_argv, argc, p_argv, p_raw_argv) | ^ exec.c:9754:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9754 | void ShowExecStatus(need_raw_argv, argc, argv, raw_argv, func_name) | ^ exec.c:9788:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9788 | char *ExecuteACommand(cmd_ptr, obj_ptr) | ^ exec.c:9916:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9916 | int ExecuteCommands(cmd, obj_ptr) | ^ exec.c:9954:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9954 | int CommentLine(buf) | ^ exec.c:9962:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9962 | int DoExec(exec_attr, obj_ptr) | ^ exec.c:10032:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10032 | void ResetExec(nBegin) | ^ exec.c:10081:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10081 | char *ReadACmdFromFile(fp, is_named_pipe, pn_quit) | ^ exec.c:10137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10137 | void DoExecCmdsFromFile(fp, is_named_pipe, pn_quit) | ^ exec.c:10192:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10192 | void ExecCmdsFromFile(buf) | ^ exec.c:10300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10300 | void ExecCmdsFromTmp(tmp_fname) | ^ exec.c:10352:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10352 | int ExecACommandFromBuffer(buf, pn_quit) | ^ 224 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c expr.c expr.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 BadOperandType(operator_str) | ^ expr.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 DivByZero(operator_str) | ^ expr.c:103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | int OpPrec(op_code) | ^ expr.c:141:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | int OpArity(op_code) | ^ expr.c:180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | int OpPush(op_code, cur_depth) | ^ expr.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 ValPush(v_ptr) | ^ expr.c:221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | void PopValStk(v_ptr) | ^ expr.c:246:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | int ExprAtomType(expr) | ^ expr.c:277:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | int EvalEquality(op_code, v, result_ptr) | ^ expr.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 EvalInequality(op_code, v, result_ptr) | ^ expr.c:424:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | int EvalMod(left, right) | ^ expr.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 MultipleOf(left, right) | ^ expr.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 EvalArithmaticOp(op_code, op_str, v, result_ptr) | ^ expr.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 ParseForNumericVal(ppsz_token, v) | ^ expr.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 ParseForStringVal(ppsz_token, v) | ^ expr.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 ParseForIDVal(ppsz_token, v) | ^ expr.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 ProcessOp(prec) | ^ expr.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 EvalExpr(orig_expr, v_ptr) | ^ 18 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c file.c file.c:225:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | char *MkTempFile(buf, buf_sz, psz_dir, psz_prefix) | ^ file.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 SetUnSavableFile(unsavable) | ^ file.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 UpdateDocumentFonts(ps_font_name) | ^ file.c:322:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | void DumpDocumentFonts(dump_fp) | ^ file.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 FindPropagatedEPSInfo(buf) | ^ file.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 DumpPropagatedEPSInfo(dump_fp) | ^ file.c:439:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | void DoUpdatePropagatedEPSInfo(index, psz_value) | ^ file.c:466:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | void UpdatePropagatedEPSInfo(line, pn_status) | ^ file.c:536:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | void DumpResidual(write_fp) | ^ file.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 AddToResidual(write_fp, buf) | ^ file.c:574:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | char *GetPostScriptToken(read_fname, pszStart, ppszEnd) | ^ file.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 CondenseAndCopyPostScriptFile(read_fp, write_fp, read_fname, condense) | ^ file.c:674:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | int CondensePostScriptFile(read_fname, buf_sz) | ^ file.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 CopyAFile(file1, file2, condense) | ^ file.c:779:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | int FindProgramInPath(cmd, msg, no_msg) | ^ file.c:832:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | int ExecuteCmd(cmd, done_msg) | ^ file.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 ClearFileInfo(clean_up_comments) | ^ file.c:900:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | int OkayToCreateFile(FileName) | ^ file.c:918:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | void SaveObj(FP, ObjPtr, Level) | ^ file.c:942:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | int FileNameHasExtension(file_name, file_type, pn_gzipped, pn_no_name) | ^ file.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 RemoveFileNameExtension(file_name) | ^ file.c:1083:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | int FixDecimalPoint(buf) | ^ file.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 Save(FP, BotObjPtr, Level, PageNumber) | ^ file.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 SaveTmpFile(NewFileName) | ^ file.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 SaveNewFile(SaveSelectedOnly, pszNewFile) | ^ file.c:2217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2217 | void SavePages(pSpecifyPagesInfo) | ^ file.c:2501:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2501 | char *ParseStr(Str, C, Left, LeftSz) | ^ file.c:2535:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2535 | char *FindChar(C, Str) | ^ file.c:2548:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2548 | void SaveCreatorID(FP, obj_ptr, psz_prefix) | ^ file.c:2565:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2565 | int ReadCreatorID(FP, ObjPtr) | ^ file.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 NumFieldsToFontStr(buf) | ^ file.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 ReadState(Inbuf) | ^ file.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 ReadObjAttrs(MinFileVersion, FP, ObjPtr) | ^ file.c:3412:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3412 | int ReadPageObj(Inbuf, ppsz_page_name) | ^ file.c:3529:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3529 | int ReadUnitObj(Inbuf) | ^ file.c:3548:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3548 | int ReadGeneratedBy(Inbuf) | ^ file.c:3582:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3582 | int ReadScriptFracObj(Inbuf) | ^ file.c:3606:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3606 | int ReadRightMarginObj(Inbuf) | ^ file.c:3627:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3627 | int ReadThreshFillReplaceObj(Inbuf) | ^ file.c:3664:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3664 | int ReadShapeShadowObj(Inbuf) | ^ file.c:3684:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3684 | int ReadFgBgColors(Inbuf) | ^ file.c:3718:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3718 | int FreeBufAndReturn(buf, rc) | ^ file.c:3726:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3726 | int ReadObj(FP, ObjPtr) | ^ file.c:4088:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4088 | void AdjForOldVersion(obj_ptr) | ^ file.c:4103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4103 | int DownloadRemoteFile(file_name, ppsz_content_type, ppsz_page_spec, | ^ file.c:4147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4147 | int ImportGivenFile(file_name, group_and_lock, highlight) | ^ file.c:4379:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4379 | sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_IMPORT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:4379:29: note: treat the string as an argument to avoid this 4379 | sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_IMPORT)); | ^ | "%s", file.c:4481:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4481 | int ClearBgColorInfo(nRedraw) | ^ file.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 ClearBgPixmapInfo(nRedraw) | ^ file.c:4618:11: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 4618 | if (!MyReadPixmapFile(tmp_xpm_fname, &image_w, &image_h, &w, &h, &pixmap, | ^ 4619 | &image, &bitmap, &bitmap_image, &ncolors, &chars_per_pixel, 4620 | &first_pixel_is_bg, &color_char, &color_str, &pixels, 4621 | &xpm_data) == BitmapSuccess) { | ~~ file.c:4618:11: note: add parentheses after the '!' to evaluate the comparison first 4618 | if (!MyReadPixmapFile(tmp_xpm_fname, &image_w, &image_h, &w, &h, &pixmap, | ^ | ( 4619 | &image, &bitmap, &bitmap_image, &ncolors, &chars_per_pixel, 4620 | &first_pixel_is_bg, &color_char, &color_str, &pixels, 4621 | &xpm_data) == BitmapSuccess) { | | ) file.c:4618:11: note: add parentheses around left hand side expression to silence this warning 4618 | if (!MyReadPixmapFile(tmp_xpm_fname, &image_w, &image_h, &w, &h, &pixmap, | ^ | ( 4619 | &image, &bitmap, &bitmap_image, &ncolors, &chars_per_pixel, 4620 | &first_pixel_is_bg, &color_char, &color_str, &pixels, 4621 | &xpm_data) == BitmapSuccess) { | ) file.c:4722:33: warning: parameter 'GzippedObjFile' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4722 | int LoadFile(FullName, ObjFile, GzippedObjFile) | ^ 4723 | char *FullName; 4724 | int ObjFile; /* equals TRUE if the file is an OBJ file */ 4725 | /* equals FALSE if the file is a SYM or PIN file */ 4726 | /* equals -1 if the file is an temporary OBJ file */ 4727 | { file.c:4722:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4722 | int LoadFile(FullName, ObjFile, GzippedObjFile) | ^ file.c:4865:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4865 | sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_OPEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:4865:29: note: treat the string as an argument to avoid this 4865 | sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_OPEN)); | ^ | "%s", file.c:4938:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4938 | void DumpPatFill(FP, Fill, BBox, Indent, EndOfLine) | ^ file.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 DumpSymOutline(FP, ObjPtr) | ^ file.c:5015:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5015 | void DumpAttrs(FP, AttrPtr) | ^ file.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 DumpAnObj(FP, ObjPtr) | ^ file.c:5209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5209 | int DumpBBox(fp, page_only, page_bbox) | ^ file.c:5313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5313 | void ModifyOutputFileName(FileName) | ^ file.c:5330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5330 | void DumpTextObjInAscii(FP, ObjPtr) | ^ file.c:5343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5343 | void DumpAttrsInAscii(FP, AttrPtr) | ^ file.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 DumpAnObjInAscii(FP, ObjPtr) | ^ file.c:5487:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5487 | int SetPortName(name, buf, buf_sz, pn_buf_index) | ^ file.c:5512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5512 | void DumpNetlListLine(FP, port_name, pMiniLine) | ^ file.c:5528:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5528 | void DumpNetListForAPort(FP, ObjPtr, buf, buf_sz, pn_buf_index) | ^ file.c:5553:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5553 | void DoDumpNetListForAnObj(FP, ObjPtr) | ^ file.c:5628:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5628 | void DumpComponentAttrs(FP, ObjPtr) | ^ file.c:5649:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5649 | void DoDumpComponentForAnObj(FP, ObjPtr) | ^ file.c:5712:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5712 | void DumpNetListForAnObj(FP, ObjPtr) | ^ file.c:5730:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5730 | void WriteWord(fp, word) | ^ file.c:5739:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5739 | void WriteDoubleWord(fp, dword) | ^ file.c:5779:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5779 | void SetPsSetup(buf) | ^ file.c:5787:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5787 | void SetBopHook(buf) | ^ file.c:5794:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5794 | void SetEopHook(buf) | ^ file.c:5820:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5820 | int GetCmdUsingDefAndXDef(buf, buf_sz, def_cmd, option, verify_count, | ^ file.c:6133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6133 | void GenTiffFile(tmp_fname, epsi_fname, condense, condensed_already) | ^ file.c:6317:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6317 | void SetOutputFileName(ps_file, file_ext, pn_short_name, ppsz_rest) | ^ file.c:6377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6377 | void DumpRegMark(fp, pstem) | ^ file.c:6394:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6394 | int FixUpSVGLine(out_fp, dup_buf) | ^ file.c:6485:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6485 | int FixUpSVGFile(tmpsvg_fname, svg_fname) | ^ file.c:6612:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 6612 | sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_TO_EXPORT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:6612:29: note: treat the string as an argument to avoid this 6612 | sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_TO_EXPORT)); | ^ | "%s", file.c:7649:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 7649 | sprintf(gszMsgBox, TgLoadString(STID_NO_CUR_FILE_CANNOT_GEN_TEXT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:7649:32: note: treat the string as an argument to avoid this 7649 | sprintf(gszMsgBox, TgLoadString(STID_NO_CUR_FILE_CANNOT_GEN_TEXT)); | ^ | "%s", file.c:6541:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6541 | int DoGenDump(FileName) | ^ file.c:7788:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7788 | int GenDump(FileName) | ^ file.c:7836:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7836 | void Dump(FileName) | ^ file.c:8066:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8066 | void DumpOnePageInTileMode(row, col) | ^ file.c:8191:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8191 | void PrintWithCommand(FileName) | ^ file.c:8371:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8371 | void DoNewProc(clear_all_wb) | ^ file.c:8433:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8433 | int BeforeOpenURL(pn_do_not_save) | ^ file.c:8468:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8468 | void OpenURL(file_name, do_not_save, pn_need_to_check_auto_exec) | ^ file.c:8596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8596 | void AfterOpenURL(need_to_check_auto_exec) | ^ file.c:8608:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8608 | void OpenProc(psz_fname_spec) | ^ file.c:8678:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 8678 | sprintf(gszMsgBox, TgLoadString(STID_SELECT_FILE_AS_TEMPLATE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:8678:26: note: treat the string as an argument to avoid this 8678 | sprintf(gszMsgBox, TgLoadString(STID_SELECT_FILE_AS_TEMPLATE)); | ^ | "%s", file.c:8893:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8893 | int RefreshFileMenu(menu) | ^ file.c:8939:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8939 | TgMenu *CreateFileMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ file.c:8956:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8956 | int FileMenu(X, Y, TrackMenubar) | ^ file.c:8972:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8972 | TgMenu *CreateRecentFilesMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ file.c:9050:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9050 | char *ReadFileIntoBuf(fname, pn_buf_sz) | ^ file.c:9086:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9086 | int WriteBufIntoTmpFile(buf, buf_sz, tmp_fname, tmp_fname_sz) | ^ 99 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c font.c font.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 IsFontDoubleByte(font_index) | ^ font.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 IsDoubleByteFontVertical(font_index, style) | ^ font.c:391:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | int CanConvertUTF8ToFont(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 CanConvertFontToUTF8(font_index) | ^ font.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 ConvertToOrFromUTF8(which, font_index, ppsz_cut_buffer) | ^ font.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 DoesFontExist(font_name, double_byte) | ^ font.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 SzUnitToFontSize(sz_unit) | ^ font.c:558:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | int SzUnitToPointSize(sz_unit) | ^ font.c:566:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | int BadDoubleByteString(pszStr, pszZero) | ^ font.c:576:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | char *GetPrevChar(nDoubleByte, pszStr, pszCur) | ^ font.c:605:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | char *GetShowFontChar(FontIndex) | ^ font.c:626:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | void RecordDoubleByteFontInfo(xfs, pszSection) | ^ font.c:657:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | void GetCurFontInfoStr(buf, buf_sz) | ^ font.c:676:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | XFontStruct *LoadAFontByName(psz_font_name, double_byte, can_debug) | ^ font.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 LoadAFont(info_index, size, can_debug, pxfs, pn_vert) | ^ font.c:750:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | struct FontSizeRec *FindFontInfo(font_index, style_index, sz_unit, must_find) | ^ font.c:869:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | void GetPSFontStr(FontIndex, StyleIndex, FontStr) | ^ font.c:890:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | XFontStruct *LoadASymbolFont(font_size) | ^ font.c:904:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | char *LookupPSFontAliases(buf) | ^ font.c:922:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | void MapAliasedPSFontName(buf, buf_sz) | ^ font.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 SetTextExtentsInfo(pTextExtents) | ^ font.c:954:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | struct StrRec *SegmentDoubleByteString(pszStr) | ^ font.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 AllocTmp16Strings(pszStr, nLen) | ^ font.c:1031:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | void MyTextExtents(xfs, pszStr, nLen, pxcs) | ^ font.c:1100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | int MyTextWidth(xfs, pszStr, nLen) | ^ font.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 MyDrawString(dpy, d, gc, nDepth, x, y, pszStr, nLen) | ^ font.c:1245:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | Pixmap PaintVertChar(pTextExtents, nRotate) | ^ font.c:1370:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | int ValidCharCode(c_ptr) | ^ font.c:1385:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | char *CharCodeTranslate(c_ptr) | ^ font.c:1424:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | void RemovePSFontNameVariations(ps_font_name_str) | ^ font.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 SaveDontReencode(FP) | ^ font.c:1461:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | int ReadDontReencode(buf) | ^ font.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 SavePSFontAliases(FP) | ^ font.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 SaveDoubleByteModBytes(FP) | ^ font.c:1533:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | void SavePSFontNeedCharSubs(FP) | ^ font.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 SavePSCharSubs(FP) | ^ font.c:1614:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | void ProcessAPSFontAlias(fake_font_name, real_font_name) | ^ font.c:1641:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | int ReadPSFontAliases(FP, buf) | ^ font.c:1682:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | void FreePSCharSubs(pppscs) | ^ font.c:1702:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1702 | int ValidCharCodeSpec(psz_char_code, token_name, pn_char_code, resource_name) | ^ font.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 ProcessCharSubs(ppscs, psz_char_code, ps_char_name, resource_name) | ^ font.c:1789:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | int ParsePSCharSubs(ppscs, c_ptr, resource_name) | ^ font.c:1822:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1822 | char *FindPSFontNeedCharSubs(ps_font_name) | ^ font.c:1836:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | PSCharSubs *FindTokenInPSCharSubs(token_name) | ^ font.c:1854:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1854 | PSCharSubs *FindPSCharSubs(ps_font_name) | ^ font.c:1865:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | void ProcessPSCharSubs(font_name, token_name) | ^ font.c:1947:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | int ReadPSFontNeedCharSubs(FP, buf) | ^ font.c:1987:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1987 | int ReadPSCharSubs(FP, buf) | ^ font.c:2054:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2054 | int DontReencodeInXDefOrCmdLine(pszFontName, nFontIndex, nFontStyle) | ^ font.c:2090:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | void UpdateEncodeCharInfo(nIndex, psz) | ^ font.c:2102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2102 | void PrepareStrSeg(pStrSeg) | ^ font.c:2136:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2136 | void PrepareStrBlock(pStrBlock) | ^ font.c:2160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2160 | void PrepareMiniLine(pMiniLine) | ^ font.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 PrepareMiniLines(minilines) | ^ font.c:2183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2183 | void PrepareText(ObjPtr) | ^ font.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 PrepareObjFontInfo(ObjPtr) | ^ font.c:2274:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2274 | int NeedEncode(FontName, FontIndex, StyleIndex) | ^ font.c:2296:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | int GetFontIndex(FontStr, StyleIndex, MustFind) | ^ font.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 GetFontAndStyle(FontStr, pnFont, pnStyle, MustFind) | ^ font.c:2373:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2373 | int GetFontIndexFromPSFontAndStyle(font_str, style, pnDoubleByte, pnModified) | ^ font.c:2416:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2416 | void InitDontReencode(buf) | ^ font.c:2572:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | void PutCurSzUnit(sz_unit) | ^ font.c:2582:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2582 | void GetCurFontMsg(buf, pStrSeg) | ^ font.c:2611:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | void CurFontMsg(nShowInMsgWindow, nShowInStatusWindow, pStrSeg) | ^ font.c:2623:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2623 | void DumpReEncodeVector(FP, vec_prefix, vec_suffix, flag_ptr) | ^ font.c:2668:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2668 | void DumpEightBitFontInfo(FP) | ^ font.c:2705:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2705 | int GetCompatibleSize(font_dpi, font_size) | ^ font.c:2801:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2801 | int TrySetCanvasFont(font, style, size, must_find_requested, pnGotRequested) | ^ font.c:2887:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2887 | void ObjFontInfoToCurFontInfo(TextPtr) | ^ font.c:2896:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2896 | void StrSegInfoToCurFontInfo(pStrSeg) | ^ font.c:2913:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2913 | void SetupFontInfoStr(num_new_fonts, first_fmly) | ^ font.c:3549:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3549 | void InitABasicFontPtr(ppFontPtr, ppszFontName, opt_name, def_font_name, | ^ font.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 SetPushedFontValue(which, value) | ^ font.c:4229:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4229 | int AdjTransformedTextBBox(ObjPtr) | ^ font.c:4258:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4258 | int ChangeStrSegFontProp(pStrSeg, which, value) | ^ font.c:4315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4315 | int ChangeStrBlockFontProp(pStrBlock, which, value) | ^ font.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 ChangeMiniLineFontProp(pMiniLine, which, value) | ^ font.c:4369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4369 | int ChangeMiniLinesFontProp(minilines, which, value) | ^ font.c:4386:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4386 | int ChangeTextFontProp(text_ptr, which, value) | ^ font.c:4405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4405 | int ChangeObjTextStyle(ObjPtr, StyleIndex) | ^ font.c:4454:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4454 | void ChangeFontStyle(StyleIndex) | ^ font.c:4548:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4548 | int ChangeObjTextJust(ObjPtr, JustIndex) | ^ font.c:4604:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4604 | void ChangeFontJust(JustIndex) | ^ font.c:4660:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4660 | int ChangeObjTextUnderline(ObjPtr, UnderlineIndex) | ^ font.c:4710:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4710 | void ChangeFontUnderline(UnderlineIndex) | ^ font.c:4767:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4767 | int ChangeObjTextOverline(ObjPtr, OverlineIndex) | ^ font.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 ChangeFontOverline(OverlineIndex) | ^ font.c:4874:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4874 | int RefreshFontStyleMenu(menu) | ^ font.c:4916:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4916 | TgMenu *CreateFontStyleMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ font.c:4934:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4934 | int StyleMenu(X, Y, TrackMenubar) | ^ font.c:4963:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4963 | int ChangeObjTextSzUnit(ObjPtr, SzUnit) | ^ font.c:5012:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5012 | void ChangeFontSize(SizeIndex) | ^ font.c:5105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5105 | int RefreshFontSizeMenu(menu) | ^ font.c:5126:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5126 | TgMenu *CreateFontSizeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ font.c:5187:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5187 | int SizeMenu(X, Y, TrackMenubar) | ^ font.c:5204:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5204 | int ChangeObjTextFont(ObjPtr, FontIndex) | ^ font.c:5253:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5253 | int ChangeFont(FontIndex, ForceNewChoice) | ^ font.c:5350:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5350 | int RefreshFontMenu(menu) | ^ font.c:5369:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5369 | TgMenu *CreateFontMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ font.c:5427:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5427 | int FontMenu(X, Y, TrackMenubar) | ^ font.c:5443:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5443 | int ChangeObjVSpace(ObjPtr, VSpace) | ^ font.c:5505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5505 | void ChangeVSpace(VSpace) | ^ font.c:5563:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5563 | void ChangeAllSelRealSzUnit(sz_unit, HighLight) | ^ font.c:5599:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5599 | void SetSelFontSize(pszBuf) | ^ font.c:5804:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5804 | void VerifyCompatibleFontIndex(font_index) | ^ font.c:5812:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5812 | void GetFontStr(FontIndex, StyleIndex, FontStr) | ^ font.c:5824:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5824 | void GetCompatibleFontName(old_font_index, style, font_str) | ^ 107 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c ftp.c ftp.c:42:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | void FtpFreeBuf(buf) | ^ ftp.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 FtpDebug(val) | ^ ftp.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | int FtpDoConnect(psz_host, us_port, pn_socket) | ^ ftp.c:83:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | char *AppendSimpleString(buf, value) | ^ ftp.c:112:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | int FtpDoWrite(n_socket, psz_path) | ^ ftp.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void FtpDumpResponse(func_name, buf) | ^ ftp.c:168:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | int FtpDoRead(n_socket, ppsz_buf, pn_buf_sz) | ^ ftp.c:301:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | int FtpSendSimpleCmd(n_socket, value) | ^ ftp.c:318:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | int FtpSendUserName(n_socket, value) | ^ ftp.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 FtpSendPassword(n_socket, password) | ^ ftp.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 FtpSendType(n_socket, type_cmd) | ^ ftp.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 FtpSendRetrieveCmd(n_socket, psz_path) | ^ ftp.c:363:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | int FtpSendListCmd(n_socket) | ^ ftp.c:371:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | int FtpSendCWDCmd(n_socket, psz_path) | ^ ftp.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 FtpSendPortCmd(n_socket, pn_data_socket) | ^ ftp.c:453:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | int FtpReadCmd(n_socket, ppsz_buf, pn_cmd) | ^ ftp.c:477:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | int FtpLogin(n_socket) | ^ ftp.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 FtpPassword(n_socket) | ^ ftp.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 FtpPort(n_socket, pn_data_socket) | ^ ftp.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 FtpType(n_socket) | ^ ftp.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 FtpRetr(n_socket, psz_path) | ^ ftp.c:609:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | int FtpCwd(n_socket, psz_path, pn_is_dir) | ^ ftp.c:646:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | int FtpGetContent(n_socket, data_socket, is_dir, ppsz_buf, pn_buf_sz) | ^ ftp.c:673:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | int FtpDoTalk(n_socket, psz_path, ppsz_buf, pn_buf_sz) | ^ 24 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c grid.c grid.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void MyHDotLine(Win, gc, Y, XStart, XEnd) | ^ grid.c:102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | void MyVDotLine(Win, gc, X, YStart, YEnd) | ^ grid.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 DrawGridLinesSetVars(pn_inc, pn_step, pn_abs_inc) | ^ grid.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void RedrawGridLines(Win) | ^ grid.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 DrawGridLines(Win, LtX, LtY, W, H) | ^ grid.c:263:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | void RedrawPageLines(Win) | ^ grid.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 DrawPageLines(Win, LtX, LtY, W, H) | ^ grid.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | void GetRightMarginSpec(buf) | ^ grid.c:361:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 361 | sprintf(gszMsgBox, TgLoadString(STID_RIGHT_MARGIN_DISABLED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grid.c:361:26: note: treat the string as an argument to avoid this 361 | sprintf(gszMsgBox, TgLoadString(STID_RIGHT_MARGIN_DISABLED)); | ^ | "%s", grid.c:631:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | void SetWhereToPrint(nIndex) | ^ grid.c:727:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | void PostZoom(xc, yc) | ^ grid.c:857:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | void FixUpZoomCenter(p_abs_cx, p_abs_cy, zooming_in) | ^ grid.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 ZoomInAtCursor(abs_x, abs_y) | ^ grid.c:1073:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | void CenterAtCursor(abs_x, abs_y) | ^ grid.c:1081:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | void PreciseZoom(zoomed_in, zoom_scale, force_zoom) | ^ grid.c:1134:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | int UpdPageStyle(NewPageStyle) | ^ grid.c:1255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | void ChangePageStyle(NewPageStyle) | ^ grid.c:1276:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | int RefreshPageStyleMenu(menu) | ^ grid.c:1291:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | TgMenu *CreatePageStyleMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1307:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | int PageStyleMenu(X, Y, TrackMenubar) | ^ grid.c:1324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | void RefreshExportFormatMenu(menu) | ^ grid.c:1342:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | TgMenu *CreateExportFormatMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.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 ExportFormatMenu(X, Y, TrackMenubar) | ^ grid.c:1419:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | int RefreshShowHideMenu(menu) | ^ grid.c:1463:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | TgMenu *CreateShowHideMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1479:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | int RefreshLayoutMenu(menu) | ^ grid.c:1521:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | TgMenu *CreateLayoutMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1537:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | int LayoutMenu(X, Y, TrackMenubar) | ^ grid.c:1574:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | void GridXY(X, Y, GridX, GridY) | ^ grid.c:1602:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1602 | int ControlKeyPressedEvent(ev) | ^ grid.c:1617:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | int DiagEventCheck(ev) | ^ grid.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 DiagGridXY(OrigX, OrigY, NewX, NewY) | ^ grid.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 MoveModeSubMenu(index) | ^ 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 RefreshMoveModeMenu(menu) | ^ grid.c:1706:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | TgMenu *CreateMoveModeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.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 MoveModeMenu(X, Y, TrackMenubar) | ^ grid.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 StretchableTextModeSubMenu(index) | ^ grid.c:1763:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | void RefreshStretchableTextModeMenu(menu) | ^ grid.c:1781:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | TgMenu *CreateStretchableTextModeMenu(parent_menu, x, y, menu_info, | ^ grid.c:1809:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1809 | int StretchableTextModeMenu(X, Y, TrackMenubar) | ^ grid.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 RefreshTransPatModeMenu(menu) | ^ grid.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 *CreateTransPatModeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1870:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1870 | int TransPatModeMenu(X, Y, TrackMenubar) | ^ grid.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 RefreshGridMenu(menu) | ^ grid.c:1910:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1910 | TgMenu *CreateGridMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ grid.c:1927:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | int GridMenu(X, Y, TrackMenubar) | ^ 46 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c group.c group.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 CreateGroupObj(TopObjPtr, BotObjPtr) | ^ group.c:104:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | void SaveGroupObj(FP, ObjPtr, Level) | ^ group.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 SaveCompObj(FP, ObjPtr, Level) | ^ group.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 SaveIconObj(FP, ObjPtr, Level) | ^ group.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void SavePinObj(FP, ObjPtr, Level) | ^ group.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 ReadGroupObj(FP, ObjType, ObjPtr) | ^ group.c:388:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | void FreeGroupObj(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 UngroupObj(ObjPtr, TopSelPtr, BotSelPtr) | ^ group.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 NoObjToUngroup(pn_force_ungroup) | ^ group.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 UngroupSelObj(highlight, record_cmd) | ^ 10 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c hash.c hash.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void FreeHashData(phd) | ^ hash.c:57:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | HashData *NewIntHashData(psz_key, key_sz, ival) | ^ hash.c:77:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | HashData *NewStrHashData(psz_key, key_sz, psz_value) | ^ hash.c:97:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | unsigned int GetBucket(p_hash, psz_key, key_sz) | ^ hash.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 CleanUpHash(p_hash) | ^ hash.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 InitHash(p_hash, which) | ^ hash.c:207:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | int HashStoreInt(p_hash, psz_key, key_sz, ival) | ^ hash.c:223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | int HashStoreStr(p_hash, psz_key, key_sz, psz_val) | ^ hash.c:239:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | int HashLookUpInt(p_hash, psz_key, key_sz, pn_value_return) | ^ hash.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 *HashLookUpStr(p_hash, psz_key, key_sz) | ^ 10 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c help.c help.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 RefreshHelpMenu(menu) | ^ help.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 HelpMenu(X, Y, TrackMenubar) | ^ 2 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c http.c http.c:93:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | void HttpFreeBuf(buf) | ^ http.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | void HttpDebug(val) | ^ http.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 DoBase64Encode(buf_in, buf_len, return_buf_in) | ^ http.c:176:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | char *Base64Encode(buf) | ^ http.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 Convert(buf4, count, buf3) | ^ http.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 DoBase64Decode(buf, buf_sz, return_buf) | ^ http.c:254:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | char *Base64Decode(buf) | ^ http.c:270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | void BubbleAuthInfoToTop(pai) | ^ http.c:285:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | char *FindAuthorization(pszHost, nPort, pszScheme, pszRealm) | ^ http.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 SetAuthorization(pszHost, nPort, pszScheme, pszRealm, pszEncodedAuth) | ^ http.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | void HttpSetReferer(buf) | ^ http.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 HttpFakeReferer(buf) | ^ http.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 *HttpHeaderGetOtherField(name) | ^ http.c:516:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | int HttpDoConnect(psz_host, us_port, pn_socket) | ^ http.c:547:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | char *AppendSimpleString(buf, name, value) | ^ http.c:585:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | char *AppendAcceptStrings(buf) | ^ http.c:606:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | char *AppendKeepAliveStrings(buf) | ^ http.c:616:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | char *AppendRefererStrings(buf) | ^ http.c:631:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | char *AppendUserAgentString(buf) | ^ http.c:640:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | char *AppendFromString(buf) | ^ http.c:649:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | char *AppendHostString(buf, psz_host, us_port) | ^ http.c:661:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | char *AppendAuthorizationString(buf) | ^ http.c:679:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | char *AppendPostContentTypeString(buf) | ^ http.c:687:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | char *AppendPostContentLengthString(buf, content_length) | ^ http.c:699:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | char *AppendPostContentString(buf, fp, content_length) | ^ http.c:727:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | char *AppendCRLFString(buf) | ^ http.c:733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | int HttpDoWrite(n_socket, psz_path, psz_host, us_port) | ^ http.c:936:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | int ParseBadFormat(buf) | ^ http.c:946:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | int ParseNoMem(buf) | ^ http.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 HttpParseHeaderLine(buf, first_line) | ^ http.c:1097:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | char *HttpExtractText(buf, pn_buf_sz, pn_html, ppsz_content_type) | ^ http.c:1229:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | int GetContentLength(buf, pn_header_len) | ^ http.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 ReadFromSocket(n_socket) | ^ http.c:1331:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | int HttpDoRead(n_socket, ppsz_buf, pn_buf_sz) | ^ 34 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c imgproc.c imgproc.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 ParseThreshFillReplaceSpec(spec) | ^ imgproc.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 TrueColorPixelWithinRange(pixel, ptfri) | ^ imgproc.c:237:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | int OtherPixelWithinRange(pixel, ptfri) | ^ imgproc.c:270:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | int GetPixelRGB(ptfri, pixel, pxc_pixel) | ^ imgproc.c:329:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | int SetupThreshFillReplaceInfo(ptfri, pixel, pxc_pixel) | ^ imgproc.c:412:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | int DoPpm6(xpm_ptr) | ^ imgproc.c:426:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | int FreePreprocessPixels(h, xcolors) | ^ imgproc.c:463:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | XColor **PreprocessOneImagePixels(w, h, image, bitmap_image) | ^ imgproc.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 SetConvExtraInfo(fp, image_w, image_h, image, bitmap_image) | ^ imgproc.c:670:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | char *GetImageProcName(nCmdId) | ^ imgproc.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 TrueColorTransPixelCheck(obj_ptr, cmdid) | ^ imgproc.c:714:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | int CurColorIsTranscolor(trans_color_r, trans_color_g, trans_color_b) | ^ imgproc.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 CheckSelectionForImageProc(cmdid) | ^ imgproc.c:796:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | int GetXPmImages(xpm_ptr, p_image, p_bitmap_image) | ^ imgproc.c:912:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | int GetOrAllocHistogramIndex(pcolor) | ^ imgproc.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 PixelToIndexHash(pixel) | ^ imgproc.c:977:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | int GetIndexOfPixel(pixel) | ^ imgproc.c:996:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | void UpdatePixelToIndexMapping(buckets, pixel, index) | ^ imgproc.c:1018:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | int AllocTmpBuckets(populate_with_color_pixels) | ^ imgproc.c:1078:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | int CreateObjPixelToIndexMapping(xpm_ptr) | ^ imgproc.c:1170:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | int DumpConvolution(fp) | ^ imgproc.c:1260:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | int DumpQuantizedConvolution(fp) | ^ imgproc.c:1367:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | int AlreadySorted(nMinIndex, nMaxIndex, nLongAxis) | ^ imgproc.c:1402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | void DebugSortACube(nMinIndex, nMaxIndex, nLevel, nLongAxis) | ^ imgproc.c:1465:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | void QuickSortACube(nMinIndex, nMaxIndex, nLevel, nLongAxis) | ^ imgproc.c:1547:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | void SweepACube(cube_index) | ^ imgproc.c:1591:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | int SplitACube(cube_index, pul_before_count, pul_after_count) | ^ imgproc.c:1773:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | int DoConvolution(fp, image, bitmap_image, w, h, xpm_ptr) | ^ imgproc.c:1938:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1938 | int DoColorMapping(fp, image, bitmap_image, w, h, xpm_ptr) | ^ imgproc.c:2051:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2051 | FILE *GetImageProcOutputFileName(pszPath, path_buf_sz, pnShortName, ppszRest) | ^ imgproc.c:2078:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2078 | int CleanUpProcessImage(fp, image, bitmap_image) | ^ imgproc.c:2222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2222 | int DoImageProc(pvImageMapColorFunc) | ^ imgproc.c:2476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2476 | void ChangeToGray(nColorIndex, pColor) | ^ imgproc.c:2526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2526 | void ChangeToInvertColor(nColorIndex, pColor) | ^ imgproc.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 ChangeToInterpolateColor(nColorIndex, pColor) | ^ imgproc.c:2703:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2703 | void ChangeToBrightenDarken(nColorIndex, pColor) | ^ imgproc.c:2801:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2801 | void RGBtoHSV(r, g, b, h, s, v) | ^ imgproc.c:2848:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2848 | void HSVtoRGB(h, s, v, r, g, b) | ^ imgproc.c:2914:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2914 | void ChangeToChangeSaturation(nColorIndex, pColor) | ^ imgproc.c:3031:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3031 | int HueInFromRange(fHue) | ^ imgproc.c:3047:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3047 | void ChangeToChangeHue(nColorIndex, pColor) | ^ imgproc.c:3217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3217 | void ChangeToContrastEnhance(nColorIndex, pColor) | ^ imgproc.c:3319:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3319 | void ChangeToColorBalance(nColorIndex, pColor) | ^ imgproc.c:3427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3427 | void ChangeToGamma(nColorIndex, pColor) | ^ imgproc.c:3485:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3485 | void Gamma(buf) | ^ imgproc.c:3536:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3536 | int ConvolveToEdgeDetect(x, y) | ^ imgproc.c:3708:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3708 | int ConvolveToEmboss(x, y) | ^ imgproc.c:3799:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3799 | int ConvolveToReduceColors(x, y) | ^ imgproc.c:3866:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3866 | void FreeTargetColors(ncolors) | ^ imgproc.c:3880:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3880 | int AllocTargetColors(ncolors) | ^ imgproc.c:3898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3898 | int GetClosestColorIndex(red_bits, green_bits, blue_bits, red, green, blue, | ^ imgproc.c:4034:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4034 | int ConvolveToErrorDiffuse(x, y) | ^ imgproc.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 ConvolveToReduceToPixmapColors(x, y) | ^ imgproc.c:4126:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4126 | int GetIntensity(index, max_levels) | ^ imgproc.c:4145:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4145 | int DoPrepareForErrorDiffuse(xpm_ptr) | ^ imgproc.c:4316:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4316 | int PrepareForErrorDiffuse(xpm_ptr) | ^ imgproc.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 MapTargetColors(xpm_ptr) | ^ imgproc.c:4547:24: warning: too few arguments in call to 'FreeTargetColors' 4547 | FreeTargetColors(); | ~~~~~~~~~~~~~~~~ ^ imgproc.c:4579:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4579 | int GetMobileWebSafeIntensity(index) | ^ imgproc.c:4695:21: warning: too few arguments in call to 'FreeTargetColors' 4695 | FreeTargetColors(); | ~~~~~~~~~~~~~~~~ ^ imgproc.c:4723:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4723 | int ParseDefaultColorLevels(buf, p_xcolor) | ^ imgproc.c:4863:21: warning: too few arguments in call to 'FreeTargetColors' 4863 | FreeTargetColors(); | ~~~~~~~~~~~~~~~~ ^ imgproc.c:4953:21: warning: too few arguments in call to 'FreeTargetColors' 4953 | FreeTargetColors(); | ~~~~~~~~~~~~~~~~ ^ imgproc.c:4969:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4969 | int ConvolveToSpread(x, y) | ^ imgproc.c:5133:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5133 | int ConvolveToSharpen(x, y) | ^ imgproc.c:5251:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5251 | int ConvolveToBlur(x, y) | ^ imgproc.c:5340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5340 | void Blur(nSize) | ^ imgproc.c:5375:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5375 | int PointInRect(x, y, p_bbox) | ^ 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 ConvolveToAlphaCombine(x, y) | ^ imgproc.c:5529:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5529 | void OffsetRect(p_bbox, dx, dy) | ^ imgproc.c:5649:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5649 | int ConvolveToSubtract(x, y) | ^ imgproc.c:5837:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5837 | int ConvolveToXorColors(x, y) | ^ imgproc.c:6108:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6108 | void CleanTrapMapNode(pTrapMapNode) | ^ imgproc.c:6165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6165 | int SetTrapMapLeaf(pTrapMapSpecRoot, pnIndex, pTrapMapNode, nWhich) | ^ 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 SetTrapMapPt(pTrapMapSpecRoot, pnIndex, pTrapMapNode, nWhich) | ^ imgproc.c:6209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6209 | int SetTrapMapSeg(pTrapMapSpecRoot, pnIndex, pTrapMapNode, nWhich) | ^ imgproc.c:6239:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6239 | int BuildTrapMapNode(pTrapMapSpecRoot, pnIndex, pTrapMapNode) | ^ imgproc.c:6262:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6262 | int BuildTrapMap(pTrapMapSpec) | ^ imgproc.c:6337:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6337 | int ConvolveToVectorWarp(x, y) | ^ imgproc.c:6384:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6384 | void SetTrapMapSegValue(nSegIndex, nPtIndex, w) | ^ imgproc.c:6410:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6410 | void SetTrapMapExtraValue(nLeafIndex, end_x, end_y, w) | ^ imgproc.c:6434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6434 | int CheckVectorWarpCoords(pFromPt, pToPt, dx, dy, image_w, image_h, pBBox) | ^ imgproc.c:6626:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6626 | int GetQuadrant(pTrapMap, x, y) | ^ imgproc.c:6664:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6664 | int ComputeVectorWarpData(pFromPt, dx, dy) | ^ imgproc.c:6864:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6864 | int SpecifyLineSeg(pnFromAbsX, pnFromAbsY, pnToAbsX, pnToAbsY) | ^ imgproc.c:6989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6989 | int GetBggenImageSize(p_image_w, p_image_h) | ^ imgproc.c:7025:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7025 | int BggenGenerateXpm(image_w, image_h, sz_spec, sz_path, path_buf_sz) | ^ imgproc.c:7208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7208 | int CircularBggenGenerateXpm(image_w, image_h, ncolors, sz_path, path_buf_sz) | ^ imgproc.c:7463:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7463 | int SimpleRectBggenGenerateXpm(image_w, image_h, pxcolor, sz_path, path_buf_sz) | ^ imgproc.c:7698:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7698 | int RegenerateImageFile(pszPath, xpm_ptr) | ^ imgproc.c:8021:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8021 | void ContinueCrop(nObjAbsLtX, nObjAbsLtY, nStartXOff, nStartYOff, | ^ imgproc.c:8092:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8092 | int GetCropArea(obj_abs_ltx, obj_abs_lty, pbbox) | ^ imgproc.c:8340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8340 | void SetCurrentColor(xpm_ptr, image, bitmap_image, image_x, image_y) | ^ imgproc.c:8399:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8399 | void DoGetColor(obj_ptr) | ^ imgproc.c:8544:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8544 | unsigned int FillReplacePickAPoint(OrigX, OrigY, EndX, EndY, AllowDrag, cursor) | ^ imgproc.c:8614:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8614 | void DoReplaceAColor(obj_ptr, image, bitmap_image, image_x, image_y, | ^ imgproc.c:8804:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8804 | int ContinueReplaceColor(obj_ptr) | ^ imgproc.c:9105:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 9105 | snprintf(gszMsgBox, sizeof(gszMsgBox), TgLoadString(STID_CANNOT_FIND_GOOD_TRANSPIX)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imgproc.c:9105:52: note: treat the string as an argument to avoid this 9105 | snprintf(gszMsgBox, sizeof(gszMsgBox), TgLoadString(STID_CANNOT_FIND_GOOD_TRANSPIX)); | ^ | "%s", imgproc.c:8925:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8925 | int SetupReplaceColorInfo(obj_ptr, prci) | ^ imgproc.c:9184:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9184 | int SelectThisPixelForFloodFill(c, r, pixel, image) | ^ imgproc.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 FloodFillAddToQueue(plist, c, r, dir, pbbox) | ^ imgproc.c:9244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9244 | void FloodFillBFS(image, pixel, image_w, image_h, plist, map, pbbox) | ^ imgproc.c:9318:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9318 | void CalcFloodFill(c, r, pixel, image, image_w, image_h, dir, map, pbbox) | ^ imgproc.c:9333:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9333 | void DoFloodFill(image, image_w, map, pbbox) | ^ imgproc.c:9353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9353 | void StartFloodFill(obj_ptr, image, bitmap_image, image_x, image_y, | ^ imgproc.c:9478:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9478 | int TryFloodFill(obj_ptr, image_w, image_h, image, bitmap_image, button, | ^ imgproc.c:9530:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9530 | void GetUntransformedPoint(obj_ptr, abs_x, abs_y, v) | ^ imgproc.c:9548:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9548 | int ContinueFloodFill(obj_ptr) | ^ imgproc.c:9756:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 9756 | sprintf(gszMsgBox, TgLoadString(STID_FLOOD_REPLACE_DISABLED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imgproc.c:9756:26: note: treat the string as an argument to avoid this 9756 | sprintf(gszMsgBox, TgLoadString(STID_FLOOD_REPLACE_DISABLED)); | ^ | "%s", imgproc.c:9832:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9832 | int OnContour(x, y) | ^ imgproc.c:9852:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9852 | int ProbeContour(x, y, dir, pn_new_x, pn_new_y) | ^ imgproc.c:9871:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9871 | int ContourNeighbor(x, y, last_dir, pn_new_x, pn_new_y) | ^ imgproc.c:9906:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9906 | int CreatePolyFromContour(num_pts) | ^ imgproc.c:10028:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10028 | int StartCreateContour(obj_ptr, image, bitmap_image, image_x, image_y, | ^ imgproc.c:10095:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10095 | int ContinueCreateContour(obj_ptr) | ^ imgproc.c:10367:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10367 | int RefreshImageProcMenu(menu) | ^ imgproc.c:10383:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10383 | TgMenu *CreateImageProcMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ imgproc.c:10400:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10400 | int ImageProcMenu(X, Y, TrackMenubar) | ^ 118 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c import.c import.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 MillisecondSleep(ms) | ^ import.c:103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | int ExtensionMatch(Spec, DirName) | ^ import.c:124:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | char *SetUpExtStr(cbBuf, pszExt, pszOtherExt) | ^ import.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 InvalidFilterSpecMsg(pszEntry, pszValue, nExplain) | ^ import.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 CountPercentS(buf) | ^ import.c:221:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | char *FindBlank(pszStr, ppszEnd) | ^ import.c:452:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | int ImportGivenXBitmapFile(remote_file, tmp_fname, xbm_fname, stid_success, | ^ import.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 ImportGivenXPixmapFile(remote_file, tmp_fname, xpm_fname, stid_success, | ^ import.c:697:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | void ImportEPSFile(Embed, psz_fname_spec) | ^ import.c:1049:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | int ConvertGifToXpm(pszGifPath, pszXpmPath, xpm_path_sz) | ^ import.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 ConvertPngToXpm(pszPngPath, pszXpmPath, xpm_path_sz) | ^ import.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 ConvertJpegToXpm(pszJpegPath, pszXpmPath, xpm_path_sz) | ^ import.c:1260:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | int ConvertImageFileToPpm6(pszImageFilePath, pszPpm6Path, ppm6_path_sz, format) | ^ import.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 ConvertJpegToPpm6(pszJpegPath, pszPpm6Path, ppm6_path_sz) | ^ import.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 ConvertPngToPpm6(pszPngPath, pszPpm6Path, ppm6_path_sz) | ^ import.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 ConvertGifToPpm6(pszGifPath, pszPpm6Path, ppm6_path_sz) | ^ import.c:1373:62: warning: parameter 'which' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1373 | int FinishImport(remote_file, remote_tmp_fname, local_fname, which, pn_image_w, | ^ 1374 | pn_image_h) 1375 | int remote_file, *pn_image_w, *pn_image_h; 1376 | char *remote_tmp_fname, *local_fname; 1377 | { 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 FinishImport(remote_file, remote_tmp_fname, local_fname, which, pn_image_w, | ^ import.c:1614:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | void ImportJPEGFile(Embed, psz_fname_spec) | ^ import.c:1834:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1834 | int ConvertPbmToXbm(pszPbmPath, pszXbmPath, xbm_path_sz) | ^ import.c:1981:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1981 | int ConvertPgmToXpm(pszPgmPath, pszXpmPath, xpm_path_sz) | ^ import.c:2128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | int ConvertPpmToXpm(pszPpmPath, pszXpmPath, xpm_path_sz) | ^ import.c:2246:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2246 | DspList *ImportFilterListing(pnEntries) | ^ import.c:2272:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2272 | int ChooseAnImportFilter(top_str, entries, num_entries) | ^ import.c:2293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | int SelectAnImportFilter(pszSelected) | ^ import.c:2327:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2327 | int ConvertAnyToXpm(pii, pszAnyPath, pszXpmPath, xpm_path_sz) | ^ import.c:2412:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2412 | int ReadFourBytes(psz_path, magic_buf, magic_buf_sz) | ^ import.c:2431:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | int DoImportOtherFile(pii, psz_path) | ^ import.c:2596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2596 | void ImportOtherFileType(pszName) | ^ import.c:2622:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2622 | int ImportSpecifiedFileType(psz_path, psz_filter) | ^ import.c:2641:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2641 | int ConvertOtherToXpm(pszFile, pszFormat, pszXpmPath, xpm_path_sz) | ^ import.c:2677:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2677 | sprintf(szTop, TgLoadString(STID_SEL_ANIM_GIF_FILE_TO_IMPORT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import.c:2677:19: note: treat the string as an argument to avoid this 2677 | sprintf(szTop, TgLoadString(STID_SEL_ANIM_GIF_FILE_TO_IMPORT)); | ^ | "%s", import.c:2938:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2938 | void InitBrowse(pszDir, ObjType) | ^ import.c:3016:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3016 | struct ObjRec *ImportForThumbnails(fname, p_bbox_w, p_bbox_h) | ^ import.c:3078:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3078 | int RegenerateImageFile(pszPath) | ^ import.c:3105:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3105 | struct ObjRec *MyRegenerateImage(obj_ptr) | ^ import.c:3159:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3159 | struct ObjRec *GenerateXpmThumbnail(imported_obj) | ^ import.c:3232:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3232 | int BrowseDir(DirName, ExtStr, ExtStrLen, ObjType, pii) | ^ import.c:3453:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3453 | void StartBrowse(DirName, ExtStr, ExtStrLen, ObjType, pii) | ^ import.c:3563:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3563 | void BrowseOtherType(pszName) | ^ import.c:3627:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3627 | int EnumPopupMenuProcToHide(menu_index, win, pUserData) | ^ import.c:3655:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3655 | int EnumPopupMenuProcToShow(menu_index, win, pUserData) | ^ import.c:3666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3666 | int EnumPopupMenuProcToUpdate(menu_index, win, pUserData) | ^ import.c:3700:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3700 | struct ObjRec *CreatePpmTrueObjFromImage(image, image_w, image_h, | ^ import.c:3814:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3814 | void CaptureUpdateBox(OrigX, OrigY, end_x, end_y) | ^ 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 ContinueScreenCapture(OrigX, OrigY) | ^ import.c:3997:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3997 | int RefreshScreenCaptureMenu(menu) | ^ import.c:4019:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4019 | TgMenu *CreateScreenCaptureMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ import.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 RefreshImportMenu(menu) | ^ import.c:4057:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4057 | TgMenu *CreateImportMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ 50 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c ini.c ini.c:65:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | int InvalidPath(pszFile) | ^ ini.c:75:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | int GetLastModifiedTime(pszFile, pFileTime) | ^ ini.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | int CompareFileTime(pNewFileTime, pOldFileTime) | ^ ini.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 UnlinkFileInfo(ptifi) | ^ ini.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 DiscardEntryInfo(ptiei) | ^ ini.c:132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | void DiscardSectionInfo(ptisi) | ^ ini.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 WriteOutIniFile(ptifi, pszAltFile) | ^ ini.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 DiscardFileInfo(ptifi) | ^ ini.c:229:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | TGINIENTRYINFO *AllocEntryInfo(ptisi, pszEntry, pszValue) | ^ ini.c:265:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | TGINISECTIONINFO *AllocSectionInfo(ptifi, pszSection, bValuelessKey) | ^ ini.c:299:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | TGINIFILEINFO *AllocFileInfo(pszFile) | ^ ini.c:337:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | int ParseFile(ptifi) | ^ ini.c:405:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | TGINIENTRYINFO *FindEntryInfo(ptisi, pszEntry) | ^ ini.c:438:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | TGINISECTIONINFO *FindSectionInfo(ptifi, pszSection) | ^ ini.c:456:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | TGINIFILEINFO *TgIniFindFileInfo(pszFile, bAutoLoad) | ^ ini.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 TgIniDiscardFileInfo(pszFile) | ^ ini.c:510:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | void TgIniBeginFastProfile(ptifi) | ^ ini.c:517:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | void TgIniEndFastProfile(ptifi) | ^ ini.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 TgIniSetProfileStripQuotes(ptifi, bStripQuotes) | ^ ini.c:538:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | char *TgIniGetProfileString(pszSection, pszEntry, ptifi) | ^ ini.c:635:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | int TgIniWriteProfileString(pszSection, pszEntry, pszValue, ptifi) | ^ ini.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 TgIniBeginDupKeySection(pszSection, ptifi) | ^ ini.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 TgIniEndDupKeySection(pszSection, ptifi) | ^ ini.c:734:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | int TgIniBeginValuelessKeySection(pszSection, ptifi) | ^ ini.c:766:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | void TgIniEndValuelessKeySection(pszSection, ptifi, bValuelessKey) | ^ ini.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 TgIniIsValuelessKeySection(pszSection, ptifi) | ^ ini.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 TgIniDeleteDupKeyValue(pszSection, pszEntry, pszValue, ptifi) | ^ ini.c:858:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | char *tgFreeProfileString(pszStr) | ^ ini.c:865:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | void tgBeginFastProfile(pszFile) | ^ ini.c:875:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | void tgEndFastProfile(pszFile) | ^ ini.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 tgSetProfileStripQuotes(pszFile, bStripQuotes) | ^ ini.c:896:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | char *tgGetProfileString(pszSection, pszEntry, pszFile) | ^ ini.c:906:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | int tgGetProfileInt(pszSection, pszEntry, nDefault, pszFile) | ^ ini.c:930:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | int tgWriteProfileString(pszSection, pszEntry, pszString, pszFile) | ^ ini.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 tgBeginDupKeySection(pszSection, pszFile) | ^ ini.c:956:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | void tgEndDupKeySection(pszSection, pszFile) | ^ ini.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 tgBeginValuelessKeySection(pszSection, pszFile) | ^ ini.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 tgEndValuelessKeySection(pszSection, pszFile, bValuelessKey) | ^ ini.c:999:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | int tgIsValuelessKeySection(pszSection, pszFile) | ^ ini.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 tgDeleteDupKeyValue(pszSection, pszEntry, pszValue, pszFile) | ^ 40 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c inmethod.c inmethod.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 KinputCleanUp(dpy, win) | ^ inmethod.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 KinputInit(dpy, win, arg) | ^ inmethod.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 KinputFocusIn(dpy, win) | ^ inmethod.c:289:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | int KinputFocusOut(dpy, win) | ^ inmethod.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 KinputSendKey(dpy, win, key_ev, buf) | ^ inmethod.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 KinputConvProperty(dpy, win, prop_ev, ppsz_buf) | ^ inmethod.c:323:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | int KinputExpectCM(dpy, win) | ^ inmethod.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 KinputHandleCM(dpy, win, cm_ev, key_ev, buf) | ^ inmethod.c:344:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | int KinputActiveOnCntrlSpace(dpy, win) | ^ inmethod.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 KinputHandleCntrlSpace(dpy, win) | ^ inmethod.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 KinputDeactiveOnCreateText(dpy, win) | ^ inmethod.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 KinputHandleCreateText(dpy, win) | ^ inmethod.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 KinputTellCursorPos(dpy, win, cur_x, cur_y) | ^ inmethod.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 XimCleanUp(dpy, win) | ^ inmethod.c:401:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | int XimInit(dpy, win, arg) | ^ inmethod.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 XimFocusIn(dpy, win) | ^ inmethod.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 XimFocusOut(dpy, win) | ^ inmethod.c:436:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | int XimDeactiveOnCreateText(dpy, win) | ^ inmethod.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 XimHandleCreateText(dpy, win) | ^ inmethod.c:453:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | int XimExpectNextEvent(dpy, win) | ^ inmethod.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 XimHandleNextEvent(dpy, win, ev) | ^ inmethod.c:472:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | int XimHandleNewCurText(dpy, win) | ^ inmethod.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 XimExpectLookupString(dpy, win) | ^ inmethod.c:492:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | int XimHandleLookupString(dpy, win, key_ev, psz_buf, buf_size, p_key_sym, | ^ inmethod.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 XimTellCursorPos(dpy, win, cur_x, cur_y) | ^ inmethod.c:521:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | void Tgtwb5CleanUp(dpy, win) | ^ inmethod.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 Tgtwb5Init(dpy, win, arg) | ^ inmethod.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 Tgtwb5SendKey(dpy, win, key_ev, buf) | ^ inmethod.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 Tgtwb5ExpectCM(dpy, win) | ^ inmethod.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 Tgtwb5ActiveOnCntrlSpace(dpy, win) | ^ inmethod.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 Tgtwb5HandleCntrlSpace(dpy, win) | ^ inmethod.c:573:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | int Tgtwb5DeactiveOnCreateText(dpy, win) | ^ inmethod.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 Tgtwb5HandleCreateText(dpy, win) | ^ inmethod.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 InputMethodTypeMatched(double_byte) | ^ inmethod.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 tgIMFocusIn(dpy, win) | ^ inmethod.c:870:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | int tgIMFocusOut(dpy, win) | ^ inmethod.c:881:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | int tgIMTranslateKeyEvent(dpy, win, key_ev, buf) | ^ 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 tgIMConvertProperty(dpy, win, prop_ev, ppsz_buf) | ^ inmethod.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 tgIMExpectClientMessage(dpy, win) | ^ inmethod.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 tgIMHandleClientMessage(dpy, win, cm_ev, key_ev, buf) | ^ inmethod.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 tgIMActiveOnCntrlSpace(dpy, win) | ^ inmethod.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 tgIMHandleCntrlSpace(dpy, win) | ^ inmethod.c:956:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | int tgIMDeactiveOnCreateText(dpy, win) | ^ inmethod.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 tgIMHandleCreateText(dpy, win) | ^ inmethod.c:979:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | int tgIMTellCursorPosition(dpy, win, cur_x, cur_y) | ^ 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 tgIMExpectNextEvent(dpy, win) | ^ inmethod.c:1003:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | int tgIMHandleNextEvent(dpy, win, ev) | ^ inmethod.c:1015:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | int tgIMHandleNewCurText(dpy, win) | ^ inmethod.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 tgIMExpectLookupString(dpy, win) | ^ inmethod.c:1037:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | int tgIMHandleLookupString(dpy, win, key_ev, psz_buf, buf_size, p_key_sym, | ^ 50 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c list.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c mainloop.c mainloop.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 AddExtraWinInfo(win, mapped, raise, expose_handler, ev_handler, | ^ mainloop.c:223:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | char *MySetLocale(category, new_locale) | ^ mainloop.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 ExecWithFile(CmdName, FileName) | ^ mainloop.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 DeallocStrings(FStr, Str1, Menu1, Str2, Menu2, Str3, Menu3) | ^ 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 AllocStrings(FStr, Str1, Menu1, Str2, Menu2, Str3, Menu3) | ^ mainloop.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 ExposeEventHandler(input, recursive) | ^ mainloop.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 GzipFile(fname, gzipped_fname) | ^ mainloop.c:571:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | char *GunzipFileIntoTemp(gzipped_fname) | ^ mainloop.c:665:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | int FindXApplResDir(psz_srch_path, psz_target_dir, cb_target_dir) | ^ mainloop.c:767:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | int JustLoadAFile(pszFile, pnNeedToCheckAutoExec, nAttemptToMerge, pnAbortMerge) | ^ mainloop.c:1096:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | void SigchldHandler(sig) | ^ mainloop.c:1105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | int JustInit(pszFile, pnNeedToCheckAutoExec) | ^ mainloop.c:1392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | int GetAnXEvent(pXEvent) | ^ mainloop.c:1504:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | int TryProcessAnXEvent(pnNeedToCheckAutoExec) | ^ mainloop.c:1663:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1663 | int TryProcessAnAbortXEvent(esc_to_abort, pf_abort_callback, p_void) | ^ mainloop.c:1710:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | void MainLoop(Op, FileName, FuncStr, Str1, Menu1, Str2, Menu2, Str3, Menu3) | ^ mainloop.c:1825:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | void UrlDump(pszUrl) | ^ mainloop.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 DosEpsFilter(pszUrl) | ^ mainloop.c:1887:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | void HandleSimpleEvent(input) | ^ mainloop.c:1916:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1916 | void AllocReturnStr(ReturnStr) | ^ mainloop.c:1922:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1922 | void Animate(TypeStr, PolyId, SpeedStr, ColorStr, ReturnStr) | ^ mainloop.c:2005:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2005 | void MyFormat(Str) | ^ mainloop.c:2028:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | void UpdAttrVal(ObjId, AttrName, AttrColor, AttrVal, ReturnStr) | ^ mainloop.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 SetLastKeyEvInfo(key_ev) | ^ mainloop.c:2119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | void SetLastBtnEvInfo(button_ev) | ^ 25 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c mainmenu.c mainmenu.c:205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | void SaveMainWinPosition(x, y) | ^ mainmenu.c:215:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | void MoveMainMenuWindow(x, y) | ^ mainmenu.c:233:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | void GetPopupXY(win, px, py) | ^ mainmenu.c:259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | void GetPopupWH(win, pw, ph) | ^ mainmenu.c:320:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | void RepositionSubMenuWindow(win, menu_index, OrigCursorX, OrigCursorY) | ^ mainmenu.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 TgSubMenuExposeHandler(input, win_info) | ^ mainmenu.c:389:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | void ComputeSubMenuWinXY(win, x, y) | ^ mainmenu.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 TgUpdateMenuBBox(menu, pn_win_x, pn_win_y) | ^ mainmenu.c:431:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | void TgShowPullDownStatus(menu, new_selected) | ^ mainmenu.c:450:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | void TgPullDownFromSubMenu(menu, new_selected) | ^ mainmenu.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 MouseInsideWindow(win, win_w, win_h) | ^ mainmenu.c:552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | int TgSubMenuEventHandler(input, win_info) | ^ mainmenu.c:794:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | void TgSubMenuCleanUp(win_info) | ^ mainmenu.c:805:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | Window TgRealizePinnedMenuWindow(menu, win_x, win_y, win_w, win_h) | ^ mainmenu.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 TgWindowIsPinnedMenu(win, menu_index) | ^ mainmenu.c:915:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | int TgHandlePinnedMenuEvent(win, menu_index, input) | ^ mainmenu.c:929:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | void UpdatePinnedMenu(menu_index) | ^ mainmenu.c:1011:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | void UseWireMenuItemInModeItem(connecting) | ^ mainmenu.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 DestroyPinnedMenu(menu_index) | ^ mainmenu.c:1132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | void EnumPopupMenuWindow(pFunc, pUserData) | ^ 20 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c mark.c mark.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 MarkStructuredSpline(obj_ptr, ssn, ssvs, ssmooth, curved, locked) | ^ mark.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 MarkPoly(ObjPtr, NumPts, V, Smooth, Curved, Locked) | ^ mark.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 Mark4Corners(BBox, Locked, Thin) | ^ mark.c:215:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | void Mark8Places(BBox, Locked) | ^ mark.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 HighLightAnObj(ObjPtr) | ^ mark.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 HighLightVertices(Dir) | ^ mark.c:415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | void HighLight(Dir) | ^ mark.c:509:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | int CreatePolygonTickMarks(num_pts) | ^ mark.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 StartCreateTickMarks(nCmdId) | ^ mark.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 CalcSquareVs(v) | ^ mark.c:587:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | void CalcTriangleVs(v) | ^ mark.c:604:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | void CalcCircleVs(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 CalcXVs(v) | ^ mark.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 | void CalcDiamondVs(v) | ^ mark.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] 651 | void CalcBowtieVs(v) | ^ mark.c:666:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | void CalcInvTriangleVs(v) | ^ mark.c:683:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | void CalcPlusVs(v) | ^ mark.c:702:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | void CalcHourGlassVs(v) | ^ mark.c:717:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | void CreateTickMarks(n, vs, nCmdId) | ^ mark.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 SetRealVertex(vs_return, i, dvs) | ^ mark.c:759:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | IntPoint *GetSplinePolyTickMarkVs(pn_return, n, vs, smooth) | ^ mark.c:854:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | IntPoint *GetHingedPolygonTickMarkVs(pn_return, n, vs, smooth, | ^ mark.c:895:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | IntPoint *GetSplinePolygonTickMarkVs(pn_return, n, vs, smooth) | ^ mark.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 AddObjTickMarks(ObjPtr, nCmdId) | ^ mark.c:1022:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | void AddTickMarks(nCmdId) | ^ mark.c:1082:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | int SetTickMarkSizeValue(spec) | ^ mark.c:1102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | void SetTickMarkSize(psz_num_segs) | ^ 27 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c markup.c markup.c:39:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | int DumpHtmlBuf(in_tag, psz_start) | ^ markup.c:94:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | int DoParseMarkUpFile(buf) | ^ markup.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | int ParseMarkUpFile(buf, buf_sz, pn_html, psz_content_type) | ^ 3 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c menu.c menu.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 UpdateMenubarItemInfo(x, w, h, MenuX, MenuY, TextBBox) | ^ menu.c:223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | int WhichMenubarItem(X, Y, MenuX, MenuY, TextBBox) | ^ menu.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 GetMenubarItemInfo(index, MenuX, MenuY, TextBBox) | ^ menu.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 SendCommandToSelf(nCmdId, nIndex) | ^ menu.c:353:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | TgMenuItem *FindMenuItemByCmdId(menu, cmdid) | ^ menu.c:372:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | TgMenuItem *FindMenuItemByIndex(menu, index) | ^ menu.c:392:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | TgMenuItem *FindMenuItemBySubMenuInfoPtr(menu, submenu_info) | ^ menu.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 TgSetMenuItemCheckOrRadioById(menu, cmdid, checked, mask) | ^ menu.c:434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | int TgSetMenuItemCheckById(menu, cmdid, checked) | ^ menu.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 TgSetMenuItemRadioById(menu, cmdid, checked) | ^ menu.c:448:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | int TgIsMenuItemChecked(menu, index) | ^ menu.c:463:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | int TgIsMenuItemRadio(menu, index) | ^ menu.c:478:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | int TgIsMenuItemEnabled(menu, index) | ^ menu.c:492:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | int TgEnableMenuItemById(menu, cmdid, enabled) | ^ menu.c:511:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | int TgEnableMenuItemByIndex(menu, index, enabled) | ^ menu.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 TgEnableMenuItemBySubMenuInfoPtr(menu, submenu_info, enabled) | ^ menu.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 TgClearThreeDButton(dpy, win, gc, bbox, linewidth) | ^ menu.c:577:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | void TgDrawThreeDButton(dpy, win, gc, bbox, state, linewidth, button) | ^ menu.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 TgDrawStipple(dpy, win, gc, stipple, x, y, w, h, fg_pixel, bg_pixel, | ^ menu.c:687:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | void TgDraw2DGrayedPixmap(dpy, win, bitmap, x, y, w, h, fg_pixel, bg_pixel) | ^ menu.c:739:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | void SetParentMenuWinBBox(menu) | ^ menu.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 AdjMenuGeometry(menu, pn_orig_x, pn_orig_y, pn_min_pin, pn_max_pin) | ^ menu.c:809:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | void TgDrawTextMenuItem(menu, menu_item) | ^ menu.c:975:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | void TgDrawBitmapOrColorMenuItem(menu, menu_item) | ^ menu.c:1071:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | void TgDrawMenuItem(menu, menu_item) | ^ menu.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 TgDrawEntireMenu(menu) | ^ menu.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 TgWhichMenuIndex(menu, x, y, must_be_in_menu) | ^ menu.c:1279:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | int TgPointInAnAncestorMenu(menu, root_x, root_y) | ^ menu.c:1291:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | int TgPointInParentMenuSelectedItem(parent_menu) | ^ menu.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 *TgCreatePopUpSubMenu(menu, selected_index) | ^ menu.c:1330:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | int TgPopUpSubMenu(menu, win_x, win_y) | ^ menu.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 ScrollItemCallback(pv_userdata) | ^ menu.c:1408:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | int ScrollPageCallback(pv_userdata) | ^ menu.c:1451:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | int DoScrollMenu(menu, scroll_page, scroll_dir, pbbox) | ^ menu.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 DoDragInScrollMenu(menu, menu_w, menu_h, mouse_x, mouse_y, btn_offset) | ^ menu.c:1693:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | void ScrollMenu(menu, x, y, menu_w, menu_h, button_state) | ^ menu.c:1815:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1815 | int TgMenuLoop(menu) | ^ menu.c:2161:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | TgMenu *TgDestroyMenu(menu, free_menu) | ^ menu.c:2195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2195 | int TgGetTextMenuItemWidths(menu_item, pn_check_w, pn_str_w, pn_shortcut_w) | ^ menu.c:2242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2242 | int TgSetMenuItemInfo(to_menu_item, mask, from_menu_item) | ^ menu.c:2322:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2322 | int TgAdjustMenuItemHeight(menu, menu_item) | ^ menu.c:2355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2355 | void TgAdjustMenuGeometry(menu, image_w, image_h, max_rows) | ^ menu.c:2416:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2416 | int CreateTextMenuItemsFromMenuItemInfo(menu, menu_iteminfos, status_str_xlated) | ^ menu.c:2500:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2500 | void SetScrollableMenuSize(menu) | ^ menu.c:2520:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2520 | int CreateBitmapOrColorMenuItemsFromMenuItemInfo(menu, menu_iteminfos, | ^ menu.c:2577:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2577 | TgMenu *TgCreateMenuFromMenuInfo(parent_menu, x, y, menu_info, | ^ menu.c:2634:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2634 | void SetScrollableMenuFirstIndex(menu, selected_item_index) | ^ menu.c:2667:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | int RefreshMainMenu(menu) | ^ menu.c:2681:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2681 | TgMenu *CreateMainMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ menu.c:2732:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2732 | int IsPrefix(Prefix, Str, Rest) | ^ menu.c:3132:8: warning: comparison of array 'check_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 3132 | if (check_bits == NULL) { } | ^~~~~~~~~~ ~~~~ menu.c:3133:8: warning: comparison of array 'submenu_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 3133 | if (submenu_bits == NULL) { } | ^~~~~~~~~~~~ ~~~~ menu.c:3244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3244 | void IconEventHandler(input) | ^ menu.c:3288:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3288 | void TitleEventHandler(input) | ^ menu.c:3354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3354 | void HighLightMenubarString(item_str, bbox, highlight) | ^ menu.c:3478:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3478 | int PullDownFromMenubar(index, x, y, text_bbox) | ^ menu.c:3558:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3558 | int MenubarEventHandler(input) | ^ 57 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c menuinfo.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c miniline.c miniline.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void SetCopyUTF8FontInfo(pStrSeg, double_byte) | ^ miniline.c:148:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | int CalcSingleByteInfoForCopyUTF8(pn_font_index) | ^ miniline.c:169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | int FoundSingleByteFontAtStrBlock(pStrBlock, pStrSeg, double_byte) | ^ miniline.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 CanFindSingleOrDoubleByteFontAtCursor(pStrSeg, double_byte) | ^ miniline.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 CanFindSingleByteFontAtCursor(pStrSeg) | ^ miniline.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | int CanFindDoubleByteFontAtCursor(pStrSeg) | ^ miniline.c:255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | void SaveDrawTextInfo(pDrawTextInfo) | ^ miniline.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 RestoreDrawTextInfo(pDrawTextInfo) | ^ miniline.c:382:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | void SaveDrawWinDrawTextInfo(forced) | ^ miniline.c:399:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | void RestoreDrawWinDrawTextInfo(forced) | ^ miniline.c:431:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | void AddToDirtyBBox(pBBox) | ^ miniline.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 GetDirtyBBox(pBBox) | ^ miniline.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 IntersectDirtyBBox(pBBox) | ^ miniline.c:493:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | char *GetIndentString(indent) | ^ miniline.c:531:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | void DumpIndentString(FP, indent) | ^ miniline.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 FreeStrSeg(pStrSeg) | ^ miniline.c:570:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | void FreeStrBlock(pStrBlock) | ^ miniline.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 FreeMiniLine(pMiniLine) | ^ 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 FreeMiniLines(minilines, free_minilines) | ^ miniline.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 FreeStrBlockList(pFirstStrBlock) | ^ miniline.c:631:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | void FreeMiniLineList(pFirstMiniLine) | ^ miniline.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 | void UnlinkStrBlock(pStrBlock) | ^ miniline.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 UnlinkMiniLine(pMiniLine) | ^ miniline.c:716:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | void InsertStrBlock(pPrevStrBlock, pNextStrBlock, pStrBlock, | ^ miniline.c:736:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | void InsertMiniLine(pPrevMiniLine, pNextMiniLine, pMiniLine, | ^ miniline.c:756:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | int BlankStrSeg(pStrSeg) | ^ miniline.c:762:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | int BlankStrBlock(pStrBlock) | ^ miniline.c:791:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | int BlankMiniLine(pMiniLine) | ^ miniline.c:805:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | int BlankMiniLines(minilines) | ^ miniline.c:819:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | StrSegInfo *GetTextFirstStrSeg(obj_ptr) | ^ miniline.c:832:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | struct DynStrRec *GetTextFirstDynStr(obj_ptr) | ^ miniline.c:847:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | void CopyCurInfoIntoStrSeg(pStrBlock, pStrSeg) | ^ miniline.c:879:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | void CopyCurInfoFromStrSeg(pStrSeg) | ^ miniline.c:901:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | void CopyCurInfoIntoTextPtr(obj_ptr, text_ptr) | ^ miniline.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 CopyCurInfoFromTextPtr(obj_ptr, text_ptr) | ^ miniline.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 RecalcStrSegMetrics(pStrSeg, prmi) | ^ miniline.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 UpdateMetricsFromValues(p_found, w, asc, des, min_lbearing, max_rextra, | ^ miniline.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 UpdateMetricsFromStrSegInfo(p_found, pStrSeg, pTextExtents) | ^ miniline.c:1040:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | int StrBlockTypeToMiniLinesJust(type) | ^ miniline.c:1052:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | int RecalcStrBlockMetrics(pStrBlock, prmi) | ^ miniline.c:1203:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | int RecalcMiniLineMetrics(pMiniLine, prmi) | ^ miniline.c:1249:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | int RecalcMiniLinesMetrics(minilines, prmi) | ^ miniline.c:1314:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | int RecalcTextMetrics(text_ptr, x, orig_baseline_y) | ^ miniline.c:1352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | void UpdateStrBlockBBoxes(pStrBlock, x, baseline_y, clean) | ^ miniline.c:1402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | void UpdateMiniLineBBoxes(pMiniLine, x, baseline_y, clean) | ^ miniline.c:1429:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | void UpdateMiniLinesBBoxes(minilines, x, baseline_y, clean) | ^ miniline.c:1473:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | void UpdateCurTextBBoxes(clean) | ^ miniline.c:1487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | void DoFuncOnStrSegForStrSeg(pStrSeg, pFunc, pUserData) | ^ miniline.c:1496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | void DoFuncOnStrSegForStrBlock(pStrBlock, pFunc, pUserData) | ^ miniline.c:1525:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | void DoFuncOnStrSegForMiniLine(pMiniLine, 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 DoFuncOnStrSegForMiniLines(minilines, pFunc, pUserData) | ^ miniline.c:1555:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | void ResetOnCursorKey(drag) | ^ miniline.c:1600:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | void GetCurTextBBoxes(pOBBox, pBBox) | ^ miniline.c:1722:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | void GetMinilineHomeXY(pMiniLine, pn_x, pn_baseline_y) | ^ miniline.c:1736:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | void GetMinilineEndXY(pMiniLine, pn_x, pn_baseline_y) | ^ miniline.c:1830:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | void GetPaintMode(pStrBlock, pnMode, pnFirstIndex, pnSecondIndex) | ^ miniline.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 PaintString(dpy, d, gc, depth, x, baseline_y, buf, len, color_pixel, | ^ miniline.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 PaintStrSeg(dpy, d, gc, depth, x, baseline_y, pStrSeg, use_highlight, | ^ miniline.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 PaintStrBlock(dpy, d, gc, depth, x, baseline_y, pStrBlock, use_highlight, | ^ miniline.c:2174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2174 | void PaintMiniLine(dpy, d, gc, depth, x, baseline_y, pMiniLine, use_highlight, | ^ miniline.c:2200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | void PaintMiniLines(dpy, d, gc, depth, x, baseline_y, minilines, use_highlight, | ^ miniline.c:2270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2270 | void DrawCurTextOutLine(x, y, w, h) | ^ miniline.c:2354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2354 | void UpdateHighLightedTextBBoxes(clean) | ^ miniline.c:2420:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2420 | int DeleteHighlightedTextInStrSeg(pStrSeg, mode, first_index, second_index) | ^ miniline.c:2466:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2466 | void MergeNextMiniLineWhileDeleting(pMiniLine) | ^ miniline.c:2493:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2493 | int StrBlocksHasSameProperties(pStrBlock1, pStrBlock2) | ^ miniline.c:2516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2516 | void MergeNextStrBlockWhileDeleting(pStrBlock, pNextStrBlock) | ^ miniline.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 MergeStrBlocks(pStrBlock, pNextStrBlock) | ^ miniline.c:2623:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2623 | void DetermineWhatToDoForSpace(pnSplitAtIndex, pnInsertBefore) | ^ miniline.c:2645:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2645 | void DoInsertThinSpace(thin_space_w) | ^ miniline.c:2703:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2703 | int InsertHighlightedThinSpaceInStrSeg(pStrSeg, mode, first_index, second_index) | ^ miniline.c:2749:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2749 | void InsertHighlightedThinSpace(thin_space_w) | ^ miniline.c:2823:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2823 | int ShrinkMiniLine(pMiniLine, pn_retry) | ^ miniline.c:2908:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2908 | int ShrinkMiniLines(minilines, pn_retry) | ^ miniline.c:2927:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2927 | int GetTextXYInStrSeg(pStrSeg, index_to_match, pn_dx) | ^ miniline.c:2944:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2944 | int GetTextXYInStrBlock(pStrBlock, pStrBlockToMatch, index_to_match, | ^ miniline.c:3032:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | int GetTextXYInMiniLine(pMiniLine, pStrBlockToMatch, index_to_match, | ^ miniline.c:3056:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3056 | int GetTextXYInMiniLines(minilines, pStrBlockToMatch, index_to_match, | ^ miniline.c:3109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3109 | void GetTextXY(pStrBlock, nIndex, pn_x, pn_baseline_y) | ^ miniline.c:3147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3147 | int CurStrBlockInStrBlock(pStrBlock) | ^ miniline.c:3203:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3203 | int CurStrBlockInMiniLine(pMiniLine) | ^ miniline.c:3217:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3217 | int CurStrBlockInMiniLines(minilines) | ^ miniline.c:3234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3234 | void GetCursorPositionInStrSeg(pStrSeg, dx, pn_dx, ppStrBlock, pnIndex) | ^ miniline.c:3266:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3266 | void GetCursorPositionInStrBlock(pStrBlock, dx, dy, pn_dx, pn_dy, ppStrBlock, | ^ miniline.c:3365:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3365 | void GetCursorPositionInMiniLine(pMiniLine, dx, dy, pn_dx, pn_dy, ppStrBlock, | ^ miniline.c:3393:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3393 | int GetCursorPositionInMiniLines(minilines, dx, dy, pn_dx, pn_dy, ppStrBlock, | ^ miniline.c:3448:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3448 | int SameProperty(lWhich, nValue, pStrSeg, nCheckDoubleByte) | ^ miniline.c:3474:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3474 | int SetStrSegProperty(lWhich, nValue, pStrSeg) | ^ miniline.c:3555:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3555 | int SetStrBlockProperty(lWhich, nValue, pStrBlock) | ^ miniline.c:3594:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3594 | int SetMiniLineProperty(lWhich, nValue, pMiniLine) | ^ miniline.c:3611:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3611 | int SetMiniLinesProperty(lWhich, nValue, minilines) | ^ miniline.c:3631:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3631 | int ChangeStrSegPropertyForTail(pStrBlock, first_index, lWhich, nValue) | ^ miniline.c:3691:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3691 | int ChangeStrSegPropertyForHead(pStrBlock, first_index, lWhich, nValue) | ^ miniline.c:3751:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3751 | int ChangeStrSegPropertyForMiddle(pStrBlock, first_index, second_index, lWhich, | ^ miniline.c:3828:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3828 | int ChangePropertyForHighlightedTextInStrSeg(pStrBlock, mode, first_index, | ^ miniline.c:3896:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3896 | int ChangeHighlightedTextProperty(lWhich, nValue) | ^ miniline.c:3958:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3958 | int OnePropertyStrBlock(lWhich, nValue, pStrBlock, nCheckDoubleByte) | ^ miniline.c:3996:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3996 | int OnePropertyMiniLine(lWhich, nValue, pMiniLine, nCheckDoubleByte) | ^ miniline.c:4012:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4012 | int OnePropertyMiniLines(lWhich, nValue, minilines, nCheckDoubleByte) | ^ miniline.c:4031:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4031 | int SingleFontStrSeg(pStrSeg, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4055:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4055 | int SingleFontStrBlock(pStrBlock, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4091 | int SingleFontMiniLine(pMiniLine, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4109 | int SingleFontMiniLines(minilines, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4127:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4127 | int SingleFontText(text_ptr, pnSzUnit, pnDoubleByte, pnFont, pnStyle, | ^ miniline.c:4147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4147 | int SingleColorStrSeg(pStrSeg, pnColorIndex) | ^ miniline.c:4159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4159 | int SingleColorStrBlock(pStrBlock, pnColorIndex) | ^ miniline.c:4189:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4189 | int SingleColorMiniLine(pMiniLine, pnColorIndex) | ^ miniline.c:4204:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4204 | int SingleColorMiniLines(minilines, pnColorIndex) | ^ miniline.c:4219:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4219 | int SingleColorText(text_ptr, pnColorIndex) | ^ miniline.c:4235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4235 | int HighlightedStrSegHasSameProperty(pStrBlock, mode, lWhich, nValue, | ^ miniline.c:4257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4257 | int HighlightedTextHasSameProperty(lWhich, nValue, nCheckDoubleByte) | ^ miniline.c:4319:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4319 | int CheckStrSegProperties(pStrSeg, pn_valid, pn_font, pn_style, pn_sz_unit, | ^ miniline.c:4346:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4346 | int CheckStrBlockProperties(pStrBlock, pn_valid, pn_font, pn_style, | ^ miniline.c:4391:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4391 | int CheckMiniLineProperties(pMiniLine, pn_valid, pn_font, pn_style, | ^ miniline.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 CheckMiniLinesProperties(minilines, pn_valid, pn_font, pn_style, | ^ miniline.c:4432:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4432 | int CheckHighlightedStrSegProperties(pStrBlock, mode, pn_valid, pn_font, | ^ miniline.c:4531:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4531 | void CheckHighlightedStrSegPropertiesForCopyHighLightedTextAsUTF8Strings(mode) | ^ miniline.c:4545:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4545 | int CheckDoubleByteFontForCopyHighLightedTextAsUTF8Strings(mode, pStrSeg, | ^ miniline.c:4582:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4582 | int CanCopyHighLightedTextAsUTF8Strings(pn_double_byte_font_index) | ^ miniline.c:4664:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4664 | int CanPasteUTF8StringIntoText(pssi) | ^ miniline.c:4699:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4699 | void GatherString(buf, len, ppsz_buf, pn_buf_sz) | ^ miniline.c:4718:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4718 | void GatherStrSeg(pStrSeg, ppsz_buf, pn_buf_sz) | ^ miniline.c:4728:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4728 | void GatherHighlightedStrSeg(pStrBlock, mode, first_index, second_index, | ^ miniline.c:4804:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4804 | void GatherHighLightedTextAsStrings(ppsz_buf, pn_buf_sz) | ^ miniline.c:4860:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4860 | void CopyHighlightedStrSeg(pStrBlock, mode, first_index, | ^ miniline.c:5043:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5043 | int CaseDependentStrNCmp(buf1, buf2, str_len, case_sensitive) | ^ miniline.c:5052:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5052 | int MatchStringInOnlyThisStrBlock(pStrBlock, nIndex, str_to_match, | ^ miniline.c:5080:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5080 | int MatchStringFromCursor(pStrBlock, nIndex, str_to_match, str_len_to_match, | ^ miniline.c:5160:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5160 | int FindStringInStrBlock(pStrBlock, pn_found_starting_point, str_to_match, | ^ miniline.c:5237:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5237 | int FindStringInMiniLine(pMiniLine, pn_found_starting_point, str_to_match, | ^ miniline.c:5260:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5260 | int FindStringInMiniLines(minilines, pn_found_starting_point, str_to_match, | ^ miniline.c:5286:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5286 | int CanBreakStrSegIntoWords(pStrSeg) | ^ miniline.c:5293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5293 | int CanBreakStrBlockIntoWords(pStrBlock) | ^ miniline.c:5326:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5326 | int CanBreakMiniLineIntoWords(pMiniLine) | ^ miniline.c:5343:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5343 | int CanBreakMiniLinesIntoWords(minilines) | ^ miniline.c:5363:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5363 | void FinalizeBreakStrSeg(new_obj, x, baseline_y, prototype, tx_to_move, | ^ miniline.c:5428:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5428 | void BreakStrSeg(pSrcStrSeg, into_words, x, baseline_y, prototype, tx_to_move, | ^ miniline.c:5514:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5514 | void BreakStrBlock(pStrBlock, into_words, x, baseline_y, prototype, tx_to_move, | ^ miniline.c:5571:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5571 | void BreakMiniLine(pMiniLine, into_words, x, baseline_y, prototype, tx_to_move, | ^ miniline.c:5594:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5594 | void BreakMiniLines(minilines, how, x, baseline_y, prototype, tx_to_move, | ^ miniline.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 DumpGSave(FP, do_dump, indent) | ^ miniline.c:5653:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5653 | void DumpGRestore(FP, do_dump, indent) | ^ miniline.c:5664:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5664 | void DumpSetFont(FP, font, font_name, double_byte, style, sz_unit) | ^ miniline.c:5749:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5749 | void DumpStrSeg(pStrSeg, just, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:5859:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5859 | void DumpSupSubBlock(pStrBlock, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:5942:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5942 | void DumpStrBlock(pStrBlock, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:6039:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6039 | void DumpMiniLine(pMiniLine, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:6075:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6075 | void DumpMiniLines(minilines, x, baseline_y, FP, pBBox, do_dump, indent) | ^ miniline.c:6146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6146 | int SimpleTextObj(text_ptr) | ^ miniline.c:6171:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6171 | void DumpSimpleTextPath(FP, ObjPtr) | ^ miniline.c:6196:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6196 | void DumpStrSegInAscii(FP, pStrSeg, pnSomethingPrinted) | ^ miniline.c:6210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6210 | void DumpStrBlockInAscii(FP, pStrBlock, pnSomethingPrinted) | ^ miniline.c:6247:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6247 | void DumpMiniLineInAscii(FP, pMiniLine, 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 DumpMiniLinesInAscii(FP, minilines, pnSomethingPrinted) | ^ miniline.c:6277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6277 | void ConvertStrSegToString(pStrSeg, ppsz_buf, pn_len) | ^ miniline.c:6294:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6294 | int ConvertStrBlockToString(pStrBlock, ppsz_buf, pn_len) | ^ miniline.c:6331:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6331 | char *ConvertMiniLineToString(pMiniLine, pnNeedToFree) | ^ miniline.c:6360:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6360 | char *ConvertAttrNameFirstMiniLineToString(attr_ptr, pnNeedToFree) | ^ miniline.c:6385:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6385 | int StrSegInVisibleLayer(pStrSeg) | ^ miniline.c:6392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6392 | int StrBlockInVisibleLayer(pStrBlock) | ^ miniline.c:6423:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6423 | int MiniLineInVisibleLayer(pMiniLine) | ^ miniline.c:6437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6437 | int MiniLinesInVisibleLayer(minilines) | ^ 162 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c move.c move.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | void MovePoly(ObjPtr, Dx, Dy) | ^ 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 MovePolygon(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 MoveArc(ObjPtr, Dx, Dy) | ^ move.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 MoveObj(ObjPtr, Dx, Dy) | ^ move.c:163:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | void MoveAllSelObjects(Dx, Dy) | ^ move.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] 191 | int EndPtInObjList(XOff, YOff, FirstObjPtr) | ^ move.c:274:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | int EndPtInSelected(XOff, YOff) | ^ move.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 ConstrainedMoveAllSel(Dx, Dy, ltx, lty, rbx, rby) | ^ move.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 MoveAllSel(Dx, Dy) | ^ move.c:606:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | void MoveAnObj(ObjPtr, TopOwner, Dx, Dy) | ^ move.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 FreeRubberInfo(pInnerObj, pRubberInfo) | ^ move.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 SetRubberInfo(pInnerObj, pRubberInfo) | ^ move.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 DrawInnerRubberObj(pInnerObj, pRubberInfo, dx, dy) | ^ move.c:1062:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | void UpdateInnerRubberObj(pInnerObj, pRubberInfo, dx, dy) | ^ move.c:1168:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | void MoveSubObjEventCheck(ev, pn_move_sub_obj) | ^ move.c:1186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | void MoveAnAttr(attr_ptr, attr_owner_obj, dx, dy) | ^ move.c:1214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | void MoveSel(OrigX, OrigY, ObjPtr, down_button_ev) | ^ move.c:1434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | int IsSmoothForStructuredSpline(vlist_index, n, vlist) | ^ move.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 FinishMoveVertexForStretchStructSpline(vsel_ptr, abs_dx, abs_dy, psssi) | ^ move.c:1531:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | void MoveAllSelVs(abs_dx, abs_dy) | ^ move.c:1671:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | void EndMoveVsForStructuredSpline(obj_ptr, abs_dx, abs_dy) | ^ move.c:1696:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | void EndMoveVs(abs_dx, abs_dy) | ^ move.c:2039:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | void MarkVsForStructuredSplines(Dir, abs_dx, abs_dy) | ^ move.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 HighLightVs(Dir, abs_dx, abs_dy) | ^ move.c:2219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2219 | void MarkVs(Dir, Dx, Dy) | ^ move.c:2281:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2281 | void GetSelectedVsBBox(pBBox) | ^ move.c:2316:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2316 | void MoveSelVs(OrigX, OrigY) | ^ 27 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c msg.c msg.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 ShowOrPrintMsg(buf, use_msgbox) | ^ msg.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 FailAllocBitmapMessage(w, h) | ^ msg.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 FailAllocPixmapMessage(w, h) | ^ msg.c:124:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | int FailToWriteFileMessage(file_name) | ^ msg.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 FailToOpenMessage(file_name, rwa, extra_msg) | ^ msg.c:172:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | int FailToCreateWindowMessage(where, win_name, do_exit) | ^ msg.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] 191 | int FatalUnexpectedError(msg1, msg2) | ^ msg.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 TgAssert(must_be_true, msg1, msg2) | ^ msg.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 BoldMsgCharBytes(pszStr) | ^ msg.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 *BoldMsgNextChar(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 *BoldMsgLastChar(pszStr) | ^ msg.c:288:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | char *BoldMsgStrChr(pszStr, c) | ^ msg.c:325:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | int MenuTextWidth(font_ptr, psz_str, len) | ^ 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 MsgTextWidth(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 BoldMsgTextWidth(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 ItalicMsgTextWidth(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 BoldItalicMsgTextWidth(font_ptr, psz_str, len) | ^ msg.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 DrawMenuString(dpy, win, gc, x, baseline_y, menu_str, len) | ^ msg.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 DrawMsgString(dpy, win, gc, x, baseline_y, msg_str, len) | ^ msg.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 DrawBoldMsgString(dpy, win, gc, x, baseline_y, msg_str, len) | ^ msg.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 DrawItalicMsgString(dpy, win, gc, x, baseline_y, msg_str, len) | ^ msg.c:455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | void DrawBoldItalicMsgString(dpy, win, gc, x, baseline_y, msg_str, len) | ^ msg.c:473:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | void AddMsg(Msg) | ^ msg.c:519:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | struct MsgRec *FindMsg(Number) | ^ msg.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 RedrawMsg(erase_background) | ^ msg.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 Msg(Message) | ^ msg.c:612:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | void TwoLineMsg(Msg1, Msg2) | ^ msg.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 SetMouseStatus(Left, Middle, Right) | ^ msg.c:867:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | void SetStringStatus(StatusStr) | ^ msg.c:944:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | void SaveStatusStringsIntoBuf(ppsz_buf, pn_one_line) | ^ msg.c:959:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | void RestoreStatusStringsFromBuf(ppsz_buf, one_line) | ^ msg.c:982:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | void BeginProgress(ppi, total_size) | ^ msg.c:991:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | void UpdateProgress(ppi, cur_size) | ^ msg.c:1007:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | void EndProgress(ppi) | ^ msg.c:1013:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | void MsgEventHandler(input) | ^ msg.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 StatusEventHandler(input) | ^ msg.c:1161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | void UserRedrawEventHandler(input) | ^ msg.c:1210:8: warning: comparison of array 'redraw_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1210 | if (redraw_bits == NULL) { } | ^~~~~~~~~~~ ~~~~ msg.c:1211:8: warning: comparison of array 'btn1_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1211 | if (btn1_bits == NULL) { } | ^~~~~~~~~ ~~~~ msg.c:1217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | void InitScan(s, pat) | ^ msg.c:1240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | int ScanValue(fmt, v, item, stype) | ^ msg.c:1285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | int ScanDynStrValue(v, item, stype) | ^ msg.c:1369:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | void EmergencySave(sig) | ^ msg.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 EmergencySaveForXCont(s) | ^ msg.c:1445:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | int EmergencySaveForX(dsp, ev) | ^ 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 IOEmergencySaveForX(dsp) | ^ msg.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 Error(where, msg) | ^ msg.c:1476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | void GetTgifVersionAndPatchLevel(buf, buf_sz) | ^ msg.c:1514:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | void Usage(tool_name) | ^ msg.c:1590:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | int ProcessPrTgifOptions(argc, argv, from_prtgif) | ^ msg.c:2057:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2057 | int ProcessTgifOptions(argc, argv, file_name, name_sz) | ^ 51 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c names.c names.c:102:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | char *ReadPath(path_str, dir_str) | ^ names.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 ParseSymPath(path_str) | ^ names.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 LargerStr(S1, S2) | ^ names.c:325:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | DspList *DirListing(Path, ExtStr, OtherExtStr) | ^ names.c:753:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | char **MakeNameDspItemArray(Entries, DLPtr) | ^ names.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 DirInSymPath(DirName) | ^ names.c:802:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | char **MakeLongNameDspItemArray(Entries, DLPtr) | ^ names.c:833:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | int GetNamesEntries(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ names.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 NamesAfterLoop(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ names.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 DirNames(TopStr, ExtStr, SelStr, JustSetDir) | ^ names.c:1037:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | int ChooseAName(TopStr, entries, num_entries, marked_index) | ^ names.c:1057:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | int SelectFileName(MsgStr, SelStr) | ^ names.c:1102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | int SelectFileNameToPaste(MsgStr, SelStr) | ^ names.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 SelectFileNameToImport(MsgStr, ExtStr, SelStr) | ^ names.c:1176:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | int GetSymbolPath(SymName, Pin, PathName) | ^ names.c:1198:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | int NameInCurDir(FileName) | ^ names.c:1234:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | DspList *DomainListing(pn_num_entries, name_only) | ^ names.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 SelectDomain(SelStr) | ^ names.c:1560:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | DspList *SymDirListing(pn_marked_index, pn_num_entries) | ^ names.c:1593:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | int SelectSymDir(SelStr) | ^ names.c:1632:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | DspList *BitmapListing(ExtStr, OtherExtStr) | ^ names.c:1716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | int SelectFromLibrary(MsgStr, ExtStr, SelStr, PathStr) | ^ names.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 SetCurDir(FileName) | ^ names.c:1808:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1808 | void SetCurSymDir(FileName) | ^ names.c:1829:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1829 | void SetCurImportDir(FileName) | ^ names.c:1851:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | DspList *FreeDspLinkedList(dsp_ptr) | ^ names.c:1887:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | DspList *DomainListToDomainArray(dsp_ptr, num_entries, set_directory) | ^ names.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 EditDomainPathsAfterLoop(pp_dsp_ptr, ppsz_entries, pn_num_entries, | ^ names.c:1958:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | int DoEditDomainPaths(psz_title, dsp_ptr, entries, num_entries, | ^ names.c:2025:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | int DoSelectDefaultDomain(psz_title, dsp_ptr, entries, num_entries, | ^ names.c:2201:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2201 | int RefreshDomainMenu(menu) | ^ names.c:2220:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2220 | TgMenu *CreateDomainMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ 32 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c navigate.c navigate.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 ParseXYSpec(spec, pnx, pny) | ^ navigate.c:140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | int ParseWHSpecError(spec, psz_dup_spec, rc) | ^ navigate.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 ParseWHSpec(spec, pnw, pnh) | ^ navigate.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 InsertNavigate(pnr_prev, pnr_next, pnr) | ^ navigate.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 DeleteNavigate(pnr) | ^ navigate.c:227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | void ClearNavigateRecords(pnr) | ^ navigate.c:255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | void FreeAnURLCache(url_cache) | ^ navigate.c:395:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | char *SimpleURLName(psz_url) | ^ navigate.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 UnlinkURLCache(url_cache) | ^ navigate.c:431:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | void InsertURLCache(prev_url, next_url, url_cache) | ^ navigate.c:449:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | void UpdateLRU(url_cache) | ^ navigate.c:456:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | struct URLCacheRec *FindURLCache(psz_url, update_lru) | ^ navigate.c:484:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | void UpdateURLCache(psz_url, psz_remote_buf, psz_content_type, remote_buf_sz, | ^ navigate.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 AddToSessionHistory(cur_pnr) | ^ navigate.c:631:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | void PostNavigate(pnr) | ^ navigate.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 NavigateTo(full_fname, do_not_save, force_load) | ^ navigate.c:814:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | char **ReadHotListFile(pn_count) | ^ navigate.c:857:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | DspList *HotListListing(ppsz_buf, pn_count) | ^ navigate.c:888:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | DspList *HistoryListing(pn_count) | ^ navigate.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 GetHotListEntries(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ navigate.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 HotListAfterLoop(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ navigate.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 GetHistoryEntries(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ navigate.c:1097:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | int HistoryAfterLoop(p_dsp_ptr, p_entries, pn_num_entries, pn_marked_index, | ^ navigate.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 SelectForNavigate(TopStr, Which) | ^ navigate.c:1265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | void ToggleHyperSpace(KeepSelected) | ^ navigate.c:1643:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | int RefreshSlideShowModeMenu(menu) | ^ navigate.c:1662:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | TgMenu *CreateSlideShowModeMenu(parent_menu, X, Y, menu_info, status_str_xlated) | ^ navigate.c:1680:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | int SlideShowModeMenu(X, Y, TrackMenubar) | ^ navigate.c:1697:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1697 | int RefreshSlideShowMenu(menu) | ^ navigate.c:1720:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | TgMenu *CreateSlideShowMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ navigate.c:1736:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | int ReadSlideShowInfo(buf) | ^ navigate.c:1768:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1768 | void RefreshNavigateMenu(menu) | ^ navigate.c:1781:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | TgMenu *CreateNavigateMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ navigate.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 NavigateMenu(X, Y, TrackMenubar) | ^ 34 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c nkf.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c obj.c obj.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | void AddObj(PrevPtr, NextPtr, ObjPtr) | ^ obj.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 UnlinkObj(ObjPtr) | ^ obj.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | void ReplaceObj(old_obj, new_obj) | ^ obj.c:103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | void FreeObj(ObjPtr) | ^ obj.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 DelObj(ObjPtr) | ^ obj.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 | void AdjObjOBBox(ObjPtr) | ^ obj.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 AdjObjBBox(ObjPtr) | ^ obj.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 RecursivelyAdjAnObjBBox(target_obj, owner_obj) | ^ obj.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 RecursivelyAdjObjBBox(sub_obj, owner_obj, top_owner) | ^ obj.c:359:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | void InvalidateObjCache(ObjPtr) | ^ obj.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 AdjObjCache(ObjPtr) | ^ obj.c:559:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | void AdjArcCache(ObjPtr) | ^ obj.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 AdjPolyCache(ObjPtr) | ^ obj.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 AdjPolygonCache(ObjPtr) | ^ obj.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 AdjObjSplineVs(ObjPtr) | ^ obj.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 MoveRotatedObjCache(ObjPtr, AbsDx, AbsDy) | ^ obj.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 IsTopLevelObject(ObjPtr) | ^ obj.c:982:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | struct ObjRec *GetTopOwner(ObjPtr) | ^ 18 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c oval.c oval.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 GetPSEllipseStr(xc, yc, a, b, s) | ^ oval.c:74:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | void MyOval(window, gc, bbox) | ^ oval.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 DumpOvalPath(FP, ObjPtr, Xc, Yc, A, B, Width, Pen, Dash, TransPat) | ^ oval.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | void DumpOvalObj(FP, ObjPtr) | ^ oval.c:262:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | int NeedsToCacheOvalObj(ObjPtr) | ^ oval.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 MakeCachedOval(ObjPtr) | ^ oval.c:353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | void DrawOvalObj(window, XOff, YOff, ObjPtr) | ^ oval.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 CreateOvalObj(BBox, CreateAbsolute) | ^ oval.c:492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | void AdjContinueOvalBBox(pBBoxIn, pBBoxOut) | ^ oval.c:526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | void MyContinueOval(d, gc, pBBox) | ^ oval.c:538:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | void ContinueOval(OrigX, OrigY) | ^ oval.c:691:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | void DrawOval(input) | ^ oval.c:733:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | void SaveOvalObj(FP, ObjPtr) | ^ oval.c:766:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | void ReadOvalObj(FP, Inbuf, ObjPtr) | ^ oval.c:999:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | void SetOvalPropMask(ObjPtr, plMask, plSkip, pProp) | ^ oval.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 FreeOvalObj(ObjPtr) | ^ 16 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c page.c page.c:77:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | int DrawAHorizontalTab(page_num, page_ptr, x, y, on_top, skip) | ^ page.c:136:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | int PageTabsVisible(pn_last_tab_visible) | ^ page.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 MakePageTabsVisible(last_tab_visible) | ^ page.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 GotoPageNum(new_page_num) | ^ page.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 SetCurPage(page_number) | ^ page.c:355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | void HandleClickInPageWindow(button_ev) | ^ page.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 HandleMotionInPageWindow(motion_ev) | ^ page.c:515:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | void PageDummyEventHandler(input) | ^ page.c:529:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | void FreePage(page_ptr) | ^ page.c:627:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | DspList *PageNameListing(pn_entries) | ^ page.c:656:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | int EditOrSelectPageNames(TopStr, Which, entries, num_entries) | ^ page.c:690:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | void GotoPage(psz_page_num) | ^ page.c:801:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | DspList *PageFileNameListing(pn_entries) | ^ page.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 OkToFlushUndoBuffer(msg_prefix) | ^ page.c:952:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | void AddPage(AfterCurPage, papcai) | ^ page.c:1291:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | int GetDimension(Spec, nNonPosReturnOK, pnNumPixels) | ^ page.c:1321:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | int GetDimensionInDouble(Spec, nNonPosReturnOK, pd_num_pixels) | ^ page.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 SetPaperSize(Spec) | ^ page.c:1414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | void GetCurPaperSizeSpec(buf) | ^ page.c:1470:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | void FreePageSpec(pspi) | ^ page.c:1476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | int ParsePagesSpec(spec, pspi) | ^ page.c:1586:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1586 | sprintf(gszMsgBox, TgLoadString(spi.num_pages_specified > 1 ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1587 | STID_DELETE_A_PAGE_CAUSE_FLUSH : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1588 | STID_DELETE_PAGES_PAGE_CAUSE_FLUSH)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ page.c:1586:26: note: treat the string as an argument to avoid this 1586 | sprintf(gszMsgBox, TgLoadString(spi.num_pages_specified > 1 ? | ^ | "%s", page.c:1735:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | int StackedPageMenu(X, Y, TrackMenubar) | ^ page.c:1752:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | int TiledPageMenu(X, Y, TrackMenubar) | ^ page.c:1769:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | int RefreshPageMenu(menu) | ^ page.c:1781:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | TgMenu *CreatePageMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ page.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 PageMenu(X, Y, TrackMenubar) | ^ page.c:1852:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1852 | int CalcStackPageNum(obj_ptr) | ^ page.c:1973:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1973 | void PageLayoutSubMenu(index) | ^ page.c:2030:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2030 | void RefreshPageLayoutMenu(menu) | ^ page.c:2048:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2048 | TgMenu *CreatePageLayoutMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ page.c:2075:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | int PageLayoutMenu(X, Y, TrackMenubar) | ^ page.c:2092:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2092 | void PageEventHandler(input) | ^ page.c:2131:8: warning: comparison of array 'leftend_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 2131 | if (leftend_bits == NULL) { } | ^~~~~~~~~~~~ ~~~~ page.c:2160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2160 | void GetPageInfo(pPageInfo) | ^ page.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 FixPageNumInStrSeg(pStrSeg, attr_ptr, just_checking) | ^ page.c:2225:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2225 | int FixPageNumInStrBlock(pStrBlock, attr_ptr, just_checking) | ^ page.c:2276:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2276 | int FixPageNumInMiniLine(pMiniLine, attr_ptr, just_checking) | ^ page.c:2296:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | int FixPageNumInMiniLines(minilines, attr_ptr, just_checking) | ^ page.c:2317:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | int FixPageNumInAttr(AttrPtr, just_checking) | ^ page.c:2344:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2344 | int FixPageNumInObj(ObjPtr, just_checking) | ^ 41 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c pattern.c pattern.c:79:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | char *GrayStr(index) | ^ pattern.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void GrayCheck(index) | ^ pattern.c:172:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | int RefreshModeMenu(menu) | ^ pattern.c:198:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | TgMenu *CreateModeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:227:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | int ModeMenu(X, Y, TrackMenubar) | ^ pattern.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 ChangeObjTransPat(ObjPtr, TransPat) | ^ pattern.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 ChangeAllSelTransPat(TransPat, HighLight) | ^ pattern.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 ChangeObjFill(ObjPtr, FillIndex) | ^ pattern.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 ChangeAllSelFill(FillIndex, HighLight) | ^ pattern.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 RefreshFillMenu(menu) | ^ pattern.c:481:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | TgMenu *CreateFillMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.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 FillMenu(X, Y, TrackMenubar) | ^ pattern.c:566:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | int ChangeObjLineStyle(ObjPtr, StyleIndex) | ^ pattern.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 ChangeAllSelLineStyle(StyleIndex, HighLight) | ^ pattern.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 RefreshLineStyleMenu(menu) | ^ pattern.c:665:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | TgMenu *CreateLineStyleMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.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 LineStyleMenu(X, Y, TrackMenubar) | ^ pattern.c:709:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | int GetPolyOrPolygonControlPoints(obj_ptr, pp_poly, pp_polygon, pn_curved, | ^ pattern.c:757:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | int CanConvertSplineToStructuredSpline(ObjPtr, pn_hinge_count, vlist_updated) | ^ pattern.c:940:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | int CanConvertClosedSplineToStructuredSpline(ObjPtr, pn_hinge_count, | ^ pattern.c:1146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | int CanConvertObjLineType(ObjPtr, TypeIndex, pn_failed_count, pn_hinge_count) | ^ pattern.c:1256:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | IntPoint *GetNumUsableStraightVs(pn_num_usable_vs, num_pts, vs) | ^ pattern.c:1285:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | IntPoint *GetNumUsableSplineVs(pn_num_usable_vs, ppsz_smooth, num_pts, vs, | ^ pattern.c:1325:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | IntPoint *GetNumUsableIntSplineVsFromStructuredSpline(pn_num_usable_vs, num_pts, | ^ pattern.c:1355:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | IntPoint *GetNumUsableIntSplineVs(pn_num_usable_vs, num_pts, vs, smooth) | ^ pattern.c:1385:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | IntPoint *GetNumUsableStructuredSplineVs(pn_num_usable_vs, ppsz_smooth, | ^ pattern.c:1475:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | void SetObjSmooth(ObjPtr, TypeIndex, hinge_count) | ^ pattern.c:1669:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | int ChangeObjLineType(ObjPtr, TypeIndex, pn_failed_count) | ^ pattern.c:1726:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | void ChangeAllSelLineType(TypeIndex, HighLight) | ^ pattern.c:1741:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1741 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRAIGHT)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:1741:26: note: treat the string as an argument to avoid this 1741 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRAIGHT)); | ^ | "%s", pattern.c:1744:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1744 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_SPLINE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:1744:26: note: treat the string as an argument to avoid this 1744 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_SPLINE)); | ^ | "%s", pattern.c:1747:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1747 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_INTSPLINE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:1747:26: note: treat the string as an argument to avoid this 1747 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_INTSPLINE)); | ^ | "%s", pattern.c:1750:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1750 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRUCT_SPLINE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:1750:26: note: treat the string as an argument to avoid this 1750 | sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRUCT_SPLINE)); | ^ | "%s", pattern.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 RefreshLineTypeMenu(menu) | ^ pattern.c:1807:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | TgMenu *CreateLineTypeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:1832:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1832 | int LineTypeMenu(X, Y, TrackMenubar) | ^ pattern.c:1852:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1852 | int ChangeObjLineWidth(ObjPtr, nMask, W, AW, AH, width_spec, aw_spec, ah_spec) | ^ pattern.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 ChangeAllSelLineWidth(WidthIndex, HighLight) | ^ pattern.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 GetLineWidthMatch(index, width, aw, ah) | ^ pattern.c:2055:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | int GetBestLineWidthIndex(width, aw, ah) | ^ pattern.c:2072:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2072 | void RefreshLineWidthMenu(menu) | ^ pattern.c:2090:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | TgMenu *CreateLineWidthMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:2143:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | int LineWidthMenu(X, Y, TrackMenubar) | ^ pattern.c:2163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2163 | int ChangeObjLineDash(ObjPtr, DashIndex) | ^ pattern.c:2221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2221 | void ChangeAllSelLineDash(DashIndex, HighLight) | ^ pattern.c:2255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | void RefreshLineDashMenu(menu) | ^ pattern.c:2273:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2273 | TgMenu *CreateLineDashMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:2293:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2293 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_DASH_PAT_NO_DASH)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:2293:29: note: treat the string as an argument to avoid this 2293 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_DASH_PAT_NO_DASH)); | ^ | "%s", pattern.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 LineDashMenu(X, Y, TrackMenubar) | ^ pattern.c:2349:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2349 | int ChangeObjPen(ObjPtr, PenIndex) | ^ pattern.c:2421:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2421 | void ChangeAllSelPen(PenIndex, HighLight) | ^ pattern.c:2471:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2471 | void RefreshPenMenu(menu) | ^ pattern.c:2489:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2489 | TgMenu *CreatePenMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ pattern.c:2510:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2510 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_NONE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:2510:29: note: treat the string as an argument to avoid this 2510 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_NONE)); | ^ | "%s", pattern.c:2513:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2513 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_SOLID)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:2513:29: note: treat the string as an argument to avoid this 2513 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_SOLID)); | ^ | "%s", pattern.c:2516:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2516 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_BACKGROUND)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:2516:29: note: treat the string as an argument to avoid this 2516 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_BACKGROUND)); | ^ | "%s", pattern.c:2554:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2554 | int PenMenu(X, Y, TrackMenubar) | ^ pattern.c:2573:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2573 | int ToggleObjLineType(ObjPtr) | ^ pattern.c:2653:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2653 | int ChangeObjRCBRadius(ObjPtr, Radius) | ^ pattern.c:2682:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2682 | void ChangeAllSelRCBRadius(Radius) | ^ pattern.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 ChangeAllSelRealLineWidth(nMask, Width, AW, AH, | ^ pattern.c:2776:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2776 | void SetSelLineWidth(pszBuf) | ^ 62 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c pin.c pin.c:64:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | void CachePin(ObjPtr) | ^ pin.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 PreparePinInfoForAnObject(ObjPtr, nInsideAnIcon) | ^ pin.c:134:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | int GetPins(pObj, ppTopSel, ppBotSel) | ^ pin.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 AddObjToSorted(pObj, ppTopSel, ppBotSel) | ^ pin.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 FindExtraPoly(pTopSel, pBotSel, ppTopSel, ppBotSel, pnCount, pBBox) | ^ pin.c:263:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | struct ObjRec *FindPinObj(AbsX, AbsY) | ^ pin.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 HighLightAPin(forward) | ^ pin.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 HandlePinHighlights(MouseX, MouseY) | ^ pin.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 AppendConnToPin(pPinObj, pConn, pPolyObj) | ^ pin.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 CreateConnection(pStartPin, pEndPin) | ^ pin.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 FreeConn(pConn) | ^ pin.c:455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | void UnlinkConn(pConn) | ^ pin.c:474:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | void DelConnFromPoly(pConn) | ^ pin.c:482:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | void DelConnFromPin(pConn) | ^ 14 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c pngtrans.c pngtrans.c:40:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | int PngShowOrPrintMsg(buf, use_msgbox) | ^ pngtrans.c:51:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | int VerifyPngHeader(fp) | ^ pngtrans.c:68:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | int ReadPngDWord(pvalue32, fp) | ^ pngtrans.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 ReadPngShortWord(pvalue16, fp) | ^ pngtrans.c:114:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | void PngHexDump(buf, len, pn_index, pn_line_num) | ^ pngtrans.c:142:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | int DoInflateForPng(in_buf, v32_length) | ^ pngtrans.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 SetPngFileTransColor(pphi, red, green, blue) | ^ pngtrans.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 ReadChunk(pphi, psz_chunk_type, v32_length, fp) | ^ pngtrans.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 ProcessChunk(pphi) | ^ pngtrans.c:475:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | void ResetPngHeaderInfo(pphi) | ^ pngtrans.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 SetPngHeaderInfoForTransColor(pphi, trans_color_pixel_r, | ^ pngtrans.c:486: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] 486 | unsigned char trans_color_pixel_r, trans_color_pixel_g, trans_color_pixel_b; | ^ ./pngtrans.e:35:19: note: previous declaration is here 35 | unsigned char trans_color_pixel_r, | ^ pngtrans.c:486: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] 486 | unsigned char trans_color_pixel_r, trans_color_pixel_g, trans_color_pixel_b; | ^ ./pngtrans.e:36:19: note: previous declaration is here 36 | unsigned char trans_color_pixel_g, | ^ pngtrans.c:486: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] 486 | unsigned char trans_color_pixel_r, trans_color_pixel_g, trans_color_pixel_b; | ^ ./pngtrans.e:37:19: note: previous declaration is here 37 | unsigned char trans_color_pixel_b)); | ^ pngtrans.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 PngFileGetTransColorInit(pphi, fname) | ^ pngtrans.c:514:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | int PngFileGetTransColor(pphi) | ^ 16 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c poly.c poly.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 | IntPoint *GetPolyOrPolygonAbsVs(pn_return, pn_allocated, ObjPtr) | ^ poly.c:143:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | XPoint *MakePolyVertex(XOff, YOff, NumVs, Vs) | ^ poly.c:163:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | void CalcPolyBBox(ObjPtr) | ^ poly.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 UpdPolyBBox(ObjPtr, NumPts, V) | ^ poly.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 UpdNonIntSplinePolyBBox(obj_ptr, num_pts, v) | ^ poly.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 UpdPolyOrPolygonBBox(obj_ptr) | ^ poly.c:385:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | void CreatePolyObj(NumPts, CreateAbsolute) | ^ poly.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 AddPtToCreatePoly(AbsX, AbsY) | ^ poly.c:626:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | void SetXorDrawGCForPoly(color_index, line_width_index) | ^ poly.c:672:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | void DoPolyMeasureCursor(ppmci, start, num_pts, x, y, dx, dy, erase, drag) | ^ poly.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 FreePointsForCont(pn_ltx, pn_lty, pn_rbx, pn_rby) | ^ poly.c:785:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | int SetFirstPoint(grid_x, grid_y, pipt_first) | ^ poly.c:815:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | int AddPointForCont(grid_x, grid_y, pipt) | ^ poly.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 UpdateLastPointForCont(pipt) | ^ poly.c:847:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | void DrawAllStructSplinePointsForCont(num_pts) | ^ poly.c:900:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | void UpdatePrevToLastPointForCont(pipt_prev) | ^ poly.c:912:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | void ContinueForStructSplinePolyControlPoints(OrigX, OrigY, LastX, LastY, psv, | ^ poly.c:1107:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | void ContinuePoly(OrigX, OrigY) | ^ poly.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 DrawPoly(input) | ^ poly.c:1919:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | void SetWiringNodeInfo(port_obj, port_owner_obj, port_name, first) | ^ poly.c:2069:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2069 | void FinishJoinPoly(obj_ptr1, obj_ptr2, poly_ptr1, vs, smooth, num_pts) | ^ poly.c:2190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2190 | void DoJoinPoly(obj_ptr1, obj_ptr2, poly_ptr1, poly_ptr2, min_index, coincide, | ^ poly.c:2521:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2521 | void FinishCloseOnePoly(obj_ptr, poly_ptr, vs, smooth, num_pts) | ^ poly.c:2576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2576 | void CloseOnePoly(obj_ptr) | ^ poly.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] 2780 | int JoinPolyCompatCheck(poly_ptr1, poly_ptr2) | ^ poly.c:2978:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2978 | void FinishCutPoly(obj_ptr1, poly_ptr1, vs1, smooth1, vs2, smooth2, | ^ poly.c:3088:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3088 | void DoCutPoly(obj_ptr, index, poly_ptr) | ^ poly.c:3192:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3192 | void FinishCutPolygon(obj_ptr1, polygon_ptr1, vs, smooth, num_pts) | ^ poly.c:3315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3315 | void DoCutPolygon(obj_ptr, index, polygon_ptr) | ^ poly.c:3412:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3412 | void CopyPolySegmentProperties(obj_ptr, poly_ptr, curved) | ^ poly.c:3443:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3443 | void CopyPolygonSegmentProperties(obj_ptr, polygon_ptr, curved) | ^ poly.c:3476:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3476 | int CreateSegmentsFromObject(obj_ptr, pp_top_obj, pp_bot_obj) | ^ poly.c:3748:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3748 | double GetWidthInDouble(nVal, pszSpec, pnIsInt) | ^ poly.c:3767:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3767 | void SetWidthAndSpec(dWidth, pnWidth, pszWidthSpec) | ^ 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 ScaleWidthAndSpec(dScale, 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 DumpArrow(FP, TailV, HeadV, ArrowW, ArrowH, aw_spec, ah_spec, Pen, | ^ poly.c:3898:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3898 | int CalcArrowRetreatPoint(TailV, HeadV, ArrowW, aw_spec, ReturnV) | ^ poly.c:3924:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3924 | void DumpPolyPath(FP, ObjPtr, Vs, NumPts, Smooth, Style, Width, ArrowW, ArrowH, | ^ poly.c:4151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4151 | void DumpPolyObj(FP, ObjPtr) | ^ poly.c:4441:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4441 | int NeedsToCachePolyObj(ObjPtr) | ^ poly.c:4450:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4450 | void MakeCachedPoly(ObjPtr) | ^ poly.c:4585:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4585 | void SetArrowVsForDraw(obj_ptr, retracted_arrow, real_x_off, real_y_off, | ^ poly.c:4739:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4739 | void DrawPolyObj(Win, XOff, YOff, ObjPtr) | ^ poly.c:4926:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4926 | void SaveSmoothHinge(FP, Curved, NumPts, Smooth) | ^ poly.c:4963:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4963 | void SaveArrowSpec(FP, arrow_style, aw, ah, aindent, aw_spec, ah_spec, | ^ poly.c:4975:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4975 | void SavePolyObj(FP, ObjPtr) | ^ poly.c:5043:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5043 | int ReadSmoothHinge(FP, Curved, NumPts, Smooth) | ^ poly.c:5094:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5094 | void ReadPolyObj(FP, Inbuf, ObjPtr) | ^ poly.c:5509:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 5509 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_BAD_SMOOTHHINGE_POLY_FIXED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ poly.c:5509:26: note: treat the string as an argument to avoid this 5509 | sprintf(gszMsgBox, TgLoadCachedString(CSTID_BAD_SMOOTHHINGE_POLY_FIXED)); | ^ | "%s", poly.c:5639:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5639 | void SetPolyPropMask(ObjPtr, plMask, plSkip, pProp) | ^ poly.c:5673:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5673 | void FreePolyObj(ObjPtr) | ^ 51 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c polygon.c polygon.c:59:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | XPoint *MakePolygonVertex(XOff, YOff, NumVs, Vs) | ^ polygon.c:79:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | void DumpPoints(FP, NumPts, V, Indent) | ^ polygon.c:93:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | void DumpJustPolygonPath(FP, Vs, NumPts, Smooth, Curved) | ^ polygon.c:109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | void DumpPolygonPath(FP, ObjPtr, Vs, NumPts, Width, Pen, Fill, Dash, TransPat) | ^ polygon.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 DumpPolygonObj(FP, ObjPtr) | ^ polygon.c:295:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | int NeedsToCachePolygonObj(ObjPtr) | ^ polygon.c:302:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | void MakeCachedPolygon(ObjPtr) | ^ polygon.c:355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | void DrawPolygonObj(Win, XOff, YOff, ObjPtr) | ^ polygon.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 CreatePolygonObj(NumPts, CreateAbsolute) | ^ polygon.c:626:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | void AddPtToCreatePolygon(AbsX, AbsY) | ^ polygon.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 DoPolygonMeasureCursor(ppmci, start, num_pts, x, y, dx, dy, erase, drag, | ^ polygon.c:717:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | void EraseStructSplineLinesForCont(OrigX, OrigY, grid_x, grid_y, sv, sn, sv2, | ^ polygon.c:793:58: warning: too few arguments in call to 'DoPolygonMeasureCursor' 792 | DoPolygonMeasureCursor(&pmci, POLYGON_DOSHOW, num_pts, ABS_X(grid_x), | ~~~~~~~~~~~~~~~~~~~~~~ 793 | ABS_Y(grid_y), 0, 0, POLYGON_ERASE, POLYGON_DRAG); | ^ polygon.c:833:72: warning: too few arguments in call to 'DoPolygonMeasureCursor' 831 | DoPolygonMeasureCursor(&pmci, POLYGON_DOSHOW, num_pts, ABS_X(grid_x), | ~~~~~~~~~~~~~~~~~~~~~~ 832 | ABS_Y(grid_y), ABS_SIZE(abs(grid_x-LastX)), 833 | ABS_SIZE(abs(grid_y-LastY)), POLYGON_ERASE, POLYGON_DRAG); | ^ polygon.c:928:71: warning: too few arguments in call to 'DoPolygonMeasureCursor' 926 | DoPolygonMeasureCursor(&pmci, POLYGON_DOSHOW, num_pts, ABS_X(grid_x), | ~~~~~~~~~~~~~~~~~~~~~~ 927 | ABS_Y(grid_y), ABS_SIZE(abs(grid_x-LastX)), 928 | ABS_SIZE(abs(grid_y-LastY)), POLYGON_DRAW, POLYGON_DRAG); | ^ polygon.c:934:75: warning: too few arguments in call to 'DoPolygonMeasureCursor' 932 | DoPolygonMeasureCursor(&pmci, POLYGON_ENDSHOW, num_pts, | ~~~~~~~~~~~~~~~~~~~~~~ 933 | ABS_X(grid_x), ABS_Y(grid_y), ABS_SIZE(abs(grid_x-LastX)), 934 | ABS_SIZE(abs(grid_y-LastY)), POLYGON_ERASE, POLYGON_DRAG); | ^ polygon.c:950:72: warning: too few arguments in call to 'DoPolygonMeasureCursor' 948 | DoPolygonMeasureCursor(&pmci, POLYGON_ENDSHOW, num_pts, ABS_X(grid_x), | ~~~~~~~~~~~~~~~~~~~~~~ 949 | ABS_Y(grid_y), ABS_SIZE(abs(grid_x-LastX)), 950 | ABS_SIZE(abs(grid_y-LastY)), POLYGON_ERASE, POLYGON_DRAG); | ^ polygon.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 ContinueForStructSplinePolygonControlPoints(OrigX, OrigY, LastX, LastY, | ^ polygon.c:1009:12: warning: parameter 'num_pts' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1009 | pev, num_pts, psv, sn, psv2, sn2, pipt_prev, pipt_first) | ^ 1010 | int OrigX, OrigY, grid_x, grid_y, sn, sn2; 1011 | XEvent *pev; 1012 | XPoint **psv, **psv2; 1013 | IntPointTriplet *pipt_prev, *pipt_first; 1014 | { polygon.c:1008:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | void EraseStructSplineLinesForContAndUpdateSvs(OrigX, OrigY, grid_x, grid_y, | ^ polygon.c:1081:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | void ContinuePolygon(OrigX, OrigY) | ^ polygon.c:1784:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1784 | void DrawPolygon(input) | ^ polygon.c:1801:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | void SelectAndHighLightNewObjects(PrevTopObj) | ^ polygon.c:1945:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1945 | void AddToLastPoint(XOff, YOff) | ^ polygon.c:2030:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2030 | void SavePolygonObj(FP, ObjPtr) | ^ polygon.c:2084:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2084 | void ReadPolygonObj(FP, Inbuf, ObjPtr) | ^ polygon.c:2500:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2500 | void SetPolygonPropMask(ObjPtr, plMask, plSkip, pProp) | ^ polygon.c:2526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2526 | void FreePolygonObj(ObjPtr) | ^ 28 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c ps.c ps.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 PSUseReencode(font_str) | ^ ps.c:791:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | void psDynamicPrintPatternDef(FP, index) | ^ ps.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 DumpPSMacro(FP) | ^ ps.c:1114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | int ParsePsAdobeString(buf, use_ps_adobe_string, adobe_str, epsf_str) | ^ 4 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c raster.c raster.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 UpgradePenFill(pen_or_fill) | ^ raster.c:1323:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | unsigned char ByteReverse(byte) | ^ raster.c:1324: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] 1324 | unsigned char byte; | ^ ./raster.e:101:58: note: previous declaration is here 101 | extern unsigned char ByteReverse ARGS_DECL((unsigned char)); | ^ raster.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 GetPatternCellsize(fill_or_pen, pn_cell_w, pn_cell_h) | ^ raster.c:1359:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | void SetBit(buf, bit_offset, ival) | ^ raster.c:1375:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | unsigned char GetBit(buf, bit_offset) | ^ raster.c:1386:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | unsigned char *GetPatternBytes(fill_or_pen, pn_num_bytes, pn_need_to_free) | ^ 7 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c rcbox.c rcbox.c:62:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | void SetRCBoxVertex(x1, y1, x2, y2, r) | ^ rcbox.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 MyRCBox(window, gc, x1, y1, x2, y2, r) | ^ rcbox.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 MyFillRCBox(window, gc, x1, y1, x2, y2, r) | ^ rcbox.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 DumpRCBoxPSPath(FP, ltx, lty, rbx, rby, r, blank1, blank2) | ^ rcbox.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 DumpRCBoxPath(FP, ObjPtr, ltx, lty, rbx, rby, r, width, pen, dash, | ^ rcbox.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 DumpRCBoxObj(FP, ObjPtr) | ^ rcbox.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 NeedsToCacheRCBoxObj(ObjPtr) | ^ rcbox.c:341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | void MakeCachedRCBox(ObjPtr) | ^ rcbox.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 DrawRCBoxObj(win, XOff, YOff, ObjPtr) | ^ rcbox.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 CreateRCBoxObj(X1, Y1, X2, Y2, CreateAbsolute) | ^ rcbox.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 ContinueRCBox(OrigX, OrigY) | ^ rcbox.c:688:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | void DrawRCBox(input) | ^ rcbox.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 SaveRCBoxObj(FP, ObjPtr) | ^ rcbox.c:757:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | void ReadRCBoxObj(FP, Inbuf, ObjPtr) | ^ rcbox.c:966:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | void SetRCBoxPropMask(ObjPtr, plMask, plSkip, pProp) | ^ rcbox.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 FreeRCBoxObj(ObjPtr) | ^ 16 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c rect.c rect.c:38:51: warning: parameter 'LastLF' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | void DumpRectPath(FP, LtX, LtY, RbX, RbY, Indent, LastLF) | ^ 39 | FILE *FP; 40 | int LtX, LtY, RbX, RbY, Indent; 41 | { rect.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void DumpRectPath(FP, LtX, LtY, RbX, RbY, Indent, LastLF) | ^ rect.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 SetPoint(pt, x, y) | ^ rect.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 ClipRect(bbox, w, h) | ^ rect.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 CompareRect(pBBox1, pBBox2) | ^ rect.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | void SetRotateVs(vs, ltx, lty, rbx, rby) | ^ rect.c:109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | void SetBBRec(bbox, ltx, lty, rbx, rby) | ^ rect.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 ConcatCTM(ctm, orig_ctm, new_ctm) | ^ rect.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 TransformDoublePointThroughCTM(X, Y, ctm, NewX, NewY) | ^ rect.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 TransformPointThroughCTM(X, Y, ctm, NewX, NewY) | ^ rect.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 ReverseTransformDoublePointThroughCTM(X, Y, ctm, NewDx, NewDy) | ^ rect.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 ReverseTransformPointThroughCTM(X, Y, ctm, NewX, NewY) | ^ rect.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | void TransformObjectV(ObjPtr, VIn, VOut) | ^ rect.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 ReversedTransformObjectV(ObjPtr, VIn, VOut) | ^ rect.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 TransformOffsetBBoxThroughCTM(bbox, ctm, vs) | ^ rect.c:251:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | void GetTransformedOBBoxOffsetVs(ObjPtr, Vs) | ^ rect.c:280:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | void GetTransformedOBBoxAbsVs(ObjPtr, Vs) | ^ rect.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 SetCTM(ObjPtr, ctm) | ^ rect.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 ExpandExtents(pBBox, pnLtX, pnLtY, pnRbX, pnRbY) | ^ rect.c:358:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | void ExpandBBox(pBBox, pBBoxToExpand) | ^ rect.c:367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | void InflateBBox(pBBoxIn, dx, dy, pBBoxOut) | ^ rect.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | void OffsetBBox(pBBoxIn, dx, dy, pBBoxOut) | ^ rect.c:387:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | int BBoxIntersect(Rect1, Rect2) | ^ rect.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 IntersectRect(BBox1, BBox2, BBox3) | ^ rect.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 UnionRect(p_bbox1, p_bbox2, p_union_bbox) | ^ rect.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 Inside(BBox1, BBox2) | ^ rect.c:436:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | int PointInBBox(X, Y, Rect) | ^ rect.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 PointInIntPolygon(X, Y, NumPts, IV) | ^ rect.c:482:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | int PointInPolygon(X, Y, NumPts, V) | ^ rect.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 PointOnPoly(X, Y, NumPts, V, W) | ^ rect.c:572:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | int FindGoodText(XOff, YOff, TextObj) | ^ rect.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 FindGoodXBm(XOff, YOff, XBmObj) | ^ rect.c:610:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | int FindGoodXPm(XOff, YOff, XPmObj) | ^ rect.c:632:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | int FindGoodBox(XOff, YOff, BoxObj) | ^ rect.c:673:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | int FindGoodRCBox(XOff, YOff, RCBoxObj) | ^ rect.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 FindGoodOval(XOff, YOff, OvalObj) | ^ rect.c:794:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | int FindGoodPoly(XOff, YOff, PolyObj) | ^ rect.c:892:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | int FindGoodPolygon(XOff, YOff, PolygonObj) | ^ rect.c:926:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | int PointInFlatPie(Y,dir,angle,ov_int_y1,ov_int_y2,rad_int_y1,rad_int_y2) | ^ rect.c:1000:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | int PointInTallPie(X,dir,angle,ov_int_x1,ov_int_x2,rad_int_x1,rad_int_x2) | ^ rect.c:1074:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | int XInPieRange(X, dir, angle, cx, rx) | ^ rect.c:1102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | int YInPieRange(Y, dir, angle, cy, ry) | ^ rect.c:1129:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | int FindGoodArc(XOff, YOff, ArcObj) | ^ rect.c:1885:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1885 | int FindGoodObj(XOff, YOff, FirstObj, SubObj, ImmediateChildObj) | ^ 44 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c remote.c remote.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 UpdateDownloadStats(bytes, psz_buf) | ^ remote.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 GetClientID(psz_buf, buf_sz) | ^ remote.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 GetUserAgent(buf, buf_sz) | ^ remote.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 SetUserAgent(buf) | ^ remote.c:206:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | int GetUserID(psz_buf, buf_sz) | ^ remote.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | int GetPageNumFromPageSpec(psz_spec, pn_page_num) | ^ remote.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 FreeRemoteBuf(psz_buf) | ^ remote.c:319:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | int ParseURL(url, protocol, host, port, path) | ^ remote.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 DumpURL(host, port, path) | ^ remote.c:371:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | int DirIsRemote(psz_dir) | ^ remote.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 FileIsRemote(psz_file) | ^ remote.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 UrlIsHtml(psz_url) | ^ remote.c:408:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | int FormLocalName(psz_file, psz_def_ext, psz_return) | ^ remote.c:434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | int FormRemoteName(psz_file, psz_def_ext, psz_return) | ^ remote.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 FormNewFileName(psz_dir, psz_file, psz_def_ext, psz_return, ppsz_page_spec) | ^ remote.c:526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | void ShowRemoteStatus(psz_msg) | ^ remote.c:536:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | char *WriteRemoteFileIntoTemp(psz_buf, buf_sz, psz_ext) | ^ remote.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 TgifCompressedUrl(url) | ^ remote.c:634:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | void UncompressTgifFile(url, ppsz_buf, pn_buf_sz, pn_html) | ^ remote.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] 712 | char *GetProxyHostAndPort(proxy_spec, def_port, pn_port) | ^ remote.c:745:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | int LoadHttpIntoMem(url, host, port, path, ppsz_buf, ppsz_content_type, | ^ remote.c:865:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | int LoadFtpIntoMem(url, host, port, path, ppsz_buf, ppsz_content_type, | ^ remote.c:971:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | void ResetRemoteBuf(ppsz_buf, ppsz_content_type, pn_buf_sz, pn_html) | ^ remote.c:991:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | int LoadForwardedFileInMem(url, ppsz_buf, ppsz_content_type, pn_buf_sz, | ^ remote.c:1038:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | char *ParseAuthFields(psz_scheme) | ^ remote.c:1060:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | int LoadAuthenticatedFileInMem(url, host, port, ppsz_buf, ppsz_content_type, | ^ remote.c:1165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | int LoadRemoteFileInMem(url, ppsz_buf, ppsz_content_type, pn_buf_sz, pn_html, | ^ remote.c:1264:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | void LaunchViewer(launch_remote_file, psz_viewer, psz_url, | ^ remote.c:1315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | void AddAMimeType(main_type, sub_type) | ^ remote.c:1330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | void AddAMailCap(main_type, sub_type, cmd, params) | ^ remote.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 MalformedMailCapEntryMessage(mail_cap_ptr) | ^ remote.c:1555:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | char *GetContentValue(name, params) | ^ remote.c:1588:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | char *GetMimeViewer(psz_content_type) | ^ remote.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 SaveTmpURLToFile(psz_url, no_viewer_found, tmp_fname, new_file_name) | ^ remote.c:1785:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | int UseMimeViewer(psz_url, psz_content_type, tmp_fname) | ^ remote.c:1861:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1861 | char *GetViewer(ext_str) | ^ remote.c:1943:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | int UseViewer(psz_url, psz_content_type, tmp_fname) | ^ remote.c:1998:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1998 | int UseExternalViewer(is_html, psz_url, psz_content_type, tmp_fname) | ^ remote.c:2046:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2046 | int LoadRemoteFileFromMem(psz_url, psz_buf, psz_content_type, buf_sz, is_html) | ^ remote.c:2084:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2084 | void ModifyProxy(proxy_host) | ^ 40 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c rm_intrf.c rm_intrf.c:70:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | int GetEntryPointFailed(psz_funcname) | ^ rm_intrf.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 ParseInterfaceVersion(buf, pivi) | ^ rm_intrf.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | int RMCastInterface1Init(pivi) | ^ rm_intrf.c:356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | void RM_getVersion(buf, buf_sz) | ^ rm_intrf.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 RM_joinGroup(group, port) | ^ rm_intrf.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 RM_leaveGroup(sock, group) | ^ rm_intrf.c:415:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | int RM_sendto(socket, buffer, buffsize) | ^ 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_recv(socket, buffer, buffsize) | ^ 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_getCurStatus(group, port, c) | ^ rm_intrf.c:455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | int RM_sendCurStatus(connfd, buff, buffsize) | ^ 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_readConfigFile(filename, show_config_file) | ^ rm_intrf.c:469: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] 469 | char *filename, show_config_file; | ^ ./rm_intrf.e:100:51: note: previous declaration is here 100 | char show_config_file)); | ^ rm_intrf.c:481:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | void RM_getOption(opt, return_value) | ^ rm_intrf.c:493:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | void RM_setOption(opt, optvalue) | ^ rm_intrf.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 RM_setHostDelay(hostname, estimated_one_way_delay) | ^ rm_intrf.c:519:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | int RM_getHostDelay(hostname, estimated_one_way_delay) | ^ rm_intrf.c:533:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | void RMDEBUG_setpidip(pid, ip) | ^ rm_intrf.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 RMDEBUG_setsn(sn) | ^ 18 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c ruler.c ruler.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 GetUnitSpec(buf) | ^ ruler.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 BadUnit(spec) | ^ ruler.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 VerifyFormatUnitStr(format_unit_str) | ^ ruler.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 SetUnit(spec) | ^ ruler.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 PixelToMeasurementUnit(Buf, NumPixels) | ^ ruler.c:297:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | void SquarePixelToMeasurementUnit(Buf, NumSquarePixels) | ^ ruler.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 PixelToCurrentUnit(Buf, NumPixels) | ^ ruler.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 GetRightMarginMarkVs(vs) | ^ ruler.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 PtInRightMarginMark(button_x, button_y) | ^ ruler.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | void RedrawRightMargin(dpy, win) | ^ ruler.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 RedrawHRuler(dpy, win) | ^ ruler.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 DrawHRuleTick(XOff) | ^ ruler.c:512:20: warning: parameter 'YOff' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 512 | void DrawVRuleTick(YOff) | ^ 513 | { ruler.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 DrawVRuleTick(YOff) | ^ ruler.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 RedrawVRuler(dpy, win) | ^ ruler.c:628:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | void MarkRulers(XOff, YOff) | ^ ruler.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 GetCrossHairPosition(pnXOff, pnYOff, pnShown) | ^ ruler.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 ContinueMoveRightMarginMark(dpy, OrigX, OrigY) | ^ ruler.c:845:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | void RulersEventHandler(input) | ^ ruler.c:956:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | void BeginIntervalRulers(ltx, lty, rbx, rby) | ^ ruler.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 DrawIntervalRulers(ltx, lty, rbx, rby, delta_str) | ^ ruler.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 EndIntervalRulers(x, y) | ^ ruler.c:1013:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | void StartShowMeasureCursor(XOff, YOff, Str, ExtraSpace) | ^ ruler.c:1046:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | void ShowMeasureCursor(XOff, YOff, Str, ExtraSpace) | ^ ruler.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 EndShowMeasureCursor(XOff, YOff, Str, ExtraSpace) | ^ ruler.c:1202:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | void SetMeasureTooltipBBox(msg) | ^ ruler.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 DoIntervalMeasureTooltip(ltx, lty, rbx, rby, mdx, mdy, delta_str) | ^ ruler.c:1273:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | void StartMeasureTooltip(msg) | ^ ruler.c:1279:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | void SetMeasureTooltip(msg) | ^ ruler.c:1323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | void EndMeasureTooltip(force) | ^ 30 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c scroll.c scroll.c:60:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | int TgAnyButtonDown(dpy, win) | ^ 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 TgPressButtonLoop(dpy, win, pbbox, psbci) | ^ scroll.c:153:26: warning: parameter 'orientation' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 153 | int TgGetScrollHit(x, y, orientation, scroll_area_w, scroll_area_h, | ^ 154 | start_frac, length, total, pn_btn_offset) 155 | int x, y, scroll_area_w, scroll_area_h, length, total, *pn_btn_offset; 156 | double start_frac; 157 | { scroll.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 TgGetScrollHit(x, y, orientation, scroll_area_w, scroll_area_h, | ^ scroll.c:209:32: warning: parameter 'orientation' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 209 | void TgDrawScrollBar(dpy, win, orientation, x_off, y_off, scroll_area_w, | ^ 210 | scroll_area_h, start_frac, length, total) 211 | Display *dpy; 212 | Window win; 213 | int x_off, y_off, scroll_area_w, scroll_area_h, length, total; 214 | double start_frac; 215 | { scroll.c:209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | void TgDrawScrollBar(dpy, win, orientation, x_off, y_off, scroll_area_w, | ^ scroll.c:420:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | void GetMaxScrollOrigin(pn_orig_x, pn_orig_y) | ^ scroll.c:493:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | void ScrollTo(XOff, YOff) | ^ scroll.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 ScrollUp(button_ev) | ^ scroll.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] 651 | void ForceScrollDown(ScrollAFullWindow) | ^ scroll.c:689:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | void ScrollDown(button_ev) | ^ scroll.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 ScrollBtnCallback(pv_userdata) | ^ scroll.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 DoSBarBtnScroll(dpy, win, scroll_page, scroll_dir, pbbox) | ^ scroll.c:756:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | void DragToInVSBar(lty, block_start, block_h) | ^ scroll.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 DoDragInVSBar(btn_y, btn_offset) | ^ scroll.c:929:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | void VSBarHandler(button_ev) | ^ scroll.c:987:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | void ScrollLeft(button_ev) | ^ scroll.c:1045:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | void ScrollRight(button_ev) | ^ scroll.c:1090:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | void DragToInHSBar(ltx, block_start, block_w) | ^ scroll.c:1144:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | void DoDragInHSBar(btn_x, btn_offset) | ^ scroll.c:1263:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | void HSBarHandler(button_ev) | ^ scroll.c:1321:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | void ScrollEventHandler(input) | ^ scroll.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 ScrollToSpecifiedOrigin(cur_page_num, orig_x, orig_y, zoom_scale, | ^ scroll.c:1498:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | void SetOrigin(x, y, zoom_scale, zoomed_in) | ^ scroll.c:1507:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | void GetOrigin(pn_x, pn_y, pn_zoom_scale, pn_zoomed_in) | ^ scroll.c:1518:8: warning: comparison of array 'scrl_up_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1518 | if (scrl_up_bits == NULL) { } | ^~~~~~~~~~~~ ~~~~ scroll.c:1555:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | void ChangeScrollMode(ModeIndex) | ^ scroll.c:1562:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1562 | sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_SMOOTH_SCROLL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll.c:1562:26: note: treat the string as an argument to avoid this 1562 | sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_SMOOTH_SCROLL)); | ^ | "%s", scroll.c:1565:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1565 | sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_JUMP_SCROLL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll.c:1565:26: note: treat the string as an argument to avoid this 1565 | sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_JUMP_SCROLL)); | ^ | "%s", scroll.c:1568:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1568 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_UPD_WIN_SCROLL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll.c:1568:26: note: treat the string as an argument to avoid this 1568 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_UPD_WIN_SCROLL)); | ^ | "%s", scroll.c:1574:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | int RefreshScrollModeMenu(menu) | ^ scroll.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 | TgMenu *CreateScrollModeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ 32 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c select.c select.c:80:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | int GetObjCurved(ObjPtr) | ^ select.c:93:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | struct SelRec *SelectThisObject(ObjPtr) | ^ select.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 CalcBBox(X1, Y1, X2, Y2, LtX, LtY, RbX, RbY) | ^ select.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 CalcVertexBBox(LtX, LtY, RbX, RbY) | ^ select.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 UnSelNonVertexObjs(highlight, no_locked_obj_only) | ^ select.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 JustFreeSel(pTopSel, pBotSel) | ^ select.c:227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | void UnlinkSel(pSel, ppTopSel, ppBotSel) | ^ select.c:242:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | struct SelRec *FindObjInSel(pObj, pTopSel, pBotSel) | ^ select.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 PrependObjToSel(pObj, ppTopSel, ppBotSel) | ^ select.c:278:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | struct SelRec *AddObjIntoSel(pObj, pPrevSel, pNextSel, ppTopSel, ppBotSel) | ^ select.c:344:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | struct AttrRec *FindObjAttrWithName(ObjPtr, AttrName) | ^ select.c:410:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | struct ObjRec *FindAVertex(XOff, YOff, VIndex, AbsX, AbsY) | ^ select.c:486:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | int CandidatePortOwner(obj_ptr) | ^ select.c:502:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | struct ObjRec *FindAnObj(XOff, YOff, OwnerObj, ConnectObj, ReturnedObjName) | ^ select.c:694:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | int VertexAlreadySelected(ObjPtr, VIndex, VSelPtr) | ^ select.c:714:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | struct SelRec *AlreadySelected(ObjPtr) | ^ select.c:727:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | void AddSel(PrevPtr, NextPtr, SelPtr) | ^ select.c:747:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | void AddNewSelObj(ObjPtr) | ^ select.c:786:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | void ExpandCurSelBBoxes(obj_ptr) | ^ select.c:808:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | void SetNoLockBBox(ObjPtr) | ^ select.c:895:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | struct VSelRec *SelectOneVertex(XOff, YOff) | ^ select.c:936:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | struct SelRec *SelectOneObj(XOff, YOff, ppInnerObj) | ^ select.c:965:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | int FindVertices(X1, Y1, X2, Y2, TopVSel, BotVSel, pn_struct_spline_msg) | ^ select.c:1088:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | struct SelRec *FindObjects(X1, Y1, X2, Y2, TopSel, BotSel) | ^ select.c:1111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | void SelBox(window, gc, x1, y1, x2, y2) | ^ select.c:1131:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | struct ObjRec *PtInObjList(XOff, YOff, FirstObjPtr) | ^ select.c:1191:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | struct ObjRec *PtInSelected(XOff, YOff) | ^ select.c:1253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | void ToggleVertexSelection(ObjPtr, VIndex, AbsX, AbsY, pn_struct_spline_msg) | ^ select.c:1391:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | void ToggleSelectedObjIfSelectedAlready(ObjPtr) | ^ select.c:1420:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | void ContinueSel(XOff, YOff, ShiftKeyDown) | ^ select.c:1617:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | void KeyPressInSelect(key_ev) | ^ select.c:1720:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | int PtInObjAboveSelected(XOff, YOff) | ^ select.c:1747:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1747 | void Select(input) | ^ select.c:1858:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1858 | struct AttrRec *FindFileAttrWithName(AttrName) | ^ select.c:1915:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1915 | struct AttrRec *FindAttrWithName(ObjPtr, AttrName, pp_top_owner) | ^ select.c:2012:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2012 | struct AttrRec *ValidAttrArg(c_ptr, obj_ptr, new_c_ptr) | ^ select.c:2047:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2047 | int DoTeleport(teleport_attr) | ^ select.c:2206:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | int DoPageTeleport(teleport_attr, do_by_page_name) | ^ select.c:2259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2259 | void DoExecLoop(obj_ptr, exec_attr) | ^ select.c:2328:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2328 | void Teleport(button_ev) | ^ select.c:2392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | void SelAllObj(high_light, ignore_slideshow) | ^ select.c:2422:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | void PushTmpObj(ObjPtr) | ^ select.c:2498:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2498 | void DeleteObjectInsteadOfVertex(obj_ptr) | ^ select.c:2724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2724 | void GroupSingleObj(ForcePromoteAttrs) | ^ select.c:2752:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2752 | void GroupSelObj(highlight, record_cmd, redraw) | ^ 45 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c setup.c setup.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 RegisterWM_DELETE_WINDOW(win) | ^ setup.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 IsWM_DELETE_WINDOW(pXEvent) | ^ setup.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 ComputeMainWinXY(MainWinX, MainWinY) | ^ setup.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 Reconfigure(Forced) | ^ setup.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 TgHandleCmdEvent(pXEv) | ^ setup.c:667:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | int TgIsCmdEvent(pXEv) | ^ setup.c:680:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | void HandleSelectionClear(input) | ^ setup.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 DebugSelectRequest(property, target, level, msg) | ^ setup.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 HandleSelectionRequest(input) | ^ setup.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 mainWinEventHandler(input) | ^ setup.c:1030:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | int GetWMIconPixmap(pPixmap, pPixmapMask) | ^ setup.c:2558:8: warning: comparison of array 'btn1_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 2558 | if (btn1_bits == NULL) { } | ^~~~~~~~~ ~~~~ setup.c:2581:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2581 | void SetFileModified(modified) | ^ 13 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c shape.c shape.c:107:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | char *GetShapeDesc(index) | ^ shape.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 CreatePolygonShape(num_pts, has_smooth) | ^ shape.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 StartCreateShape(orig_x, orig_y) | ^ shape.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 CalcRegularPolygonVs(sides, vertex_at_right, start_degree, scale, | ^ shape.c:609:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | int CalcCreateShapeVs(end_x, end_y) | ^ shape.c:645:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | void HighLightCreateShape(end_x, end_y, generate, pn_need_to_draw) | ^ shape.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 DoCursor(x, y, w, h, which) | ^ shape.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 ContinueCreateShape(orig_x, orig_y) | ^ shape.c:1114:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1114 | sprintf(gszMsgBox, TgLoadString(objFill==NONEPAT ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1115 | STID_CREATE_SHADOW_SHAPE_NO_FILL : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1116 | STID_CREATE_SHADOW_SHAPE_TRAN_FILL)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shape.c:1114:26: note: treat the string as an argument to avoid this 1114 | sprintf(gszMsgBox, TgLoadString(objFill==NONEPAT ? | ^ | "%s", shape.c:1157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | void ShapeSubMenu(nIndex) | ^ shape.c:1166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | void RefreshShapeMenu(menu) | ^ shape.c:1171:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | TgMenu *CreateShapeMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ shape.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 ShapeMenu(X, Y, TrackMenubar) | ^ 13 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c shortcut.c shortcut.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 FunctionKeySpec(buf, pn_code, pn_index_return) | ^ shortcut.c:771:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | int FetchShortCut(c, code, state, name, args, args_sz) | ^ shortcut.c:803:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | int FetchFuncKeyShortCut(c, code, state, name, args, args_sz) | ^ shortcut.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 FetchCmdById(nCmdId, code, state, name, args) | ^ shortcut.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 ValidShortCut(name, num_args, code, state) | ^ 5 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c special.c special.c:85:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | struct ObjRec *CreatePinObj(obj_ptr1, obj_ptr2, sym_count) | ^ special.c:143:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | struct ObjRec *ReadSymbol(FP, FileType) | ^ special.c:210:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | struct ObjRec *GetObjRepresentation(PathName, SymName, FileType) | ^ special.c:257:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | unsigned int PlaceTopObj(ObjPtr, savedTopObj, savedBotObj) | ^ special.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 UnMakeIconicOnInstantiate(obj_ptr) | ^ special.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 UnMakeIconicOnInstantiateDeleteAttrs(obj_ptr) | ^ special.c:599:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | int ObjIsAPort(obj_ptr) | ^ special.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 AddWireAttributes(poly_obj_ptr, signal_name, p_obbox, auto_center) | ^ special.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 ChangeConnectionView(pravci) | ^ special.c:779:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | int HasConnAndDisConnViewObjSubObjs(obj_ptr, pccvi) | ^ special.c:831:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | int SetPortSignalName(port_obj, attr_ptr, attr_owner_obj, new_signal_name) | ^ special.c:868:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | void DoNameWire(automatic) | ^ special.c:1047:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | void AddObjToAnchor(anchor, obj_ptr) | ^ special.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 AddBroadcastWireAttributes(poly_obj_ptr, signal_name, p_obbox, auto_center) | ^ special.c:1088:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | void DoNameBroadcastWire(signal_name, signal_name_diff) | ^ special.c:1184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | void TrySetCommonSignalName(attr_ptr, pszSignalName, szSignalName, | ^ special.c:1203:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | int CheckPortsAndBroadcastObj(ppAnchor, pnAnchorIsPoly, pnNumPorts, | ^ special.c:1295:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1295 | sprintf(gszMsgBox, TgLoadString(STID_CONFLICT_SIG_NAME_ENT_NEW)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ special.c:1295:29: note: treat the string as an argument to avoid this 1295 | sprintf(gszMsgBox, TgLoadString(STID_CONFLICT_SIG_NAME_ENT_NEW)); | ^ | "%s", special.c:1298:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1298 | sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ special.c:1298:29: note: treat the string as an argument to avoid this 1298 | sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); | ^ | "%s", special.c:1303:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1303 | sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ special.c:1303:26: note: treat the string as an argument to avoid this 1303 | sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); | ^ | "%s", special.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 DoNameOrClearAPort(which) | ^ special.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 DoRenameOrClearSignalNameForAPort(which) | ^ special.c:1525:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | void RenameOrClearSignalNameForAPort(which) | ^ special.c:1566:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1566 | int CheckPortsAndObj(ppAnchor, pnNumPorts) | ^ special.c:1654:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | void RenumberObjId(obj_ptr) | ^ special.c:1792:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | int MakeIconic(sym_path, record_cmd) | ^ special.c:1983:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1983 | void AddLine(buf) | ^ special.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 ImportAnAttr(obj_ptr, attr_line_num, fname) | ^ special.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 OkayToImportNamedAttr(num_restricted, ppsz_restricted) | ^ special.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 CreateLineInfo(status, attr_line_num) | ^ special.c:2286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | void DoImportNamedAttrs(fp, num_restricted, ppsz_restricted, pn_ok_count, | ^ special.c:2333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2333 | int ImportNamedAttrs(fp, obj_ptr, num_restricted, ppsz_restricted, fname) | ^ special.c:2499:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | int GetMergeSpec(obj_ptr, attr_name, pn_val, distance) | ^ special.c:3093:36: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3093 | sprintf(&buf[cur_len], gszMsgBox); | ^~~~~~~~~ special.c:3093:36: note: treat the string as an argument to avoid this 3093 | sprintf(&buf[cur_len], gszMsgBox); | ^ | "%s", special.c:3130:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3130 | sprintf(gszMsgBox, TgLoadString(showWireSignalName ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3131 | STID_WILL_SHOW_WIRE_SIGNAL_NAME : STID_WILL_HIDE_WIRE_SIGNAL_NAME)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ special.c:3130:23: note: treat the string as an argument to avoid this 3130 | sprintf(gszMsgBox, TgLoadString(showWireSignalName ? | ^ | "%s", special.c:3135:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3135 | int RefreshPortMenu(menu) | ^ special.c:3147:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3147 | TgMenu *CreatePortMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ special.c:3164:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3164 | void RefreshSpecialMenu(menu) | ^ special.c:3169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3169 | int SpecialMenu(X, Y, TrackMenubar) | ^ 39 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c spline.c spline.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | int ReadSplineTightness(buf) | ^ spline.c:67:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | void CalcAutoRetractedArrowAttrBend(Style, X0, Y0, X2, Y2, X1, Y1) | ^ spline.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 MidPoint(X1, Y1, X2, Y2, pd_mx, pd_my) | ^ spline.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 SetAStructuredSplineTickMark(vs, num_pts, target_vs) | ^ spline.c:134:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | IntPoint *GetStructuredSplinePolyTickMarkVs(pn_N, obj_ptr, poly_ptr, | ^ spline.c:327:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | IntPoint *MakeStructuredSplinePolyVertex(pn_N, ppszSmooth, NumVs, Vs) | ^ spline.c:414:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | IntPoint *MakeStructuredSplinePolygonVertex(pn_N, ppszSmooth, NumVs, Vs) | ^ spline.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 AddSplinePt(N, MaxN, X, Y) | ^ spline.c:525:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | int AddDoubleSplinePt(N, MaxN, X, Y) | ^ spline.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 SetSplineVs(N, MaxN, X1, Y1, X2, Y2, X3, Y3, X4, Y4) | ^ spline.c:592:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | void SetDoubleSplineVs(N, MaxN, X1, Y1, X2, Y2, X3, Y3, X4, Y4) | ^ spline.c:639:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | XPoint *MakeSplinePolyVertex(Level, Curved, N, XOff, YOff, NumVs, Vs) | ^ spline.c:797:35: warning: parameter 'Curved' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 797 | XPoint *MakeMultiSplinePolyVertex(Curved, N, Smooth, XOff, YOff, NumVs, Vs) | ^ 798 | int *N, XOff, YOff, NumVs; 799 | char *Smooth; 800 | IntPoint *Vs; 801 | { spline.c:797:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | XPoint *MakeMultiSplinePolyVertex(Curved, N, Smooth, XOff, YOff, NumVs, Vs) | ^ spline.c:872:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | XPoint *MakeSplinePolygonVertex(Level, Curved, N, XOff, YOff, NumVs, Vs) | ^ spline.c:942:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | XPoint *DoMakeDoubleIntSplinePolygonVertex(N, XOff, YOff, NumVs, Vs) | ^ spline.c:1025:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | XPoint *MakeMultiSplinePolygonVertex(Curved, N, Smooth, XOff, YOff, NumVs, Vs) | ^ spline.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 OpenSetupMatrix(NumPts, Vs) | ^ spline.c:1157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | void TriGaussian(NumPts) | ^ spline.c:1182:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | void FreeMtxInfo(NumPts) | ^ spline.c:1201:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | IntPoint *OpenControlPts(NumPts, N) | ^ spline.c:1241:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | XPoint *MakeIntSplinePolyVertex(N, CntrlN, CntrlVs, XOff, YOff, NumVs, Vs) | ^ spline.c:1289:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | void ClosedSetupMatrix(NumPts, Vs) | ^ spline.c:1345:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | void DoubleClosedSetupMatrix(NumPts, Vs) | ^ spline.c:1451:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | void Gaussian(NumPts) | ^ spline.c:1521:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | IntPoint *ClosedControlPts(NumPts, N) | ^ spline.c:1552:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | DoublePoint *DoubleClosedControlPts(NumPts, N) | ^ spline.c:1582:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | XPoint *MakeIntSplinePolygonVertex(N, CntrlN, CntrlVs, XOff, YOff, NumVs, Vs) | ^ spline.c:1618:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | XPoint *MakeDoubleIntSplinePolygonVertex(N, CntrlN, CntrlVs, XOff, YOff, | ^ spline.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 DumpCurvedPolyPoints(FP, Curved, NumPts, V, Indent) | ^ spline.c:1748:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1748 | void DumpCurvedPolygonPoints(FP, Curved, NumPts, V, Indent) | ^ spline.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 DumpMultiCurvedPolyPoints(FP, Smooth, Style, Curved, NumPts, V, Indent) | ^ spline.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 DumpMultiCurvedPolygonPoints(FP, Smooth, Curved, NumPts, V, Indent) | ^ 33 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c stk.c stk.c:367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | void RestoreFileInfo(StkPtr) | ^ 1 warning generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c stream.c stream.c:159:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | void ResetMultipartReplace(redraw) | ^ stream.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | int IsJustLF(buf) | ^ stream.c:188:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | char *GetHeaderLine(psz_start, just_lf) | ^ stream.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 ValidMultipartReplace(buf, pn_multipart) | ^ stream.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 ValidImageContentType(buf, ppsz_filter) | ^ stream.c:273:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | void UpdateBoundary(buf) | ^ stream.c:298:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | int FindBoundary(buf) | ^ stream.c:329:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | int GetContentLength(buf) | ^ stream.c:408:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | void ScanHeader(buf) | ^ stream.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 GetContent(buf, buf_len, start_index, pici) | ^ stream.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 ScanBody(buf, pn_buf_len) | ^ stream.c:640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | void HandleMultipartReplace(buf, pn_buf_len) | ^ stream.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 FakeUserAgent(buf) | ^ stream.c:672:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 672 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_USERAGENT_FOR_HTTP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:672:29: note: treat the string as an argument to avoid this 672 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_USERAGENT_FOR_HTTP)); | ^ | "%s", stream.c:688:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 688 | sprintf(gszMsgBox, TgLoadString(STID_WILL_USE_DEF_USERAGENT_HTTP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:688:26: note: treat the string as an argument to avoid this 688 | sprintf(gszMsgBox, TgLoadString(STID_WILL_USE_DEF_USERAGENT_HTTP)); | ^ | "%s", stream.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 FakeReferer(buf) | ^ stream.c:711:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 711 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_REFERRER_FOR_HTTP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:711:29: note: treat the string as an argument to avoid this 711 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_REFERRER_FOR_HTTP)); | ^ | "%s", stream.c:730:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 730 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_REFERRER_HTTP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:730:26: note: treat the string as an argument to avoid this 730 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_REFERRER_HTTP)); | ^ | "%s", stream.c:741:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 741 | sprintf(gszMsgBox, TgLoadString(gnHttpKeepAlive ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 742 | STID_WILL_USE_KEEP_ALIVE_HTTP : STID_NOT_WILL_USE_KEEP_ALIVE_HTTP)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:741:23: note: treat the string as an argument to avoid this 741 | sprintf(gszMsgBox, TgLoadString(gnHttpKeepAlive ? | ^ | "%s", 19 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c stretch.c stretch.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 PtIn4Corners(XOff, YOff, BBox, Corner) | ^ stretch.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 PtIn8Places(XOff, YOff, BBox, Corner) | ^ stretch.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | int PtInPolyMark(ObjPtr, XOff, YOff, NumPts, V, Index) | ^ stretch.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 RetractedArrowAttr(obj_ptr) | ^ stretch.c:178:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | int AutoRetractedArrowAttr(obj_ptr, check_v_count) | ^ stretch.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 AutoCenterAttr(obj_ptr) | ^ stretch.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | void CenterObjInOBBox(TextObjPtr, OBBox, BBoxReturn) | ^ stretch.c:262:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | struct SelRec *PtInSelMark(XOff, YOff, Corner) | ^ stretch.c:333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | int HasOnReshape(obj_ptr, pp_name_attr) | ^ stretch.c:354:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | int SkipOnResize(obj_ptr) | ^ stretch.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 HasOnResize(obj_ptr, pp_name_attr) | ^ stretch.c:401:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | char **NeedToProcessOnResize(pn_num_to_resize) | ^ stretch.c:431:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | struct ObjRec *FindObjWithOID(oid) | ^ stretch.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 DoOnResize(ppsz_names, num_to_resize) | ^ stretch.c:492:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | int GetVlistIndexFromStretchStructuredSplineInfo(psssi, ss_index) | ^ stretch.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 DoStretchPolyMeasureCursor(start, num_pts, vs, index, dx, dy, erase, drag, | ^ stretch.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 DoStretchStructSplineMeasureCursor(start, start_v, dx, dy, grid_x, grid_y) | ^ stretch.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 SetIPTInfoForStretchPoly(index, n, vs, psssi) | ^ stretch.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] 804 | void SetIPTInfoForStretchPolygon(index, n, vs, psssi) | ^ stretch.c:1011:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | void SetVsAndVs2ForHinge(psssi, dx, dy, pn_num_vs, vs, pn_num_vs2, vs2) | ^ stretch.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 SetVsAndVs2ForSmooth(psssi, dx, dy, pn_num_vs, vs, pn_num_vs2, vs2) | ^ stretch.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 SetVsAndVs2ForStretchStructSpline(psssi, dx, dy, pn_num_vs, vs, pn_num_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 FixUpSmoothAndSmooth2ForStretchStructSpline(num_vs, smooth, num_vs2, | ^ stretch.c:1304:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | void EraseHighLightForHinge(psssi, dx, dy, draw_dashed_line, draw_vertices) | ^ stretch.c:1408:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | void EraseHighLightForSmooth(psssi, dx, dy, draw_dashed_line, draw_vertices) | ^ stretch.c:1558:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1558 | void EraseHighLightForStretchStructSpline(psssi, dx, dy, draw_dashed_line, | ^ stretch.c:1570:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | XPoint *DupVs(pn_return, vs, n) | ^ stretch.c:1583:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | void MoveATransformedPoint(obj_ptr, vs, abs_dx, abs_dy) | ^ stretch.c:1600:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | void UpdateObjForStretchStructSpline(obj_ptr, n, vs, abs_dx, abs_dy, psssi) | ^ stretch.c:1786:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | void StretchStructSpline(XGridOff, YGridOff, ObjPtr, Index) | ^ stretch.c:2060:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | void StretchPoly(XGridOff, YGridOff, ObjPtr, NumPts, V, Index) | ^ stretch.c:2401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2401 | void StretchedXY(X, Y, NewX, NewY) | ^ stretch.c:2413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2413 | void StretchedAbsXY(X, Y, NewX, NewY) | ^ stretch.c:2425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2425 | void ShearedXY(Corner, x, y, dx_shear, dy_shear, dx_scale, dy_scale, | ^ stretch.c:2459:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2459 | void ShearedAbsXY(Corner, abs_x, abs_y, dx_shear, dy_shear, dx_scale, dy_scale, | ^ stretch.c:2493:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2493 | void SetPivot(Corner, pOBBox) | ^ stretch.c:2555:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2555 | void ShearObj(ObjPtr, Corner, dxShear, dyShear, dxScale, dyScale, | ^ stretch.c:2688:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2688 | void StretchSimpleText(ObjPtr, Corner) | ^ stretch.c:2752:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2752 | int CompoundObjHasTextSubObj(ObjPtr) | ^ stretch.c:2773:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2773 | void JustMoveSimpleCompoundObj(ObjPtr, Corner) | ^ stretch.c:2832:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2832 | void StretchAttr(ObjPtr, Corner, dxScale, dyScale, AutoCenterAttr) | ^ stretch.c:2897:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2897 | void StretchSimpleArc(ObjPtr) | ^ stretch.c:2937:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2937 | void StretchSimplePoly(ObjPtr) | ^ stretch.c:2969:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2969 | void StretchSimplePolygon(ObjPtr) | ^ stretch.c:3001:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3001 | void StretchSimpleObj(ObjPtr, Corner, dxScale, dyScale, FinalOBBox, | ^ stretch.c:3027:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3027 | void ScaleLineWidth(ObjPtr, dScale) | ^ stretch.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 StretchObj(ObjPtr, Corner, dxScale, dyScale, ForceToUseCTM) | ^ stretch.c:3161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3161 | void StretchAllSelObjects(Corner, dxScale, dyScale) | ^ stretch.c:3192:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3192 | int ConstrainedStretchAllSel(Corner, ltx, lty, rbx, rby) | ^ stretch.c:3369:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3369 | void StretchAllSel(Corner, dxScale, dyScale) | ^ stretch.c:3418:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3418 | int DiagonalDistance(dx, dy) | ^ stretch.c:3427:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3427 | double DiagonalAngle(dx, dy) | ^ stretch.c:3437:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3437 | void GetMeasurement(ObjPtr, buf, buf1) | ^ stretch.c:3460:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3460 | void PointsToShearScale(Corner, x_pivot, y_pivot, x_move, y_move, | ^ stretch.c:3516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3516 | void StretchBox(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:3720:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3720 | void StretchSel(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:3761:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3761 | void ScaleAnEPSObj(ObjPtr, ScalingFactor) | ^ stretch.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 ScaleAllSelObjects(Corner, dxScale, dyScale) | ^ stretch.c:3803:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3803 | void ScaleAllSel(Corner, dxScale, dyScale, redraw) | ^ stretch.c:3856:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3856 | char *FindColon(s) | ^ stretch.c:4050:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4050 | void ScaleObjLikeScaleEverything(obj_ptr, scale, redraw) | ^ stretch.c:4124:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4124 | void SizeAllSelObj(AbsW, AbsH) | ^ stretch.c:4168:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4168 | void SizeAnObj(ObjPtr, TopOwner, AbsW, AbsH) | ^ stretch.c:4249:37: warning: parameter 'abs_w' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4249 | void DoSizeAllSelToGivenWidthHeight(abs_w, abs_h, do_width, do_height) | ^ 4250 | int abs_h, do_width, do_height; 4251 | { stretch.c:4249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4249 | void DoSizeAllSelToGivenWidthHeight(abs_w, abs_h, do_width, do_height) | ^ stretch.c:4311:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4311 | void SizeAllSelToGivenWidthHeight(AbsW, AbsH) | ^ stretch.c:4317:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4317 | void SizeAllSelToGivenWidth(AbsW) | ^ stretch.c:4323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4323 | void SizeAllSelToGivenHeight(AbsH) | ^ stretch.c:4329:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4329 | void FlipObjHorizontal(ObjPtr) | ^ stretch.c:4484:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4484 | void FlipIconHorizontal(ObjPtr) | ^ stretch.c:4512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4512 | void FlipObjVertical(ObjPtr) | ^ stretch.c:4651:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4651 | void FlipIconVertical(ObjPtr) | ^ stretch.c:4685:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4685 | int OkToTransform(obj_ptr, stid) | ^ stretch.c:4716:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4716 | void SetRotatePivotByObject(ObjPtr) | ^ stretch.c:4724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4724 | void RotatePtClockWise(X, Y, NewX, NewY) | ^ stretch.c:4732:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4732 | void RotatedXY(X, Y, AngleDelta, NewX, NewY) | ^ stretch.c:4751:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4751 | void RotatedAbsXY(X, Y, AngleDelta, NewX, NewY) | ^ stretch.c:4769:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4769 | void RotateObj(ObjPtr, Corner, AngleDelta, RealLtX, RealLtY) | ^ stretch.c:4876:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4876 | void RotateObjForLayout(ObjPtr, AngleInRadian, Corner) | ^ stretch.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 RotateObjClockWise(ObjPtr) | ^ stretch.c:4909:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4909 | void RotateIconClockWise(ObjPtr) | ^ stretch.c:4936:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4936 | void RotatePtCounter(X, Y, NewX, NewY) | ^ stretch.c:4943:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4943 | void RotateObjCounter(ObjPtr) | ^ stretch.c:4965:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4965 | void RotateIconCounter(ObjPtr) | ^ stretch.c:4993:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4993 | void FlipAllSelHorizontal(saved_ltx, saved_lty, saved_rbx, saved_rby) | ^ stretch.c:5053:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5053 | void FlipAllSelVertical(saved_ltx, saved_lty, saved_rbx, saved_rby) | ^ stretch.c:5218:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5218 | void SetTextRotation(pszBuf) | ^ stretch.c:5257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5257 | void SetRotationIncrement(pszBuf) | ^ stretch.c:5296:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5296 | int IdentCTM(ctm1, ctm2) | ^ stretch.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 SetObjCTM(ObjPtr, nTransformed, ctm) | ^ stretch.c:5373:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5373 | void SetSelCTM(nTransformed, ctm) | ^ stretch.c:5421:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5421 | void RotateBBoxByAnAngle(bbox, d_angle, vs) | ^ stretch.c:5439:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5439 | void RotateVsByAnAngle(InVs, NumPts, d_angle, OutVs) | ^ stretch.c:5455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5455 | void RotateAllSelObjects(Corner, AngleDelta) | ^ stretch.c:5471:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5471 | int ConstrainedRotateAllSel(Corner, AngleDelta, ltx, lty, rbx, rby) | ^ stretch.c:5648:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5648 | void RotateAllSel(Corner, AngleDelta) | ^ stretch.c:5697:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5697 | void FormatAngleForRotate(buf, angle) | ^ stretch.c:5707:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5707 | void RotateSel(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:5954:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5954 | void ShearBBox(Corner, bbox, dx_shear, dy_shear, dx_scale, dy_scale, vs) | ^ stretch.c:6019:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6019 | void ShearVs(Corner, InVs, NumPts, dx_shear, dy_shear, dx_scale, dy_scale, | ^ stretch.c:6061:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6061 | void ShearAllSelObjects(Corner, dxShear, dyShear, dxScale, dyScale) | ^ stretch.c:6079:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6079 | int ConstrainedShearAllSel(Corner, dxShear, dyShear, dxScale, dyScale, | ^ stretch.c:6262:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6262 | void ShearAllSel(Corner, dxShear, dyShear, dxScale, dyScale) | ^ stretch.c:6312:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6312 | void ShearSel(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:6452:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6452 | void RotateShearSel(XGridOff, YGridOff, ObjPtr, Corner) | ^ stretch.c:6469:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6469 | int RefreshFlipRotateMenu(menu) | ^ stretch.c:6501:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6501 | TgMenu *CreateFlipRotateMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ stretch.c:6519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6519 | void HighLightRotatePivotXY(abs_x, abs_y, Dir) | ^ stretch.c:6546:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6546 | void HighLightRotatePivot(Dir) | ^ stretch.c:6587:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6587 | int PtInRotatePivot(mouse_x, mouse_y) | ^ stretch.c:6607:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6607 | int RefreshMoveStdRotatePivotMenu(menu) | ^ stretch.c:6643:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6643 | TgMenu *CreateMoveStdRotatePivotMenu(parent_menu, x, y, menu_info, | ^ stretch.c:6661:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6661 | void RefreshAutoRotatePivotMenu(menu) | ^ stretch.c:6679:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6679 | TgMenu *CreateAutoRotatePivotMenu(parent_menu, x, y, menu_info, | ^ stretch.c:6706:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6706 | int AutoRotatePivotMenu(X, Y, TrackMenubar) | ^ stretch.c:6730:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6730 | int ReadRotatePivotInfo(buf) | ^ stretch.c:6758:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6758 | void ContinueMoveRotatePivot(OrigX, OrigY) | ^ stretch.c:6913:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6913 | IntPoint *GetPolyVertices(N, ObjPtr, NumPts, V, Curved, pn_need_to_free) | ^ stretch.c:7072:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7072 | void MoveRotatePivot(Corner) | ^ stretch.c:7125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7125 | void AutoRotatePivotSubMenu(index) | ^ stretch.c:7128:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 7128 | if (!autoRotatePivot == index) return; | ^ ~~ stretch.c:7128:8: note: add parentheses after the '!' to evaluate the comparison first 7128 | if (!autoRotatePivot == index) return; | ^ | ( ) stretch.c:7128:8: note: add parentheses around left hand side expression to silence this warning 7128 | if (!autoRotatePivot == index) return; | ^ | ( ) 121 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c strtbl.c strtbl.c:499:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | char *SetAndLoadCachedString(index) | ^ strtbl.c:516:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | char *TgLoadCachedString(nID) | ^ strtbl.c:3669:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3669 | char *TgLoadString(nID) | ^ strtbl.c:3741:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3741 | char *DistrDirectLoadString(nIndex) | ^ strtbl.c:3748:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3748 | char *AlignedLoadString(hori_align, vert_align) | ^ strtbl.c:3781:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3781 | char *HoriAlignLoadString(hori_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 *VertAlignLoadString(vert_align) | ^ strtbl.c:3827:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3827 | char *AlignDirectLoadString(nIndex) | ^ strtbl.c:3854:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3854 | char *AlignDirectToGridLoadString(nIndex) | ^ strtbl.c:3881:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3881 | char *AlignDirectToPageLoadString(nIndex) | ^ strtbl.c:3908:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3908 | char *AlignVerticesDirectToPageLoadString(nIndex) | ^ strtbl.c:3949:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3949 | void SetCurChoiceMouseStatusStrings(choice, left_is_none, obj_under_mouse, | ^ strtbl.c:4143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4143 | void FreeChoiceQuickMouseStatusStrings(pmssr) | ^ strtbl.c:4188:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4188 | void QuickSetMouseStatus(pmssr, index) | ^ strtbl.c:4248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4248 | void SetColorMouseStatusStrings(shift_or_cntrl_down, index) | ^ strtbl.c:4321:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4321 | char *PropLoadString(lWhich) | ^ strtbl.c:4386:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4386 | char *ExportFormatMenuLoadString(where_to_print, color_dump) | ^ 17 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tangram2.c tangram2.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 ValidTangram2CmdName(buf, len, pn_num_args) | ^ tangram2.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 ValidTangram2CmdId(nCmdId) | ^ tangram2.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 DoTangram2Cmd(nCmdId, args) | ^ tangram2.c:169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | int FetchTangram2ShortCutNumArgs(index, pn_num_args) | ^ tangram2.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | int DoTangram2ShortCut(index, args) | ^ tangram2.c:207:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | ExecInfo *Tangram2GetExecInfo(func_name) | ^ tangram2.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 BadAttr_Simulator(attr_name, cmd_name) | ^ tangram2.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 ExecStartSimulator(obj_ptr, orig_cmd) | ^ tangram2.c:521:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | void ExecEndSimulator(obj_ptr, orig_cmd) | ^ tangram2.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 AppendLinesToAttr(attr_ptr, ppsz_lines) | ^ tangram2.c:565:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | static void UpdateStateVars( soc, obj_ptr, ct_pack_in ) | ^ tangram2.c:741:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | int ParseFormat( format ) | ^ tangram2.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 ParseStateVariable( buffer, symname, symvalue, symformat, | ^ tangram2.c:956:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | void SendStepInfo( soc, ct_pack_out ) | ^ tangram2.c:1130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | void ExecSimulateStep(obj_ptr, orig_cmd) | ^ tangram2.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 RefreshTangram2Menu(menu) | ^ tangram2.c:1238:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | TgMenu *CreateTangram2Menu(parent_menu, x, y, menu_info, status_str_xlated) | ^ tangram2.c:1254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | int Tangram2Menu(X, Y, TrackMenubar) | ^ tangram2.c:1516:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | struct ObjRec *createGenerateChainButton( dbglevel, maxstates, output ) | ^ tangram2.c:1582:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | struct ObjRec *createStartSimulatorButton( runs, event, trans, time, mode ) | ^ tangram2.c:1647:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | struct ObjRec *createSimulationStepButton( time, anim, delay, step ) | ^ tangram2.c:1743:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | int parseArgs( args, dst, no_args, max_arg_length ) | ^ tangram2.c:1790:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1790 | void Tangram2GenerateChain( args ) | ^ tangram2.c:1799:26: warning: incompatible pointer types passing 'char[3][1024]' to parameter of type 'char *' [-Wincompatible-pointer-types] 1799 | if( !parseArgs( args, arg, 3, 1024 ) ) | ^~~ tangram2.c:1828:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | void Tangram2StartSimulator( args ) | ^ tangram2.c:1847:26: warning: incompatible pointer types passing 'char[12][1024]' to parameter of type 'char *' [-Wincompatible-pointer-types] 1847 | if( !parseArgs( args, arg, 12, 1024 ) ) | ^~~ tangram2.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 Tangram2UpdateInitAttr(port_obj, signal_name) | ^ 27 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tdgtbase.c tdgtbase.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 RedrawTdgtBase(pti) | ^ tdgtbase.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 TdgtBaseEventHandler(pti, input, handling_pti) | ^ tdgtbase.c:138:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | int IsTdgtBaseEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtbase.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 DestroyTdgtBase(pti) | ^ 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 MapTdgtBase(pti) | ^ tdgtbase.c:215:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | void TdgtBaseMoveResize(pti, x, y, w, h) | ^ tdgtbase.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 TdgtBaseSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtbase.c:253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | void TdgtBaseReset(pTdgtBase) | ^ tdgtbase.c:273:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | TdgtBase *CreateTdgtBase(parent_win, parent_tidgetinfo, ctl_id, x, y, w, h, | ^ tdgtbase.c:327:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | int TdgtBaseSetText(pTdgtBase, str) | ^ tdgtbase.c:341:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | char *TdgtBaseGetText(pTdgtBase) | ^ tdgtbase.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 TdgtBaseSetState(pTdgtBase, new_state) | ^ tdgtbase.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 TdgtBaseGetState(pTdgtBase) | ^ tdgtbase.c:372:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | int TdgtBaseAddChild(pTdgtBase, pChildTidgetInfo) | ^ tdgtbase.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 TdgtBaseWillHandleKeyPressEvents(pTdgtBase, | ^ tdgtbase.c:392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | void TdgtBaseSetWmDeleteCallback(pTdgtBase, | ^ tdgtbase.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 TdgtBaseSetFocusCallback(pTdgtBase, pf_focus_callback) | ^ 17 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tdgtbmpl.c tdgtbmpl.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 FreeBmpListItemInfo(pblii) | ^ tdgtbmpl.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 TdgtBmpListGetNumRows(pTdgtBmpList) | ^ tdgtbmpl.c:114:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | void RedrawTdgtBmpListItem(pTdgtBmpList, index, x, y, pblii) | ^ tdgtbmpl.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 RedrawTdgtBmpListScrollWindow(pTdgtBmpList) | ^ tdgtbmpl.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 RedrawTdgtBmpListDspWindow(pTdgtBmpList) | ^ tdgtbmpl.c:226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | void RedrawTdgtBmpListBaseWindow(pTdgtBmpList) | ^ tdgtbmpl.c:241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | void RedrawTdgtBmpList(pti) | ^ tdgtbmpl.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 TdgtBmpListScrollItemCallback(pv_userdata) | ^ tdgtbmpl.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | int TdgtBmpListScrollPageCallback(pv_userdata) | ^ tdgtbmpl.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 DoTdgtBmpListBtnScroll(pTdgtBmpList, scroll_page, scr_dir, pbbox) | ^ tdgtbmpl.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 DoDragInTdgtBmpList(pTdgtBmpList, button_ev, btn_y, btn_offset) | ^ tdgtbmpl.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 TdgtBmpListScrollHandler(pTdgtBmpList, button_ev) | ^ tdgtbmpl.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 TdgtBmpListControlChar(pTdgtBmpList, key_ev, key_sym) | ^ tdgtbmpl.c:663:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | void SpecialKeyInTdgtBmpList(pTdgtBmpList, key_ev, key_sym, pn_changing, | ^ tdgtbmpl.c:685:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | int KeyPressInTdgtBmpList(pTdgtBmpList, key_ev, pn_changing, | ^ tdgtbmpl.c:750:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | int TdgtBmpListDspHandler(pTdgtBmpList, button_ev) | ^ tdgtbmpl.c:791:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | int ButtonPressInTdgtBmpList(pTdgtBmpList, button_ev) | ^ tdgtbmpl.c:814:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | int TdgtBmpListEventHandler(pti, input, handling_pti) | ^ tdgtbmpl.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 IsTdgtBmpListEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtbmpl.c:871:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | void DestroyTdgtBmpList(pti) | ^ 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 MapTdgtBmpList(pti) | ^ tdgtbmpl.c:919:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | void TdgtBmpListMoveResize(pti, x, y, w, h) | ^ tdgtbmpl.c:951:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | int HandleSelectNext(pTdgtBmpList, cmd_arg) | ^ tdgtbmpl.c:1040:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | int HandleGetCurSel(pTdgtBmpList, pn_selected_index) | ^ tdgtbmpl.c:1051:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | int HandleGetItem(pTdgtBmpList, index, ppblii) | ^ tdgtbmpl.c:1077:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | int TdgtBmpListSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtbmpl.c:1102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | void TdgtBmpListReset(pTdgtBmpList) | ^ tdgtbmpl.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 TdgtBmpListCalcGeom(bmp_w, bmp_h, num_cols, num_visible_lines, gap, | ^ tdgtbmpl.c:1133:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | TdgtBmpList *CreateTdgtBmpList(parent_win, parent_tidgetinfo, ctl_id, x, y, | ^ tdgtbmpl.c:1218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | int TdgtBmpListCleanUpEntries(pTdgtBmpList) | ^ tdgtbmpl.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 TdgtBmpListScrollToBottom(pTdgtBmpList) | ^ tdgtbmpl.c:1257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | int TdgtBmpListAddItem(pTdgtBmpList, pblii) | ^ 32 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tdgtbrow.c tdgtbrow.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 GetContentWH(pTdgtBtnRow, pn_content_w, pn_content_h) | ^ tdgtbrow.c:79:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | void RedrawTdgtBtnRow(pti) | ^ tdgtbrow.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 TdgtBtnRowEventHandler(pti, input, handling_pti) | ^ tdgtbrow.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 IsTdgtBtnRowEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtbrow.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 DestroyTdgtBtnRow(pti) | ^ 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 MapTdgtBtnRow(pti) | ^ tdgtbrow.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 TdgtBtnRowMoveResize(pti, x, y, w, h) | ^ tdgtbrow.c:256:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | int TdgtBtnRowSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtbrow.c:270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | void TdgtBtnRowReset(pTdgtBtnRow) | ^ tdgtbrow.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 TdgtBtnRowCalcGeom(pTdgtBtnRow, pn_content_w, pn_content_h) | ^ tdgtbrow.c:303:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | TdgtBtnRow *CreateTdgtBtnRow(parent_win, parent_tidgetinfo, ctl_id, x, y, h_pad, | ^ tdgtbrow.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 TdgtBtnRowAddBtn(pTdgtBtnRow, pTdgtBtn) | ^ 12 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tdgtbtn.c tdgtbtn.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 CalcTdgtBtnDim(text, min_len, h_pad, v_pad, pn_width, pn_height) | ^ tdgtbtn.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 DrawTdgtTextBtn(pTdgtBtn, pBBRec, str, len, down, pButtonFontInfo) | ^ tdgtbtn.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 RedrawTdgtBtn(pti) | ^ tdgtbtn.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 ButtonPressInTdgtBtn(pTdgtBtn, button_ev, pn_changing, | ^ tdgtbtn.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 TdgtBtnEventHandler(pti, input, handling_pti) | ^ tdgtbtn.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 IsTdgtBtnEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtbtn.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 DestroyTdgtBtn(pti) | ^ 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 MapTdgtBtn(pti) | ^ tdgtbtn.c:446:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | void TdgtBtnMoveResize(pti, x, y, w, h) | ^ tdgtbtn.c:463:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | int TdgtBtnSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtbtn.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 TdgtBtnReset(pTdgtBtn) | ^ tdgtbtn.c:491:24: warning: parameter 'btn_style' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | v_pad, btn_type, btn_style, state, font_style, str, pmosi) | ^ 492 | Window parent_win; 493 | TidgetInfo *parent_tidgetinfo; 494 | int ctl_id, x, y, w, h, h_pad, v_pad, state, font_style; 495 | char *str; 496 | MouseOverStatusInfo *pmosi; 497 | { tdgtbtn.c:491:14: warning: parameter 'btn_type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | v_pad, btn_type, btn_style, state, font_style, str, pmosi) | ^ 492 | Window parent_win; 493 | TidgetInfo *parent_tidgetinfo; 494 | int ctl_id, x, y, w, h, h_pad, v_pad, state, font_style; 495 | char *str; 496 | MouseOverStatusInfo *pmosi; 497 | { tdgtbtn.c:490:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | TdgtBtn *CreateTdgtBtn(parent_win, parent_tidgetinfo, ctl_id, x, y, w, h, h_pad, | ^ tdgtbtn.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 TdgtBtnSetText(pTdgtBtn, str, pmosi) | ^ tdgtbtn.c:568:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | char *TdgtBtnGetText(pTdgtBtn) | ^ tdgtbtn.c:576:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | int TdgtBtnSetState(pTdgtBtn, new_state) | ^ tdgtbtn.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 TdgtBtnGetState(pTdgtBtn) | ^ 18 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tdgtdraw.c tdgtdraw.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 RedrawTdgtDraw(pti) | ^ tdgtdraw.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 TdgtDrawEventHandler(pti, input, handling_pti) | ^ tdgtdraw.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 IsTdgtDrawEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtdraw.c:131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | void DestroyTdgtDraw(pti) | ^ 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 MapTdgtDraw(pti) | ^ tdgtdraw.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 TdgtDrawMoveResize(pti, x, y, w, h) | ^ tdgtdraw.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 TdgtDrawSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtdraw.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 TdgtDrawReset(pTdgtDraw) | ^ tdgtdraw.c:210:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | TdgtDraw *CreateTdgtDraw(parent_win, parent_tidgetinfo, ctl_id, x, y, client_w, | ^ tdgtdraw.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 TdgtDrawSetUserData(pTdgtDraw, pv_userdata) | ^ tdgtdraw.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 *TdgtDrawGetUserData(pTdgtDraw) | ^ tdgtdraw.c:272:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | int TdgtDrawSetState(pTdgtDraw, new_state) | ^ tdgtdraw.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 TdgtDrawGetState(pTdgtDraw) | ^ tdgtdraw.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 TdgtDrawSetRedrawCallback(pTdgtDraw, pf_redraw_callback) | ^ tdgtdraw.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 TdgtDrawSetEvHandlerCallback(pTdgtDraw, pf_ev_handler_callback) | ^ tdgtdraw.c:313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | void TdgtDrawSetResetCallback(pTdgtDraw, pf_reset_callback) | ^ tdgtdraw.c:322:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | void TdgtDrawSetSendCmdCallback(pTdgtDraw, pf_sendcmd_callback) | ^ 17 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tdgtlist.c tdgtlist.c:67:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | void FreeListItemInfo(pListItemInfo) | ^ tdgtlist.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 RedrawTdgtListItem(pTdgtList, index, pListItemInfo) | ^ tdgtlist.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 RedrawTdgtListScrollWindow(pTdgtList) | ^ tdgtlist.c:252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | void RedrawTdgtListDspWindow(pTdgtList) | ^ tdgtlist.c:296:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | void RedrawTdgtListBaseWindow(pTdgtList) | ^ tdgtlist.c:311:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | void RedrawTdgtList(pti) | ^ tdgtlist.c:329:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | int TdgtListScrollItemCallback(pv_userdata) | ^ tdgtlist.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 TdgtListScrollPageCallback(pv_userdata) | ^ tdgtlist.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 DoTdgtListBtnScroll(pTdgtList, scroll_page, scr_dir, pbbox) | ^ tdgtlist.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 DoDragInTdgtList(pTdgtList, button_ev, btn_y, btn_offset) | ^ tdgtlist.c:537:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | void TdgtListScrollHandler(pTdgtList, button_ev) | ^ tdgtlist.c:607:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | int TdgtListDspHandler(pTdgtList, button_ev) | ^ tdgtlist.c:636:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | int TdgtListControlChar(pTdgtList, key_ev, key_sym) | ^ tdgtlist.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 SpecialKeyInTdgtList(pTdgtList, key_ev, key_sym, pn_changing, | ^ tdgtlist.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 KeyPressInTdgtList(pTdgtList, key_ev, pn_changing, pn_selected_btn_index) | ^ tdgtlist.c:845:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | void ButtonPressInTdgtList(pTdgtList, button_ev, pn_changing, | ^ tdgtlist.c:866:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | int TdgtListEventHandler(pti, input, handling_pti) | ^ tdgtlist.c:895:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | int IsTdgtListEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtlist.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 DestroyTdgtList(pti) | ^ 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 MapTdgtList(pti) | ^ tdgtlist.c:959:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | void TdgtListMoveResize(pti, x, y, w, h) | ^ tdgtlist.c:996:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | int TdgtListSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtlist.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 TdgtListReset(pTdgtList) | ^ tdgtlist.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 TdgtListCalcHeight(num_visible_lines, pn_content_h) | ^ tdgtlist.c:1039:45: warning: parameter 'multicolor' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1039 | v_pad, num_visible_lines, can_select, multicolor, auto_scroll_on_insert) | ^ 1040 | Window parent_win; 1041 | TidgetInfo *parent_tidgetinfo; 1042 | int ctl_id, x, y, w, h_pad, v_pad, num_visible_lines, auto_scroll_on_insert; 1043 | { tdgtlist.c:1039:33: warning: parameter 'can_select' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1039 | v_pad, num_visible_lines, can_select, multicolor, auto_scroll_on_insert) | ^ 1040 | Window parent_win; 1041 | TidgetInfo *parent_tidgetinfo; 1042 | int ctl_id, x, y, w, h_pad, v_pad, num_visible_lines, auto_scroll_on_insert; 1043 | { tdgtlist.c:1038:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | TdgtList *CreateTdgtList(parent_win, parent_tidgetinfo, ctl_id, x, y, w, h_pad, | ^ tdgtlist.c:1109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | int TdgtListCleanUpEntries(pTdgtList) | ^ tdgtlist.c:1129:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | int TdgtListUpdateEntries(pTdgtList) | ^ tdgtlist.c:1155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | int TdgtListScrollToBottom(pTdgtList) | ^ tdgtlist.c:1171:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | int TdgtListInsertString(pTdgtList, buf) | ^ tdgtlist.c:1199:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | int TdgtListInsertListItemInfo(pTdgtList, pListItemInfo) | ^ tdgtlist.c:1217:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | int TdgtListSetAutoScrollOnInsert(pTdgtList, auto_scroll_on_insert) | ^ tdgtlist.c:1225:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | int TdgtListGetAutoScrollOnInsert(pTdgtList) | ^ 34 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tdgtmsg.c tdgtmsg.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 TdgtMsgDrawCaption(pTdgtMsg) | ^ tdgtmsg.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | void RedrawTdgtMsg(pti) | ^ tdgtmsg.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 TdgtMsgEventHandler(pti, input, handling_pti) | ^ tdgtmsg.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 IsTdgtMsgEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtmsg.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 DestroyTdgtMsg(pti) | ^ 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 MapTdgtMsg(pti) | ^ tdgtmsg.c:224:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | void TdgtMsgMoveResize(pti, x, y, w, h) | ^ tdgtmsg.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 TdgtMsgSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtmsg.c:255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | void TdgtMsgReset(pTdgtMsg) | ^ tdgtmsg.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 TdgtMsgCalcGeom(caption, pn_w, pn_h) | ^ tdgtmsg.c:302:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | TdgtMsg *CreateTdgtMsg(parent_win, parent_tidgetinfo, ctl_id, x, y, h_pad, | ^ tdgtmsg.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 TdgtMsgSetText(pTdgtMsg, str) | ^ tdgtmsg.c:360:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | char *TdgtMsgGetText(pTdgtMsg) | ^ tdgtmsg.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 TdgtMsgSetState(pTdgtMsg, new_state) | ^ tdgtmsg.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 TdgtMsgGetState(pTdgtMsg) | ^ 15 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tdgtsedt.c tdgtsedt.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 *TdgtSmplEditBinarySearch(caption, len, max_w, font_ptr, | ^ tdgtsedt.c:109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | void TdgtSmplEditDrawCaption(pTdgtSmplEdit) | ^ tdgtsedt.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 RedrawTdgtSmplEdit(pti) | ^ tdgtsedt.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 TdgtSmplEditEventHandler(pti, input, handling_pti) | ^ tdgtsedt.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 IsTdgtSmplEditEvent(pti, input, ppti_handler_tidget_return) | ^ tdgtsedt.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 DestroyTdgtSmplEdit(pti) | ^ 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 MapTdgtSmplEdit(pti) | ^ tdgtsedt.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 TdgtSmplEditMoveResize(pti, x, y, w, h) | ^ tdgtsedt.c:373:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | int TdgtSmplEditSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tdgtsedt.c:387:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | void TdgtSmplEditReset(pTdgtSmplEdit) | ^ tdgtsedt.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | void TdgtSmplEditCalcHeight(font_style, pn_content_h) | ^ tdgtsedt.c:407:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | TdgtSmplEdit *CreateTdgtSmplEdit(parent_win, parent_tidgetinfo, ctl_id, x, y, | ^ tdgtsedt.c:455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | int TdgtSmplEditSetText(pTdgtSmplEdit, str) | ^ tdgtsedt.c:478:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | char *TdgtSmplEditGetText(pTdgtSmplEdit) | ^ tdgtsedt.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 TdgtSmplEditGetTextFormatInfo(pTdgtSmplEdit, pTextFormatInfo) | ^ tdgtsedt.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 TdgtSmplEditSetColorIndex(pTdgtSmplEdit, color_index) | ^ tdgtsedt.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 TdgtSmplEditGetColorIndex(pTdgtSmplEdit) | ^ tdgtsedt.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 TdgtSmplEditSetFontStyle(pTdgtSmplEdit, font_style) | ^ tdgtsedt.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 TdgtSmplEditGetFontStyle(pTdgtSmplEdit) | ^ tdgtsedt.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 TdgtSmplEditAppendStr(pTdgtSmplEdit, buf, len) | ^ tdgtsedt.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 TdgtSmplEditDelLastChar(pTdgtSmplEdit) | ^ tdgtsedt.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 TdgtSmplEditShowCursor(pTdgtSmplEdit, show) | ^ tdgtsedt.c:610:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | void TdgtSmplEditSetFocus(pTdgtSmplEdit, nSet) | ^ 23 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tgif_dbg.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tgcwheel.c tgcwheel.c:39:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | void TgColorWheel_CleanUp(dpy, win) | ^ tgcwheel.c:60:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | int TgColorWheel_Init(dpy, win, arg) | ^ tgcwheel.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 TgColorWheel_SendKey(dpy, win, key_ev, buf) | ^ tgcwheel.c:126:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | int TgColorWheel_HandleCntrlSpace(dpy, win) | ^ tgcwheel.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 TgColorWheel_HandleCreateText(dpy, win) | ^ 5 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tgcwdl.c tgcwdl.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | void ClearAllControls(pTdgtBase) | ^ tgcwdl.c:142:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | int RGBtoPixel(pcwdi, r, g, b) | ^ tgcwdl.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 PixeltoRGB(pcwdi, pixel, pn_r, pn_g, pn_b) | ^ tgcwdl.c:180:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | void HStoXY(pcwdi, h, s, pn_x, pn_y) | ^ tgcwdl.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 XYtoHS(pcwdi, x, y, pn_h, pn_s) | ^ tgcwdl.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 VtoY(pcwdi, v, pn_y) | ^ tgcwdl.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 YtoV(pcwdi, y, pn_v) | ^ tgcwdl.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 SetupVPixmap(pcwdi) | ^ tgcwdl.c:303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | void SetHSVFromRGB(pcwdi) | ^ tgcwdl.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 SetRGBFromHSV(pcwdi) | ^ tgcwdl.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 SetColorNameFromRGB(pcwdi) | ^ tgcwdl.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | void SetPixelFromRGB(pcwdi) | ^ tgcwdl.c:388:47: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 388 | PixeltoRGB(pcwdi, colorPixels[colorIndex], &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:388:58: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 388 | PixeltoRGB(pcwdi, colorPixels[colorIndex], &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:388:69: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 388 | PixeltoRGB(pcwdi, colorPixels[colorIndex], &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.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 SetupColorsFromCurrentColor(pcwdi) | ^ tgcwdl.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 AllHexChars(buf) | ^ tgcwdl.c:419:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | int SetColorInAppl(pTdgtBase) | ^ tgcwdl.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 ColorWheelDlgRemoveFocus(pTdgtBase) | ^ tgcwdl.c:492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | void SetRGBControlValues(pTdgtBase) | ^ tgcwdl.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 SetHSVControlValues(pTdgtBase) | ^ tgcwdl.c:522:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | void SetColorNameControlValue(pTdgtBase) | ^ tgcwdl.c:531:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | void SetupControls(pTdgtBase) | ^ tgcwdl.c:540:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | void RedrawHSPixmapControlValues(pTdgtBase) | ^ tgcwdl.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 RedrawVPixmapControlValues(pTdgtBase) | ^ tgcwdl.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 RedrawRGBControlValues(pTdgtBase) | ^ tgcwdl.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 RedrawHSVControlValues(pTdgtBase) | ^ tgcwdl.c:580:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | void RedrawColorNameControlValue(pTdgtBase) | ^ tgcwdl.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 RedrawColorSampleControlValue(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 RedrawControls(pTdgtBase, skip) | ^ tgcwdl.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 HSDrawSeg(dpy, win, gc, pTdgtDraw, vs) | ^ tgcwdl.c:645:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | void HSRedrawCrosshair(pcwdi, pTdgtDraw) | ^ tgcwdl.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] 685 | void VDrawSeg(dpy, win, gc, pTdgtDraw, vs) | ^ tgcwdl.c:711:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | void VRedrawLine(pcwdi, pTdgtDraw) | ^ tgcwdl.c:733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | int HSRedrawCallback(pTdgtDraw) | ^ tgcwdl.c:759:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | int ClickInColorWheelHSPixmap(pTdgtDraw, button_ev) | ^ tgcwdl.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 HSEvHandlerCallback(pTdgtDraw, pXEv) | ^ tgcwdl.c:815:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | int VRedrawCallback(pTdgtDraw) | ^ tgcwdl.c:841:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | int ClickInColorWheelVPixmap(pTdgtDraw, button_ev) | ^ tgcwdl.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 VEvHandlerCallback(pTdgtDraw, pXEv) | ^ tgcwdl.c:892:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | int CSampleRedrawCallback(pTdgtDraw) | ^ tgcwdl.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 ValidateNumber(buf, max, pn_val) | ^ tgcwdl.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 ValidateRGB(pcwdi, pn_r, pn_g, pn_b) | ^ tgcwdl.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 ValidateHSV(pcwdi, pn_h, pn_s, pn_v) | ^ tgcwdl.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 ValidateColorName(pcwdi, pn_pixel) | ^ tgcwdl.c:1094:39: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 1094 | PixeltoRGB(pcwdi, pcwdi->pixel, &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:1094:50: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 1094 | PixeltoRGB(pcwdi, pcwdi->pixel, &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:1094:61: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 1094 | PixeltoRGB(pcwdi, pcwdi->pixel, &pcwdi->r, &pcwdi->g, &pcwdi->b); | ^~~~~~~~~ tgcwdl.c:1010:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | int HandleCRorLF(pTdgtBase) | ^ tgcwdl.c:1107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | int HandleTab(pTdgtBase) | ^ tgcwdl.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 HandleBackSpace(pTdgtBase) | ^ tgcwdl.c:1187:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | int HandleCursorKey(pTdgtBase, key_sym) | ^ tgcwdl.c:1356:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | int HandleChar(pTdgtBase, key_sym, buf, has_ch) | ^ tgcwdl.c:1407:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | int TdgtColorWheelDlgKeyPressEvHandlerCallback(pTdgtBase, pXEv) | ^ tgcwdl.c:1482:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | int TdgtColorWheelDlgSetEntries(pti, dsp_ptr, entries, num_entries, marked_index) | ^ tgcwdl.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 TdgtColorWheelDlgSetMsg(pti, msg) | ^ tgcwdl.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 InitTdgtColorWheelDlgInfo(pti) | ^ tgcwdl.c:1530:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | int CreateColorWheelButtons(pTdgtBase) | ^ tgcwdl.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 AdjustDialogBoxWidth(dpy, pTdgtBase) | ^ tgcwdl.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 TdgtColorWheelDlgWmDeleteCallback(pTdgtBase) | ^ tgcwdl.c:1607:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | int TdgtColorWheelDlgFocusCallback(pTdgtBase, cmd_type, cmd_arg, | ^ tgcwdl.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 AdjustDialogBoxSize(dpy, pTdgtBase) | ^ tgcwdl.c:1670:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1670 | int SetupHSPixmap(pcwdi) | ^ tgcwdl.c:1718:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | TidgetInfo *CreateTdgtColorWheelDialogBox(dpy, parent_win) | ^ tgcwdl.c:1730:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1730 | sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tgcwdl.c:1730:26: note: treat the string as an argument to avoid this 1730 | sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); | ^ | "%s", tgcwdl.c:2045:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2045 | void DestroyTdgtColorWheelDialogBox(dpy, pti) | ^ tgcwdl.c:2063:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2063 | int HandleTdgtNotifyEvent(pTdgtBase, pTdgtNtfy) | ^ tgcwdl.c:2079:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2079 | int TdgtColorWheelDlgLoop(pti) | ^ 68 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tginssym.c tginssym.c:39:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | void TgInsertSymbol_CleanUp(dpy, win) | ^ tginssym.c:63:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | int TgInsertSymbol_Init(dpy, win, arg) | ^ tginssym.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 TgInsertSymbol_SendKey(dpy, win, key_ev, buf) | ^ tginssym.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 TgInsertSymbol_HandleCntrlSpace(dpy, win) | ^ tginssym.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 TgInsertSymbol_HandleCreateText(dpy, win) | ^ 5 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tgisdl.c tgisdl.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 ClearAllControls(pTdgtBase) | ^ tgisdl.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 InsertSymbolInAppl(pTdgtBase) | ^ tgisdl.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 InsertSymbolToggleSelected(pTdgtDraw) | ^ tgisdl.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | int InsertSymbolSelectedValid(row, col) | ^ tgisdl.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 InsertSymbolDlgRemoveFocus(pTdgtBase) | ^ tgisdl.c:163:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | void SetupControls(pTdgtBase) | ^ tgisdl.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 RedrawInsertSymbolPixmapControlValues(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 RedrawControls(pTdgtBase, skip) | ^ tgisdl.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 HSRedrawCallback(pTdgtDraw) | ^ tgisdl.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 GetRowCol(x, y, pn_row, pn_col) | ^ tgisdl.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 ClickInInsertSymbolPixmap(pTdgtDraw, button_ev) | ^ tgisdl.c:298:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | int HSEvHandlerCallback(pTdgtDraw, pXEv) | ^ tgisdl.c:315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | int HSSendCmdCallback(pTdgtDraw, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tgisdl.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 HandleCRorLF(pTdgtBase) | ^ tgisdl.c:352:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | int HandleTab(pTdgtBase) | ^ tgisdl.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 HandleBackSpace(pTdgtBase) | ^ tgisdl.c:373:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | int HandleCursorKey(pTdgtBase, key_sym) | ^ tgisdl.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 HandleChar(pTdgtBase, key_sym, buf, has_ch) | ^ tgisdl.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 TdgtInsertSymbolDlgKeyPressEvHandlerCallback(pTdgtBase, pXEv) | ^ tgisdl.c:568:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | int TdgtInsertSymbolDlgSetEntries(pti, dsp_ptr, entries, num_entries, marked_index) | ^ tgisdl.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 TdgtInsertSymbolDlgSetMsg(pti, msg) | ^ tgisdl.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 InitTdgtInsertSymbolDlgInfo(pti) | ^ tgisdl.c:616:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | int CreateInsertSymbolButtons(pTdgtBase) | ^ tgisdl.c:646:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | void AdjustDialogBoxWidth(dpy, pTdgtBase) | ^ tgisdl.c:682:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | void TdgtInsertSymbolDlgWmDeleteCallback(pTdgtBase) | ^ tgisdl.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 TdgtInsertSymbolDlgFocusCallback(pTdgtBase, cmd_type, cmd_arg, | ^ tgisdl.c:711:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | void AdjustDialogBoxSize(dpy, pTdgtBase) | ^ tgisdl.c:756:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | int SetupInsertSymbolPixmap(pisdi) | ^ tgisdl.c:799:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | TidgetInfo *CreateTdgtInsertSymbolDialogBox(dpy, parent_win) | ^ tgisdl.c:811:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 811 | sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tgisdl.c:811:26: note: treat the string as an argument to avoid this 811 | sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); | ^ | "%s", tgisdl.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 DestroyTdgtInsertSymbolDialogBox(dpy, pti) | ^ tgisdl.c:931:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | int HandleTdgtNotifyEvent(pTdgtBase, pTdgtNtfy) | ^ tgisdl.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 TdgtInsertSymbolDlgLoop(pti) | ^ 33 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tgtwb5.c tgtwb5.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void Tgtwb5_CleanUp(dpy, win) | ^ tgtwb5.c:72:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | int Tgtwb5_Init(dpy, win, arg) | ^ tgtwb5.c:143:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | int Tgtwb5_SendKey(dpy, win, key_ev, buf) | ^ tgtwb5.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 Tgtwb5_HandleCntrlSpace(dpy, win) | ^ tgtwb5.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 Tgtwb5_HandleCreateText(dpy, win) | ^ 5 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tgtwb5dl.c tgtwb5dl.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 ClearAllControls(pTdgtBase) | ^ tgtwb5dl.c:122:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | int SendSelectedCharToClient(pTdgtBase) | ^ tgtwb5dl.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 SendCRToClient(pTdgtBase) | ^ tgtwb5dl.c:168:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | int InvalidSequence(pTdgtBase) | ^ tgtwb5dl.c:183:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | int Fill2ByteCharFromHexStringBuf(buf, pch16) | ^ tgtwb5dl.c:205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | void FreeBitmapItemCallback(pblii) | ^ tgtwb5dl.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 DoLoadChars(pTdgtBase, buf, str16, num_char2bs) | ^ tgtwb5dl.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 LoadChars(pTdgtBase, buf) | ^ tgtwb5dl.c:438:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | int FetchChars(pTdgtBase) | ^ tgtwb5dl.c:464:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | void ReverseZhuYenFuHao(index, pn_symbol_ltx, pn_symbol_lty) | ^ tgtwb5dl.c:482:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | int ComposePinYin(pTdgtBase, buf, buf_sz) | ^ tgtwb5dl.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 UpdateSpellingAndDpyControls(pTdgtBase) | ^ tgtwb5dl.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 HandleBackSpace(pTdgtBase) | ^ tgtwb5dl.c:615:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | int ZyfhRedrawCallback(pTdgtDraw) | ^ tgtwb5dl.c:642:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | int GetZhuYenFuHao(pTdgtDraw, button_x, button_y, pn_symbol_ltx, pn_symbol_lty) | ^ tgtwb5dl.c:671:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | int ClickInZyfh(pTdgtDraw, button_ev) | ^ tgtwb5dl.c:757:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | int ZyfhEvHandlerCallback(pTdgtDraw, pXEv) | ^ tgtwb5dl.c:810:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | int ZyfhDpyRedrawCallback(pTdgtDraw) | ^ tgtwb5dl.c:862:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | int ZyfhDpySendCmdCallback(pTdgtDraw, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tgtwb5dl.c:890:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | int HandleCursorKey(pTdgtBase, key_sym) | ^ tgtwb5dl.c:926:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | int HandleChar(pTdgtBase, key_sym, buf, has_ch) | ^ tgtwb5dl.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 Tdgtb5DlgKeyPressEvHandlerCallback(pTdgtBase, pXEv) | ^ tgtwb5dl.c:993:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | void Tdgtb5DlgWmDeleteCallback(pTdgtBase) | ^ tgtwb5dl.c:1006:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | int Tdgtb5DlgSetMsg(pti, msg) | ^ tgtwb5dl.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 Tdgtb5DlgSetEntries(pti, dsp_ptr, entries, num_entries, marked_index) | ^ tgtwb5dl.c:1028:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | void InitTdgtb5DlgInfo(pti) | ^ tgtwb5dl.c:1100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | int CreateTgtwb5Buttons(pTdgtBase) | ^ tgtwb5dl.c:1137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | void AdjustDialogBoxWidth(dpy, pTdgtBase) | ^ tgtwb5dl.c:1185:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | void AdjustDialogBoxSize(dpy, pTdgtBase) | ^ tgtwb5dl.c:1229:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | TidgetInfo *CreateTdgtb5DialogBox(dpy, parent_win) | ^ tgtwb5dl.c:1374:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | void DestroyTdgtb5DialogBox(dpy, pti) | ^ tgtwb5dl.c:1392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | int HandleTdgtNotifyEvent(pTdgtBase, pTdgtNtfy) | ^ tgtwb5dl.c:1416:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | int Tdgtb5DlgLoop(pti) | ^ 33 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tgtwb5xl.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tidget.c tidget.c:47:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | void TidgetWindowNotify(win, ctl_id, nf_type, nf_arg, nf_arg2) | ^ tidget.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 TidgetNotify(pti, ctl_id, nf_type, nf_arg, nf_arg2) | ^ tidget.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 DoTidgetControlNotify(pti, ctl_id, nf_type, nf_arg, nf_arg2) | ^ tidget.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 TidgetControlNotify(pti, nf_type, nf_arg, nf_arg2) | ^ tidget.c:101:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | int IsTdgtWindowNotifyEvent(win, pXEv, pTdgtNtfy) | ^ tidget.c:126:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | int IsTdgtNotifyEvent(pti, pXEv, pTdgtNtfy) | ^ tidget.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 TidgetDrawFocusRect(pti, pswi) | ^ tidget.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void RedrawTidget(pti) | ^ tidget.c:169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | int TidgetEventHandler(pti, input, pti_handler_tidget) | ^ tidget.c:242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | int IsTidgetEvent(pti, input, ppti_handler_tidget_return) | ^ tidget.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 DestroyTidget(ppti) | ^ tidget.c:303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | void SetTidgetInfoBasic(pti, tidget_type, tidget, parent_win, x, y, w, h, h_pad, | ^ tidget.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | void TidgetCanHaveChildren(pti, can_have_children) | ^ tidget.c:341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | void TidgetSetCallbacks(pti, pf_redraw_callback, pf_ev_handler_callback, | ^ tidget.c:364:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | TidgetInfo *NewTidgetInfo(parent_tidgetinfo, type, tidget, ctl_id, userdata) | ^ tidget.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | void MapTidget(pti) | ^ tidget.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 TidgetMoveResize(pti, x, y, w, h) | ^ tidget.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 ResetTidgetCommon(ptci) | ^ tidget.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 TidgetSendCmd(pti, cmd_type, cmd_arg, pv_cmd_userdata) | ^ tidget.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 TidgetDisableRedraw(pti, redraw_disabled) | ^ tidget.c:467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | int TidgetSetDirty(pti, dirty) | ^ tidget.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 TidgetSetHasFocus(has_focus) | ^ tidget.c:510:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | Window TidgetSetFocusWindow(win) | ^ tidget.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 TidgetIsFocus(pti) | ^ tidget.c:532:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | void TidgetGetFontInfo(pnFontIndex, pnSzUnit) | ^ tidget.c:541:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | void TidgetGetFontInfoGivenStyle(font_style, pp_font_ptr, pn_font_width, | ^ tidget.c:625:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | int TidgetManagerHandleEvent(pXEv) | ^ tidget.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 TidgetManagerHandleAllKeyPressEvent(pXEv) | ^ tidget.c:679:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | int TidgetManagerSetWantAllKeyPressEvents(pti, want_all_key_press_events) | ^ 29 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c tcp.c tcp.c:35:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | void SetSocketBlockingState(pn_socket, n_blocking) | ^ tcp.c:56:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | void TcpFreeBuf(buf) | ^ tcp.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 BrokenPipe(nSig) | ^ tcp.c:74:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | int TcpDoConnect(psz_host, us_port, pn_socket) | ^ tcp.c:169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | int TcpDoWrite(n_socket, buf, buf_sz) | ^ tcp.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 TcpDoRead(n_socket, ppsz_buf, pn_buf_sz) | ^ 6 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c text.c text.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 FreeDynStrBuf(dyn_str) | ^ text.c:123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | void DynStrCpy(dest_dyn_str, src_dyn_str) | ^ text.c:158:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | struct DynStrRec *DynStrDup(dyn_str) | ^ text.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 DynStrSet(dest_dyn_str, buf) | ^ text.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 FreeStr(str_ptr) | ^ text.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 FreeStrList(str_ptr) | ^ text.c:251:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | void InvalidateTextCache(text_ptr) | ^ text.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 TellTextCursorPosition(pnX, pnY) | ^ text.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 BlurText(Win, gc, XOff, YOff, W, H) | ^ text.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | void SetEditTextArea(w, h, min_lbearing, max_rextra) | ^ 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 UpdateEditTextArea(w, h, min_lbearing, max_rextra) | ^ text.c:424:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | void AdjTextVerticalShift(clean_bbox) | ^ text.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 FreeTextObj(ObjPtr) | ^ text.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 SetEditTextSizeValue(new_edit_text_size) | ^ text.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 UpdateTextInfoChoices(forced) | ^ text.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 RestoreStrSegFromUsingEditTextSize(pStrSeg, pUserData) | ^ text.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 SaveStrSegToUseEditTextSize(pStrSeg, pUserData) | ^ text.c:709:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | int RestoreEditTextSize(obj_ptr, restore) | ^ text.c:766:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | void EndChangeCurText(clean_bbox) | ^ text.c:950:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | void RedrawAreasInCreateText(ltx1, lty1, rbx1, rby1, ltx2, lty2, rbx2, rby2) | ^ text.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 CreateTextObj(nDeactivateIM, nRedraw) | ^ text.c:1312:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | int CanAdvanceRight(pStrBlock, nIndex) | ^ text.c:1341:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | int CanAdvanceLeft(pStrBlock, nIndex) | ^ text.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 AtBeginningOfInheritedAttrValue(obj_ptr, pStrBlock, nIndex) | ^ text.c:1410:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | int PrepareEditExistingText(obj_ptr, abs_x, abs_y, x_off, y_off) | ^ text.c:1552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | int BeginAdvance(drag, dir, ppStrBlock, pnCurIndex) | ^ text.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 EndAdvance(position_end, pStrBlock, nCurIndex) | ^ text.c:1600:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | int PartOfAWord(double_byte, ch) | ^ text.c:1639:11: warning: comparison of array 'text_cur_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 1639 | if (text_cur_bits == NULL) { } /* no compiler warning */ | ^~~~~~~~~~~~~ ~~~~ text.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 GetCursorPositionInCurText(x_off, y_off, use_abs, pn_abs_dx, | ^ text.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 HandleClickOnCanvas(x_off, y_off) | ^ text.c:1708:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1708 | void AdvanceForDoubleClickOnWord(double_byte) | ^ text.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 SetTextIndices(drag, x_off, y_off, pressed_in_same_text) | ^ text.c:1806:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | void AdvanceStrBlockToParentBlock(advance_left, position_end) | ^ text.c:1855:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1855 | int FindStrBlockPosInMiniline(pMiniline, pStrBlockTarget, pnPos) | ^ text.c:1874:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1874 | int FindStrBlockPosInMinilines(pMinilines, pStrBlockTarget) | ^ text.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 AdjustTextHighlight(drag, saved_text_highlight, | ^ text.c:2059:7: warning: parameter 'skip_post_processing' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2059 | skip_post_processing, click_time) | ^ 2060 | int drag, from_cursor_keys, x_off, y_off, pressed_in_same_text; 2061 | int double_clicked, saved_text_highlight; 2062 | struct ObjRec *obj_ptr; 2063 | Time click_time; 2064 | { text.c:2057:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2057 | void HandleClickOnText(drag, from_cursor_keys, x_off, y_off, | ^ text.c:2096:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | void HandleButton(Button_Ev) | ^ text.c:2183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2183 | void AdvanceRight(drag) | ^ text.c:2244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | void AdvanceLeft(drag) | ^ text.c:2383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2383 | void HandleCRLF(key_ev) | ^ text.c:2418:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2418 | void HandleBS(key_ev, buf, key_sym, pn_has_char) | ^ text.c:2509:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | int InsertSingleByteCharIntoCurText(Str) | ^ text.c:2571:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2571 | int InsertCharIntoCurText(Str, double_byte) | ^ text.c:2632:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2632 | int SwitchToSingleOrDoubleByteFont(pStrSeg) | ^ text.c:2699:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2699 | int SwitchToSingleByteFont(pStrSeg) | ^ text.c:2705:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2705 | int SwitchToDoubleByteFont(pStrSeg) | ^ text.c:2712:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | void AdvanceEnd(drag) | ^ text.c:2743:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2743 | void HandleEnd(drag) | ^ text.c:2834:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2834 | void HandleChar(Str) | ^ text.c:2941:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2941 | void HandleTAB(key_ev) | ^ text.c:3001:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3001 | void AdvanceHome(drag) | ^ text.c:3027:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3027 | void HandleHome(drag) | ^ text.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 HandleLeft(key_ev) | ^ text.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 DoCycleTextCursorInScripts(direction) | ^ text.c:3214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3214 | void HandleUp(key_ev) | ^ text.c:3309:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3309 | void HandleRight(key_ev) | ^ text.c:3343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3343 | void HandleDown(key_ev) | ^ text.c:3401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3401 | void DoHandleInputFromBuffer(cut_buffer) | ^ text.c:3455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3455 | void HandleInputFromBuffer(cut_buffer) | ^ text.c:3487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3487 | void HandleTextFromBuffer(key_ev, s, key_sym, has_ch) | ^ text.c:3752:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3752 | sprintf(gszMsgBox, TgLoadString(STID_COPY_FAIL_SEL_STR_MAY_TOO_LNG)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:3752:26: note: treat the string as an argument to avoid this 3752 | sprintf(gszMsgBox, TgLoadString(STID_COPY_FAIL_SEL_STR_MAY_TOO_LNG)); | ^ | "%s", text.c:3754:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3754 | sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:3754:26: note: treat the string as an argument to avoid this 3754 | sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); | ^ | "%s", text.c:3761:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3761 | int HandleFunctionKey(key_sym) | ^ text.c:3805:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3805 | int HandleDoubleByteUTF8Chars(s, has_ch) | ^ text.c:3849:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3849 | void DrawText(input) | ^ text.c:3968:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3968 | void EditTextInAttr(attr_ptr) | ^ text.c:4004:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4004 | void DumpOneStr(FP, FontIndex, DoubleByte, DoubleByteModBytes, Str) | ^ text.c:4068:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4068 | void DrawTextObj(Win, XOff, YOff, ObjPtr) | ^ text.c:4208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4208 | int OldFontIndex(dpi_index, font_index, size_index, style_index) | ^ text.c:4222:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4222 | void ReadTextSetFontStyleSzUnit(font_str, sb_font_str, style, sz_unit, | ^ text.c:4305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4305 | void ReadTextSetCanvasFont(text_ptr, dpi, size, asc, des, double_byte, | ^ text.c:4358:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4358 | int ReadStrSeg(FP, ppStrSeg) | ^ text.c:4478:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4478 | int ReadStrBlock(FP, pOwnerMiniLine, ppStrBlock) | ^ text.c:4602:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4602 | int ReadMiniLine(FP, pOwnerMiniLines, ppMiniLine) | ^ text.c:4675:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4675 | int ReadMiniLines(FP, pOwnerBlock, ppMiniLines) | ^ text.c:4755:33: warning: parameter 'text_w' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4755 | direction, x, baseline_y, text_w, pn_max_len, pn_max_h) | ^ 4756 | FILE *FP; 4757 | struct ObjRec **ObjPtr; 4758 | struct TextRec *text_ptr; 4759 | char *color_str; 4760 | int num_lines, has_ps_bitmap, cur_sb_font, cur_db_font; 4761 | int double_byte, db_mod_bytes, db_vertical, direction; 4762 | int x, baseline_y, *pn_max_len, *pn_max_h; 4763 | /* 4764 | * (Note: text_w is only used for fileVersion <= 36) 4765 | */ 4766 | { text.c:4753:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4753 | int ReadTextLines(FP, ObjPtr, text_ptr, color_str, num_lines, has_ps_bitmap, | ^ text.c:4987:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4987 | void OldStyleRotateGetFinalOBBoxLtXY(ObjPtr, rotate, text_just, pnFinalLtX, | ^ text.c:5036:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5036 | void ReadTextObj(FP, Inbuf, ObjPtr) | ^ text.c:5786:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5786 | void AdjustCurText(XOff, YOff) | ^ text.c:5800:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5800 | void PrepareZoomCurText(AbsXc, AbsYc) | ^ text.c:5816:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5816 | void PostZoomCurText(AbsXc, AbsYc) | ^ text.c:5862:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5862 | void HighLightText(obj_ptr, pStartStrBlock, start_index, pEndStrBlock, | ^ text.c:5919:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5919 | int FindTextInCurTextObj(str_to_match, str_len, case_sensitive, | ^ text.c:5959:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5959 | int SetScriptFractionValue(spec) | ^ text.c:6071:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6071 | void DoInsertVerticalOffset(baseline_offset) | ^ text.c:6178:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6178 | MiniLinesInfo *CreateMinilinesForInsertScripts(type) | ^ text.c:6200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6200 | void DetermineWhatToDoForLeftRightScripts(type, pnJustMove, | ^ text.c:6250:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6250 | void GetNewSize(pStrSeg, pn_new_size) | ^ text.c:6269:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6269 | int DoInsertLeftRightScripts(type, superscript) | ^ text.c:6388:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6388 | void InsertLeftRightScripts(type, superscript) | ^ text.c:6445:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6445 | int DoInsertCenterScripts(superscript) | ^ text.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 InsertCenterScripts(superscript) | ^ text.c:6586:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6586 | int RefreshEditTextMenu(menu) | ^ text.c:6615:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6615 | TgMenu *CreateEditTextMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ text.c:6632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6632 | void DetermineWhatToDoForChangeProperty(lWhich, nValue, pStrBlock, nIndex, | ^ text.c:6669:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6669 | int ChangeEditTextPropertyAtCursor(lWhich, nValue) | ^ text.c:6760:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6760 | int ChangeEditTextProperty(lWhich, nValue) | ^ text.c:6882:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6882 | void PasteMiniLinesAtCursor(partial_text_obj_ptr) | ^ text.c:6969:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6969 | void DoMoveEditText(dx, dy) | ^ text.c:6998:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6998 | void ContinueMoveEditText(OrigX, OrigY) | ^ text.c:7073:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7073 | int MouseInCurText(input) | ^ text.c:7090:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7090 | int MouseOnCurTextBoundary(input) | ^ text.c:7105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7105 | void MoveEditText(input) | ^ 107 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c util.c util.c:31:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | void UtilFree(pszStr) | ^ util.c:37:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | char *UtilFreeStringArray(ppsz, nItems) | ^ util.c:51:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | char *UtilStrDup(pszStr) | ^ util.c:63:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | int UtilStrCpyN(pszDest, nMaxDestSz, pszSrc) | ^ util.c:79:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | int UtilStrCpy(pszDest, pszSrc) | ^ util.c:93:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | void UtilLeftTrim(pszStr) | ^ util.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void UtilRightTrim(pszStr) | ^ util.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 UtilTrimBlanks(pszStr) | ^ util.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void UtilStrUpper(psz) | ^ util.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 UtilStrLower(psz) | ^ util.c:176:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | int UtilStrNCaseCmp(pszStr1, pszStr2, nCount) | ^ util.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 UtilStrICmp(pszStr1, pszStr2) | ^ util.c:215:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | char *UtilStrRChr(pszStr, int_ch) | ^ util.c:230:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | char *UtilStrTok(pszStr, pszDelim, ppszState) | ^ util.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 UtilShrinkName(pszFile) | ^ util.c:357:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | void UtilRemoveQuotes(pszStr) | ^ util.c:383:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | char *UtilGetALine(pFile) | ^ util.c:426:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | char *UtilGetAContinuedLine(pFile) | ^ util.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 UtilCopyFile(pszFromFile, pszToFile) | ^ util.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 UtilConcatFile(pszFromFile1, pszFromFile2, pszToFile) | ^ util.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 UtilPathExists(pszPath) | ^ util.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 UtilPathIsLink(pszPath) | ^ util.c:575:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | int UtilIsDirectory(pszPath) | ^ util.c:584:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | int UtilCreateDirHier(pszDir) | ^ util.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 | long ms_time(tv) | ^ util.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 | long UtilGetMilliSecTime(pl_sec, pl_msec) | ^ 26 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c version.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c vms_comp.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c wb.c wb.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 PrintFullIDsOfObjects(psz_prefix) | ^ wb.c:284:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | int RecvWBData(flag, ppsz_buf, pn_buf_sz) | ^ wb.c:297:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | void ProcessWBInputData(buf) | ^ wb.c:318:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | int WBHasReadData(pn_flag, pn_retry) | ^ wb.c:356:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | int SendWBData(pszWBData, logical_clock) | ^ wb.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 SaveCmd(FP, CmdType, psi) | ^ wb.c:532:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | void PrepareExtendedSerializationInfo(CmdPtr, psi) | ^ wb.c:554:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | int SaveExtendedCmd(FP, CmdPtr, psi) | ^ wb.c:613:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | int SaveExtendedCmdInfo(FP, nNumCmds, nCurCmdPos) | ^ wb.c:639:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | char *SerializeCmd(CmdType, psi, pnAssignedLogicalClock, ppszPlainWBData, | ^ wb.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 SerializeFreeBuf(pszWBData) | ^ wb.c:891:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | int ReadExtendedCmd(FP, Inbuf) | ^ wb.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 ReadExtendedCmdInfo(FP, Inbuf) | ^ wb.c:1000:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | int ReadCmd(FP, Inbuf) | ^ wb.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 ReadBeforeImage(FP, Inbuf) | ^ wb.c:1144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | int ReadAfterPositions(FP, Inbuf) | ^ wb.c:1195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | int ReadAfterImage(FP, Inbuf) | ^ wb.c:1233:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | void SelectObjects(top_obj, bot_obj) | ^ wb.c:1246:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | struct CmdRec *DeserializeCmd(psz_content_type, psz_buf, buf_sz, ppsz_plain_buf, | ^ wb.c:1452:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | int TotalOrderForTwo(older_cmd, newer_cmd) | ^ wb.c:1499:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | void FindCmdInsertionPoint(cmd_to_insert, pp_immed_right_cmd) | ^ wb.c:1517:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | void FindShadowCmdInsertionPoint(cmd_to_insert, pp_immed_right_cmd) | ^ wb.c:1557:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | void CleanUpObsoletedWBCmds(stopped_cmd_ptr) | ^ wb.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 HandleChatLine(cmd_ptr) | ^ wb.c:1611:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1611 | void ProcessRemoteCmd(psz_content_type, psz_buf, buf_sz) | ^ wb.c:1832:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1832 | void PackCurrentTGWBState(p_cur_state) | ^ wb.c:2008:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2008 | int CheckUnpackState(read_status) | ^ wb.c:2037:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | struct CmdRec *CreateCmdFromSerializedData(saved_top_obj, saved_bot_obj) | ^ wb.c:2087:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | int GetContentInfoFromBuf(buf, content_type_buf, content_type_buf_sz, | ^ wb.c:2134:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2134 | int ReadPastWrapper(fp, pn_file_pos) | ^ wb.c:2154:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | int ReadPastHeader(fp, pn_file_pos) | ^ wb.c:2202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | int ReadAheadOverACmd(fp, pn_file_pos) | ^ wb.c:2222:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2222 | char *ReReadCmd(fp, start_file_pos, end_file_pos, pn_buf_len) | ^ wb.c:2286:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2286 | sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_FAILED_NO_CONTTYPE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wb.c:2286:26: note: treat the string as an argument to avoid this 2286 | sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_FAILED_NO_CONTTYPE)); | ^ | "%s", wb.c:2515:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2515 | sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_PROGRESS_FAILED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wb.c:2515:26: note: treat the string as an argument to avoid this 2515 | sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_PROGRESS_FAILED)); | ^ | "%s", wb.c:2271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2271 | void UnpackCurrentTGWBState(p_cur_state) | ^ 36 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c wb1.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c wb2.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c wb3.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c wb_buff.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c wb_mcast.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c wb_seg.c cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c xbitmap.c xbitmap.c:150:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 150 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_HTML_TEMPLATE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbitmap.c:150:26: note: treat the string as an argument to avoid this 150 | sprintf(gszMsgBox, TgLoadString(STID_ENTER_HTML_TEMPLATE)); | ^ | "%s", xbitmap.c:175:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 175 | sprintf(gszMsgBox, TgLoadString(STID_NO_HTML_TEMPLATE_FILE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbitmap.c:175:26: note: treat the string as an argument to avoid this 175 | sprintf(gszMsgBox, TgLoadString(STID_NO_HTML_TEMPLATE_FILE)); | ^ | "%s", xbitmap.c:184:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | int ReadHtmlExportTemplate(buf) | ^ xbitmap.c:224:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | void ParseExportPixelTrim(pszSpec, nInit) | ^ xbitmap.c:262:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | void SetExportPixelTrim(cur_val_is_too_large) | ^ xbitmap.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 SetXpmOutputVersion(xpm_output_version) | ^ xbitmap.c:424:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 424 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_SIMPLE_THRESHOLD)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbitmap.c:424:26: note: treat the string as an argument to avoid this 424 | sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_SIMPLE_THRESHOLD)); | ^ | "%s", xbitmap.c:429:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | void SetExportBitmapThreshold(buf) | ^ xbitmap.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 RefreshBitPixmapMenu(menu) | ^ xbitmap.c:490:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | TgMenu *CreateBitPixmapMenu(parent_menu, x, y, menu_info, status_str_xlated) | ^ xbitmap.c:547:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | void MultiplyTwoByTwo(m1, m2) | ^ 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 CalcTransform(mtrx) | ^ xbitmap.c:690:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | void MakeCachedBitmap(ObjPtr) | ^ xbitmap.c:876:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | int ExtractBitmap(OrigBitmap, OrigImage, X, Y, W, H, Bitmap, Image) | ^ xbitmap.c:931:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | int AutoTrimBitmap(OrigBitmap, pnImageW, pnImageH, pBitmap, pImage, | ^ xbitmap.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 InvertXBmObject(ObjPtr) | ^ xbitmap.c:1051:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | int ObjListInvertable(LastObjPtr) | ^ xbitmap.c:1074:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | void InvertObjListXBitmap(LastObjPtr) | ^ xbitmap.c:1141:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | void ParseGeomSpec(geom_spec, image_w, image_h, src_x, src_y, src_w, src_h) | ^ xbitmap.c:1196:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | char *FindEqual(s) | ^ xbitmap.c:1203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | void ParseCutSpec(spec, image_w, image_h, mag, src_x, src_y, src_w, src_h) | ^ xbitmap.c:1336:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | void UpdateColorsLookupTable(color_index) | ^ xbitmap.c:1355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | void BuildStrSegColors(pStrSeg, pUserData) | ^ xbitmap.c:1363:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | void BuildObjXPmColors(ObjPtr) | ^ xbitmap.c:1486:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | int SetTmpShift(mask, pn_shifts) | ^ xbitmap.c:1504:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | int BadMask(cWhich, mask) | ^ xbitmap.c:1556:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | int TmpPixelHash(pixel) | ^ xbitmap.c:1563:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | void GetTmpValue(pixel, mask, shift, pn_value) | ^ xbitmap.c:1581:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | void GetTmpColorStr(pixel, color_str) | ^ xbitmap.c:1612:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | void UpdateColorsLookupTableForPixel(pixel, can_alloc) | ^ xbitmap.c:1644:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1644 | void BuildXPmColors(image, w, h, left, top, right, bottom, use_pixels) | ^ xbitmap.c:1748:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1748 | void ColorStrToXPmStr(index, color_str) | ^ xbitmap.c:1801:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | void DumpXPmColors(FP) | ^ xbitmap.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 SetupTrueColorInfoFromImage(image, ptci) | ^ xbitmap.c:1935:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1935 | int InitTrueColorInfo(image, ptci, image_w) | ^ xbitmap.c:1983:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1983 | void MapEPSIToPix(DestX, DestY, DestW, DestH, SrcW, SrcH, SrcX, SrcY) | ^ xbitmap.c:1997:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | void GenPreviewBitmap(FP, llxPage, llyPage, urxPage, uryPage) | ^ xbitmap.c:2403:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2403 | char *ModifyToGenerateHtmlHref(value_str) | ^ xbitmap.c:2473:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2473 | int GenerateObjImageMap(FP, ObjPtr, LtX, LtY) | ^ xbitmap.c:2631:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2631 | void GenerateHtmlHeader(map_fp) | ^ xbitmap.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 GenerateUseMapHeader(map_fp, gif_fname, map_fname) | ^ xbitmap.c:2686:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2686 | void GenerateUseMapTrailer(map_fp, W, H) | ^ xbitmap.c:2705:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2705 | void GenerateHtmlTrailer(map_fp) | ^ xbitmap.c:2712:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | FILE *OpenMapFile(pszMapFile) | ^ xbitmap.c:2727:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2727 | void DumpCommentInBitmapExport(fp) | ^ xbitmap.c:2738:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2738 | void ColorNameToXPmStr(color_name, s) | ^ xbitmap.c:2767:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2767 | int Xpm3ToXpm1(gif_fname) | ^ xbitmap.c:2919:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2919 | int ConvertXpmToGif(xpm_fname, gif_fname, src_is_ppm, where_to_print) | ^ xbitmap.c:3094:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3094 | int FindTgVarType(buf) | ^ xbitmap.c:3156:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3156 | fprintf(map_fp, TgLoadCachedString(CSTID_PARANED_UNKNOWN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbitmap.c:3156:26: note: treat the string as an argument to avoid this 3156 | fprintf(map_fp, TgLoadCachedString(CSTID_PARANED_UNKNOWN)); | ^ | "%s", xbitmap.c:3108:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3108 | void GenerateTemplateHtmlVar(map_fp, var_type, gif_fname, map_fname, fname, | ^ xbitmap.c:3171:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3171 | void GenerateTemplateHtmlFile(map_fp, tmpl_fp, gif_fname, map_fname, | ^ xbitmap.c:3228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3228 | void GenerateImageMap(XpmFileName, src_is_ppm, LtX, LtY, RbX, RbY, | ^ xbitmap.c:3497:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3497 | void AdjustForRealBaseName(fname, gzipped, no_name) | ^ xbitmap.c:3514:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3514 | void GetRealBaseName(fname) | ^ xbitmap.c:3536:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3536 | XImage *RotateImageForLandscape(src_image, p_w, p_h, p_left, p_top, p_right, | ^ xbitmap.c:3577:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3577 | void DumpXpmHeader(fp, w, h, name, left, top, right, bottom) | ^ xbitmap.c:3616:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3616 | void DumpXbmHeader(fp, w, h, name, left, top, right, bottom) | ^ xbitmap.c:3635:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3635 | void SetAColorByteInfo(pcb, pXColor) | ^ xbitmap.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 SetColorBytes(pcb, index, table_size) | ^ xbitmap.c:3680:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3680 | int DumpPpmBody(fp, image, bitmap_image, w, h, left, top, right, | ^ xbitmap.c:3761:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3761 | int DumpXpmBody(fp, image, bitmap_image, w, h, left, top, right, | ^ xbitmap.c:3852:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3852 | void DumpXbmHalfToneBody(fp, image, w, h, left, top, right, bottom, bg_pixel) | ^ xbitmap.c:4043:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4043 | void DumpXbmNoneHalfToneBody(fp, image, w, h, left, top, right, bottom, | ^ xbitmap.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 DumpXbmBody(fp, image, w, h, left, top, right, bottom, bg_pixel) | ^ xbitmap.c:4221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4221 | void GetPixelTrims(w, h, pnLeft, pnTop, pnRight, pnBottom) | ^ xbitmap.c:4248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4248 | void BuildXPmColorsFromImage(image, w, h) | ^ xbitmap.c:4340:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4340 | int DumpXImageToXpmFile(image, w, h, fname) | ^ xbitmap.c:4398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4398 | int DumpXImageToPpmFile(image, w, h, fname, deflate) | ^ xbitmap.c:4469:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4469 | int DumpXImageToPpm6(fp, image, bitmap_image, w, h, left, top, right, bottom) | ^ xbitmap.c:4521:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4521 | void DumpXBitmapFile(nInImageProc, nDumpPpmPreferred, nPageNumInFileName) | ^ xbitmap.c:4827:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4827 | int DumpXImageToFile(image, w, h, fname, ext) | ^ xbitmap.c:4844:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4844 | void FailedExportXPixmapDeckToGIF(count, gif_fp, gif_fname, tmp_fnames) | ^ xbitmap.c:5065:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5065 | void DumpBitmap(FP, image, data, image_w, image_h, transformed, orig_x, orig_y, | ^ xbitmap.c:5201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5201 | void DumpXBmObj(FP, ObjPtr) | ^ xbitmap.c:5325:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5325 | int NeedsToCacheXBmObj(ObjPtr) | ^ xbitmap.c:5340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5340 | void DrawHiddenXBm(win, ctm, vs, x, y, w, h, s) | ^ xbitmap.c:5380:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5380 | void DrawXBmObj(win, XOff, YOff, ObjPtr) | ^ xbitmap.c:5469:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5469 | struct ObjRec *CreateXBmObj(ImageW, ImageH, W, H, bitmap, image) | ^ xbitmap.c:5529:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5529 | void CopyXBmProperties(DestXbmObj, SrcXbmObj) | ^ xbitmap.c:5543:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5543 | int FinishBreakUpXBitmap(obj_ptr, cols_and_rows, cols, rows) | ^ xbitmap.c:5596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5596 | void BreakUpXBitmap(obj_ptr, cols_and_rows, cols, rows) | ^ xbitmap.c:5619:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5619 | void DumpXBmData(FP, bitmap, image, W, H) | ^ xbitmap.c:5667:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5667 | void SaveXBmObj(FP, ObjPtr) | ^ xbitmap.c:5747:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5747 | int ReadTransformAndAdjustForXBm(FP, ObjPtr, xbm_ptr, transformed, rotate, flip) | ^ xbitmap.c:5894:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5894 | void ReadXBmObj(FP, Inbuf, ObjPtr) | ^ xbitmap.c:6405:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6405 | void SetXBmPropMask(ObjPtr, plMask, plSkip, pProp) | ^ xbitmap.c:6420:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6420 | void FreeXBmObj(ObjPtr) | ^ 88 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c xpixmap.c xpixmap.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 IsLinkedJpegObj(obj_ptr) | ^ xpixmap.c:199:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | int IsPpmTrueObj(real_type, ppm_data_compress, ppm_data) | ^ xpixmap.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 ObjHasIndexedTransPixel(obj_ptr, pn_index) | ^ xpixmap.c:230:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | int ObjHasTrueColorTransPixel(obj_ptr, puch_trans_color_r, puch_trans_color_g, | ^ xpixmap.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 ObjHasTransPixel(obj_ptr) | ^ xpixmap.c:268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | int xpmcharhash(chars_per_pixel, color_char) | ^ xpixmap.c:278:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | int BuildXPmBuckets(ncolors, pixels, dump_index_to_color_index, chars_per_pixel, | ^ xpixmap.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 XPmLookUp(pixel, chars_per_pixel, color_char, pn_color_index_return) | ^ xpixmap.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 MakeCachedPixmap(ObjPtr) | ^ xpixmap.c:646:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | int ExtractPixmap(orig_pixmap, orig_image, orig_bitmap, orig_bitmap_image, | ^ xpixmap.c:723:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | struct ObjRec *CutXPixmap(ObjPtrToCut, pAbsX, pAbsY, pAbsW, pAbsH) | ^ xpixmap.c:956:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | void SaveXPmColors(FP, def_color_index, xpm_ptr, ncolors, chars_per_pixel, | ^ xpixmap.c:1028:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | void PrTgifDumpOldXPmObj(FP, ObjPtr, pmtrx) | ^ xpixmap.c:1166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | int MalformedPpmMessage(tmp_fname) | ^ xpixmap.c:1180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | int ReadPpmHeaderStr(ppm_fp, tmp_fname, buf, sz_buf) | ^ xpixmap.c:1217:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | int ReadPpmHeader(ppm_fp, tmp_fname, pn_format, pn_w, pn_h, pn_max_val) | ^ xpixmap.c:1258:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | void DumpPpm6File(FP, image_w, image_h, tmp_fname) | ^ xpixmap.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 ObjHasXpmObj(ObjPtr) | ^ xpixmap.c:1427:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | int PageHasXpmObj(page_ptr) | ^ xpixmap.c:1499:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | void FreeImagePixels(pipi) | ^ xpixmap.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 SetAColorByteInfoByXpmRGB(pcb, xpm_ptr, pixel_index) | ^ xpixmap.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 SetAColorByteByXpmRGB(pcb, xpm_ptr, index, table_size) | ^ xpixmap.c:1577:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | void SetAColorByteByMaxRGB(pcb, xpm_color_index, global_color_index, table_size) | ^ xpixmap.c:1590:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | int ConvertPpmTrueToPpm6(ppm_data, ppm_data_size, ppm_data_compress, | ^ xpixmap.c:1631:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | int GetImagePixels(ObjPtr, xpm_ptr, pipi, pxtii, pcb) | ^ xpixmap.c:1808:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1808 | int PrepareColorsForConvertObjToPpm6(xpm_ptr, pxtii) | ^ xpixmap.c:1879:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1879 | int ConvertObjToPpm6(ObjPtr, xpm_ptr, psz_ppm6_path, ppm6_path_sz, pxtii) | ^ xpixmap.c:1946:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | void DumpXPmObj(FP, ObjPtr) | ^ xpixmap.c:2369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2369 | int NeedsToCacheXPmObj(ObjPtr) | ^ xpixmap.c:2384:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2384 | void DrawHiddenXPm(win, ctm, vs, x, y, w, h, s) | ^ xpixmap.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 RecolorXPmObj(obj_ptr, color_index) | ^ xpixmap.c:2481:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2481 | void DrawXPmObj(win, XOff, YOff, ObjPtr) | ^ xpixmap.c:2603:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2603 | int PrTgifFindColorIndex(ObjPtr, s) | ^ xpixmap.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 QuickFindColorIndex(ObjPtr, s, new_alloc, use_default) | ^ xpixmap.c:2802:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2802 | struct ObjRec *CreateXPmObj(ImageW, ImageH, W, H, pixmap, image, bitmap, | ^ xpixmap.c:2895:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2895 | void CopyXPmProperties(DestXpmObj, SrcXpmObj) | ^ xpixmap.c:2908:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2908 | int FinishBreakUpXPixmap(obj_ptr, cols_and_rows, cols, rows) | ^ xpixmap.c:3021:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3021 | void BreakUpXPixmap(obj_ptr, cols_and_rows, cols, rows) | ^ xpixmap.c:3039:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3039 | void SaveXPmPixels(FP, xpm_ptr, pixmap, image, bitmap, bitmap_image, w, h, | ^ xpixmap.c:3113:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3113 | int WritePpmTrueData(FP, xpm_ptr) | ^ xpixmap.c:3154:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3154 | char *ReadPpmTrueData(fp, ppm_data_size) | ^ xpixmap.c:3226:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3226 | char *ReadPpmTrueMask(fp, ppm_mask_size) | ^ xpixmap.c:3239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3239 | void SaveXPmObj(FP, ObjPtr) | ^ xpixmap.c:3380:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3380 | void FreeAuxData(fp, ncolors, color_char, color_str, | ^ xpixmap.c:3409:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3409 | int MyReadPixmapFile(file_name, image_w_return, image_h_return, w_return, | ^ xpixmap.c:3974:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3974 | void ReadXPmObj(FP, Inbuf, ObjPtr) | ^ xpixmap.c:4443:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4443 | struct ObjRec *MyReadJpegFileSkipData(jpeg_filename, expected_image_w, | ^ xpixmap.c:4491:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4491 | struct ObjRec *MyReadJpegFile(jpeg_filename, expected_image_w, expected_image_h) | ^ xpixmap.c:4576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4576 | void ReadJpegObj(FP, Inbuf, ObjPtr) | ^ xpixmap.c:4735:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4735 | struct ObjRec *MyReadPpmTrueFileSkipData(ppm_fname, expected_image_w, | ^ xpixmap.c:4777:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4777 | struct ObjRec *MyReadPpmFile(ppm_fname, expected_image_w, expected_image_h) | ^ xpixmap.c:4829:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4829 | int SetupTrueColorInfo(ptci) | ^ xpixmap.c:4890:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4890 | struct ObjRec *MyReadPpmTrueFile2(ppm_fname, expected_image_w, expected_image_h) | ^ xpixmap.c:5122:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5122 | struct ObjRec *MyReadPpmTrueFile(ppm_fname, expected_image_w, expected_image_h) | ^ xpixmap.c:5156:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5156 | struct ObjRec *CreatePpmTrueObjFromFile(ppm_fname) | ^ xpixmap.c:5162:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5162 | void ReadPpmTrueObj(FP, Inbuf, ObjPtr) | ^ xpixmap.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 SetXPmPropMask(ObjPtr, plMask, plSkip, pProp) | ^ xpixmap.c:5361:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5361 | void FreeXPmObj(ObjPtr) | ^ 58 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c xprtfltr.c xprtfltr.c:69:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | int GetSharedLibVersion(pszPath) | ^ xprtfltr.c:93:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | long TgEFSendMsg(pTgEFInfo, nUserInfo, nMsg, nArg, pvArg) | ^ xprtfltr.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 SharedLibLoadFailed(pTgEFInfo, pszSharedLibPath, nNeedUnload) | ^ xprtfltr.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 LoadSharedLib(pszSharedLibPath) | ^ xprtfltr.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 GetExportIndex(nWhereToPrint, nMode) | ^ xprtfltr.c:369:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | char *GetExportName(nWhereToPrint, nMode) | ^ xprtfltr.c:401:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | char *GetExportExt(nWhereToPrint) | ^ xprtfltr.c:430:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | int GetExportFilterCapability(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 ExportVectorFile_1(pTgEFInfo, pDumpFile, nPageNumInFileName, | ^ xprtfltr.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 ExportVectorFile(pDumpFile, nPageNumInFileName, nPrintingPageNum, | ^ 10 warnings generated. cc -O2 -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DTGIF_PATH=\"/usr/local/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_IDNLIB -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"/usr/local/lib/X11/app-defaults\" -DTGIF_DISTR_VER=\"4.2.5\" -DQPL_LICENSE -c z_intrf.c z_intrf.c:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | void ByteStuff(buf_in, buf_len, buf_out, pn_buf_out) | ^ z_intrf.c:68:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | int ByteUnStuff(buf_in, buf_len, buf_out, pn_buf_out, pn_has_left_over) | ^ z_intrf.c:134:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | int DeflateFile(fname, deflated_fname) | ^ z_intrf.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 DoDeflate(in_fp, in_buf, bytes_left, out_fp, use_def_compression, use_byte_stuffing, pn_rc) | ^ z_intrf.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 DoInflate(in_buf, bytes_left, out_fp, use_byte_unstuffing, pn_rc) | ^ z_intrf.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 ZlibError(status, deflate) | ^ 6 warnings generated. rm -f tgif cc -o tgif -O2 -L/usr/X11R6/lib -L/usr/local/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 -lXdmcp -lXau -lm -lz -Wl,-rpath,/usr/local/lib ld: warning: attr.c(attr.o:(UpdateAttr)): warning: strcat() is almost always misused, please use strlcat() ld: warning: xprtfltr.c(xprtfltr.o:(InitExportFilters)): warning: sprintf() is often misused, please use snprintf() ld: warning: xpixmap.c(xpixmap.o:(CutXPixmap)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: xbitmap.c(xbitmap.o:(DumpXBitmapFile)): warning: rand() may return deterministic values, is that what you want? rm -f tgif._man if test -z "" ; then cd `dirname tgif` && ln -s `basename tgif.man` `basename tgif._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/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 >>> Running package in graphics/tgif at 1764443594.33 ===> graphics/tgif ===> Faking installation for tgif-4.2.5p0 install -c tgif /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/bin/tgif + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/22x22 + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/22x22/apps + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/32x32 + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/32x32/apps + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/48x48 + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/48x48/apps + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/64x64 + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/64x64/apps + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/128x128 install -c -m 0444 tgif.Xdefaults /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/128x128/apps install -c -m 0444 tgificon.eps /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 tgificon.obj /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 tgificon.xbm /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 tgificon.xpm /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 tgif.gif /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 tangram.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4-2x.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4-2x-jpg.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4-2x-nowin-jpg.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4-ps2epsi.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4-epstool.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4xpm.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4-lyx-ps2epsi.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4xpm-land.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4png.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 eq4jpg.sym /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 keys.obj /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 Copyright /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 LICENSE.QPL /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 icons/22x22/apps/tgificon.png /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/22x22/apps install -c -m 0444 icons/32x32/apps/tgificon.png /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/32x32/apps install -c -m 0444 icons/48x48/apps/tgificon.png /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/48x48/apps install -c -m 0444 icons/64x64/apps/tgificon.png /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/64x64/apps install -c -m 0444 icons/128x128/apps/tgificon.png /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/128x128/apps install in . done install -c -m 0444 tgif._man /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/man/man1/tgif.1 install.man in . done /exopi-obj/pobj/tgif-4.2.5/bin/install -d -m 755 /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/share/doc/tgif /exopi-obj/pobj/tgif-4.2.5/bin/install -c -m 644 /exopi-obj/pobj/tgif-4.2.5/tgif-QPL-4.2.5/*.obj /exopi-obj/pobj/tgif-4.2.5/tgif-QPL-4.2.5/*.tex /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/share/doc/tgif/ /exopi-obj/pobj/tgif-4.2.5/bin/install -c -m 644 /exopi-obj/pobj/tgif-4.2.5/tgif-QPL-4.2.5/License /exopi-obj/pobj/tgif-4.2.5/tgif-QPL-4.2.5/README /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/share/doc/tgif/ ===> Building package for tgif-4.2.5p0 Create /exopi-cvs/ports/packages/amd64/all/tgif-4.2.5p0.tgz Creating package tgif-4.2.5p0 reading plist| checking dependencies| checking dependencies|graphics/netpbm checksumming| checksumming| | 0% checksumming|* | 2% checksumming|** | 3% checksumming|*** | 5% checksumming|**** | 6% checksumming|***** | 8% checksumming|****** | 9% checksumming|****** | 11% checksumming|******* | 12% checksumming|******** | 14% checksumming|********* | 15% checksumming|********** | 17% checksumming|*********** | 18% checksumming|************ | 20% checksumming|************* | 21% checksumming|************** | 23% checksumming|*************** | 24% checksumming|**************** | 26% checksumming|***************** | 27% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 32% checksumming|******************** | 33% checksumming|********************* | 35% checksumming|********************** | 36% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|*************************** | 44% checksumming|**************************** | 45% checksumming|***************************** | 47% checksumming|****************************** | 48% checksumming|******************************* | 50% checksumming|******************************* | 52% checksumming|******************************** | 53% checksumming|********************************* | 55% checksumming|********************************** | 56% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|*************************************** | 64% checksumming|**************************************** | 65% checksumming|***************************************** | 67% checksumming|****************************************** | 68% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 76% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************** | 82% checksumming|*************************************************** | 83% checksumming|**************************************************** | 85% checksumming|***************************************************** | 86% checksumming|****************************************************** | 88% checksumming|******************************************************* | 89% checksumming|******************************************************* | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 94% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|********************************** | 53% archiving|****************************************************** | 84% archiving|****************************************************** | 85% archiving|******************************************************* | 85% archiving|******************************************************* | 86% archiving|******************************************************* | 87% archiving|******************************************************** | 87% archiving|******************************************************** | 88% archiving|********************************************************* | 89% archiving|********************************************************** | 90% archiving|********************************************************** | 91% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/tgif-4.2.5p0.tgz >>> Running clean in graphics/tgif at 1764443601.83 ===> graphics/tgif ===> Cleaning for tgif-4.2.5p0 >>> Ended at 1764443602.30 max_stuck=12.35/waiting-for-lock #21=7.44/depends=1.73/show-prepare-results=1.24/build=88.69/package=7.39/clean=0.64